summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-04-29 11:33:32 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-04-30 09:48:39 -0700
commitb2fcc3d68146716f4451e45d7dc86418b67781bb (patch)
tree37a6167a0b98beacc6ab8fbee042bdc6f3810d4d /scripts/install
parentd9771072a27f15aff8fba6a709fdc83890b954cc (diff)
downloadvyatta-cfg-system-b2fcc3d68146716f4451e45d7dc86418b67781bb.tar.gz
vyatta-cfg-system-b2fcc3d68146716f4451e45d7dc86418b67781bb.zip
Fix alignment of root partition
Redo Bug 7038 The previous change did nothing; the alignment option only reports alignment, it does not change values. Need to manually reserve space before root partition.
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-get-partition3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/install/install-get-partition b/scripts/install/install-get-partition
index f475b689..e8ccb153 100755
--- a/scripts/install/install-get-partition
+++ b/scripts/install/install-get-partition
@@ -34,6 +34,9 @@ PARTITION=''
# default file system type
ROOT_FSTYPE='ext3'
+# alignment of root partition (skip to 32Kb boundary)
+ROOT_OFFSET="63S"
+
warn_of_dire_consequences () {
# Give the user a requisite warning that we are about to nuke their drive
response=''