Permalink
Browse files

bootscripts: make sure the links are set

* this avoids that the links to bootr aren't set if there is a kernel panic
  e.g. if root= argument isn't set correctly

Signed-off-by: Lukas Märdian <lukasmaerdian@gmail.com>
  • Loading branch information...
1 parent 238f574 commit 60e97acda786cf3467d7dd34a360a9099a615042 @slyon committed Apr 7, 2011
View
1 pre/bootscripts/init.fso.bootr
@@ -46,6 +46,7 @@ mknod /dev/mmcblk0p2 b 179 2
mknod /dev/mmcblk0p3 b 179 3
sh /bootr/bin/set-bootr.sh
+sync
lvm.static vgscan --ignorelockingfailure
lvm.static lvchange -ay --ignorelockingfailure /dev/mapper/store-fso
View
1 pre/bootscripts/init.webos.bootr
@@ -46,6 +46,7 @@ mknod /dev/mmcblk0p2 b 179 2
mknod /dev/mmcblk0p3 b 179 3
sh /bootr/bin/set-bootr.sh
+sync
lvm.static vgscan --ignorelockingfailure
lvm.static lvchange -ay --ignorelockingfailure /dev/mapper/store-root
View
1 pre2/bootscripts/init.fso.bootr
@@ -58,6 +58,7 @@ mknod /dev/mmcblk0p14 b 179 14
mknod /dev/mmcblk0p15 b 179 15
sh /bootr/bin/set-bootr.sh
+sync
lvm.static vgscan --ignorelockingfailure
lvm.static lvchange -ay --ignorelockingfailure /dev/mapper/store-fso
View
1 pre2/bootscripts/init.webos.bootr
@@ -58,6 +58,7 @@ mknod /dev/mmcblk0p14 b 179 14
mknod /dev/mmcblk0p15 b 179 15
sh /bootr/bin/set-bootr.sh
+sync
lvm.static vgscan --ignorelockingfailure
lvm.static lvchange -ay --ignorelockingfailure /dev/mapper/store-root

0 comments on commit 60e97ac

Please sign in to comment.