Bug#728250: live-boot: bug in 9990-overlay.sh breaks plain dir boot
Source: live-boot
Severity: important
Tags: patch
Dear Maintainer,
A bug in the 990-overlay.sh component causes an error when booting
from a plain directory.
I discovered this in the 3.0.1-1 (wheezy), but it is present in
4.0~alpha16-1. The supplied patch is against the latter.
-- System Information:
Debian Release: 7.2
APT prefers stable
APT policy: (750, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh
index 6b62093..4ae5c07 100755
--- a/components/9990-overlay.sh
+++ b/components/9990-overlay.sh
@@ -353,7 +353,7 @@ setup_unionfs ()
live_rootfs="/live/rootfs/${d##*/}"
live_rootfs_list="${live_rootfs_list} ${live_rootfs}"
mkdir -p "${live_rootfs}"
- case d in
+ case "${d}" in
*.dir)
# do nothing # mount -o bind "${d}" "${live_rootfs}"
;;
Reply to: