diff options
-rw-r--r-- | meta/packages/initrdscripts/files/init-live.sh | 1 | ||||
-rw-r--r-- | meta/packages/initrdscripts/initramfs-live-boot_1.0.bb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/packages/initrdscripts/files/init-live.sh b/meta/packages/initrdscripts/files/init-live.sh index d4e53713ef..c96b1f47c3 100644 --- a/meta/packages/initrdscripts/files/init-live.sh +++ b/meta/packages/initrdscripts/files/init-live.sh | |||
@@ -58,6 +58,7 @@ do | |||
58 | for i in `ls /media 2>/dev/null`; do | 58 | for i in `ls /media 2>/dev/null`; do |
59 | if [ -f /media/$i/$ROOT_IMAGE ] ; then | 59 | if [ -f /media/$i/$ROOT_IMAGE ] ; then |
60 | found="yes" | 60 | found="yes" |
61 | break | ||
61 | fi | 62 | fi |
62 | done | 63 | done |
63 | if [ "$found" = "yes" ]; then | 64 | if [ "$found" = "yes" ]; then |
diff --git a/meta/packages/initrdscripts/initramfs-live-boot_1.0.bb b/meta/packages/initrdscripts/initramfs-live-boot_1.0.bb index 2c92f73773..07d349c8f5 100644 --- a/meta/packages/initrdscripts/initramfs-live-boot_1.0.bb +++ b/meta/packages/initrdscripts/initramfs-live-boot_1.0.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTON = "A live image init script" | |||
2 | 2 | ||
3 | SRC_URI = "file://init-live.sh" | 3 | SRC_URI = "file://init-live.sh" |
4 | 4 | ||
5 | PR = "r1" | 5 | PR = "r2" |
6 | 6 | ||
7 | do_install() { | 7 | do_install() { |
8 | install -m 0755 ${WORKDIR}/init-live.sh ${D}/init | 8 | install -m 0755 ${WORKDIR}/init-live.sh ${D}/init |