summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2008-04-02 02:25:34 -0500
committerSimo Leone <simo@archlinux.org>2008-04-02 02:25:34 -0500
commit6f4eca9a8cfc7ae7dca76a896ef101dd201bfe0d (patch)
treee472f2116a5cae21222c32659c24307a29434b53
parenta24b40c5d22020fcab3d0035bc07f21ff20dcbc3 (diff)
downloadarchiso32-6f4eca9a8cfc7ae7dca76a896ef101dd201bfe0d.tar.xz
Use -noappend on all mksquashfs calls
Otherwise unexpected things can happen. Signed-off-by: Simo Leone <simo@archlinux.org>
-rwxr-xr-xmkarchiso8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkarchiso b/mkarchiso
index db8bb1d..52087fa 100755
--- a/mkarchiso
+++ b/mkarchiso
@@ -173,9 +173,9 @@ if [ "${command_name}" = "install" -o "${command_name}" = "all" ]; then
# always make an addon out of DEF_CONFIG_DIR
echo "Creating default-config addon..."
if [ "${QUIET}" = "y" ]; then
- mksquashfs "${DEF_CONFIG_DIR}" "${imgroot}/addons/default-config.sqfs" >/dev/null
+ mksquashfs "${DEF_CONFIG_DIR}" "${imgroot}/addons/default-config.sqfs" -noappend >/dev/null
else
- mksquashfs "${DEF_CONFIG_DIR}" "${imgroot}/addons/default-config.sqfs"
+ mksquashfs "${DEF_CONFIG_DIR}" "${imgroot}/addons/default-config.sqfs" -noappend
fi
fi
@@ -197,9 +197,9 @@ if [ "${command_name}" = "squash" -o "${command_name}" = "all" ]; then
echo "Creating squashfs image. This may take some time..."
start=$(date +%s)
if [ "${QUIET}" = "y" ]; then
- mksquashfs "${instroot}" "${imagename}" >/dev/null
+ mksquashfs "${instroot}" "${imagename}" -noappend >/dev/null
else
- mksquashfs "${instroot}" "${imagename}"
+ mksquashfs "${instroot}" "${imagename}" -noappend
fi
minutes=$(echo $start $(date +%s) | awk '{ printf "%0.2f",($2-$1)/60 }')
echo "Image creation done in $minutes minutes."