summaryrefslogtreecommitdiff
path: root/scripts/install-system
diff options
context:
space:
mode:
authorrbalocca <rbalocca@vyatta.com>2008-04-24 15:27:29 -0700
committerrbalocca <rbalocca@vyatta.com>2008-04-24 15:27:29 -0700
commitb312b6082905800a9d5f5aaeb73af508ba710efe (patch)
tree0b54a1654d776fa29ca2028024d4819a5c034866 /scripts/install-system
parent20b21e529054a790e55bb6eb169db5548720ec77 (diff)
downloadvyatta-cfg-system-b312b6082905800a9d5f5aaeb73af508ba710efe.tar.gz
vyatta-cfg-system-b312b6082905800a9d5f5aaeb73af508ba710efe.zip
Partitions in grub-pc now start at 1 (instead of 0)
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-xscripts/install-system1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index 61265e54..3b00ecbf 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -557,7 +557,6 @@ install_grub () {
# TODO: This needs to be changed to map to the correct drive
part=$(echo $ROOT_PARTITION | sed 's/[^0-9]//g')
- part=$(($part - 1))
if [ "$(cat /sys/block/$orig_install_drive/removable)" == 0 ]; then
root=$(grep $orig_install_drive $rootfsdir/boot/grub/device.map | /usr/bin/awk -F')' '{ print $1 }')
root="$root,$part)"