From 7331f854ed32d4b079314c9b5418a79ae793b3e7 Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Mon, 27 Feb 2012 01:19:41 +0100
Subject: live-boot: patch to change rootdevice-search-order (subdevices first)

---
 config/chroot_local-patches/live-boot_subdevices-order.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 config/chroot_local-patches/live-boot_subdevices-order.patch

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
-- 
cgit v1.0