diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2009-06-17 15:15:46 -0700 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2009-06-17 15:15:46 -0700 |
commit | 3fec50d5eb89954826be8b1428d606e6da6b3825 (patch) | |
tree | 063e87cecc6a72b715e2f49b781f494ef0b770b4 /scripts/install-system | |
parent | 2ff97fecd90a856da4e2060e35aec6920e7f46c1 (diff) | |
download | vyatta-cfg-system-3fec50d5eb89954826be8b1428d606e6da6b3825.tar.gz vyatta-cfg-system-3fec50d5eb89954826be8b1428d606e6da6b3825.zip |
Bugfix 4490: Wait for stability after marking partition bootable.
Diffstat (limited to 'scripts/install-system')
-rwxr-xr-x | scripts/install-system | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system index a3e27075..4fa48054 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -1111,6 +1111,8 @@ setup_method_auto() { # mark data partition as bootable echo "Marking /dev/$INSTALL_DRIVE partition 1 as bootable" >> $INSTALL_LOG parted /dev/$INSTALL_DRIVE set 1 boot on >> $INSTALL_LOG 2>&1 + # Must give partition device time to settle + sleep 5 } # walk the user through a union setup @@ -1327,6 +1329,8 @@ elif [ "$INSTALL_METHOD" == "vyatta" ]; then # mark data partition as bootable echo "Marking /dev/$INSTALL_DRIVE partition 1 as bootable" >> $INSTALL_LOG parted /dev/$INSTALL_DRIVE set 1 boot on >> $INSTALL_LOG 2>&1 + # Must give partition device time to settle + sleep 5 fi if [ ! -d /live/image -o -w /live/image ]; then |