summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-02-27 01:19:41 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-02-27 01:19:41 +0100
commit7331f854ed32d4b079314c9b5418a79ae793b3e7 (patch)
tree9ce3d69002a50134851ea431466a0140164db305
parent939eb5986f97e2c9d5a8b69e957fd2170aa80f1e (diff)
downloadkanotix-7331f854ed32d4b079314c9b5418a79ae793b3e7.zip
kanotix-7331f854ed32d4b079314c9b5418a79ae793b3e7.tar.gz
live-boot: patch to change rootdevice-search-order (subdevices first)
-rw-r--r--config/chroot_local-patches/live-boot_subdevices-order.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/config/chroot_local-patches/live-boot_subdevices-order.patch b/config/chroot_local-patches/live-boot_subdevices-order.patch
new file mode 100644
index 0000000..2c0e03c
--- /dev/null
+++ b/config/chroot_local-patches/live-boot_subdevices-order.patch
@@ -0,0 +1,11 @@
+--- live-boot-2.0.15.orig/scripts/live-helpers
++++ /usr/share/initramfs-tools/scripts/live-helpers
+@@ -26,7 +26,7 @@
+ sysblock=${1}
+ r=""
+
+- for dev in "${sysblock}" "${sysblock}"/*
++ for dev in "${sysblock}"/* "${sysblock}"
+ do
+ if [ -e "${dev}/dev" ]
+ then