mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
initramfs-live-boot: Fix script when multiple mounts are present and the last one isn't the correct one
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -58,6 +58,7 @@ do
|
||||
for i in `ls /media 2>/dev/null`; do
|
||||
if [ -f /media/$i/$ROOT_IMAGE ] ; then
|
||||
found="yes"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ "$found" = "yes" ]; then
|
||||
|
||||
@@ -2,7 +2,7 @@ DESCRIPTON = "A live image init script"
|
||||
|
||||
SRC_URI = "file://init-live.sh"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 ${WORKDIR}/init-live.sh ${D}/init
|
||||
|
||||
Reference in New Issue
Block a user