[SCM] live-boot branch, debian-next, updated. debian/3.0_a25-1-11-g821aa7e
Daniel Baumann
daniel at debian.org
Sun Apr 1 20:00:42 UTC 2012
The following commit has been merged in the debian-next branch:
commit 821aa7e0b3c222912172517ca7f8e179b5ef7a9d
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Apr 1 21:58:21 2012 +0200
Avoid '==' bashism in initial work on a custom mounts system to ensure posix compatiblity.
diff --git a/scripts/live b/scripts/live
index bd4ee2a..821103a 100755
--- a/scripts/live
+++ b/scripts/live
@@ -854,7 +854,7 @@ do_iscsi()
#modprobe ib_iser
modprobe iscsi_tcp
local debugopt=""
- [ "${DEBUG}" == "Yes" ] && debugopt="-d 8"
+ [ "${DEBUG}" = "Yes" ] && debugopt="-d 8"
#FIXME this name is supposed to be unique - some date + ifconfig hash?
ISCSI_INITIATORNAME="iqn.1993-08.org.debian.live:01:$(echo "${HWADDR}" | sed -e s/://g)"
export ISCSI_INITIATORNAME
@@ -1624,7 +1624,7 @@ setup_unionfs ()
fi
# FIXME: debug stuff, remove me?
- [ "${DEBUG}" == "Yes" ] && cat ${include_list} >> ${rootmnt}/${bindings}-origs
+ [ "${DEBUG}" = "Yes" ] && cat ${include_list} >> ${rootmnt}/${bindings}-origs
while read source dest
do
if echo ${source} | grep -qe "^[[:space:]]*#"
@@ -1664,7 +1664,7 @@ setup_unionfs ()
sort -k2 -sbu ${bindings} -o ${bindings}
# FIXME: debug stuff, remove me?
- [ "${DEBUG}" == "Yes" ] && cp ${bindings} ${rootmnt}/${bindings}-results
+ [ "${DEBUG}" = "Yes" ] && cp ${bindings} ${rootmnt}/${bindings}-results
while read source dest
do
--
live-boot
More information about the debian-live-changes
mailing list