diff options
author | Simo Leone <simo@archlinux.org> | 2008-04-02 02:25:34 -0500 |
---|---|---|
committer | Simo Leone <simo@archlinux.org> | 2008-04-02 02:25:34 -0500 |
commit | 6f4eca9a8cfc7ae7dca76a896ef101dd201bfe0d (patch) | |
tree | e472f2116a5cae21222c32659c24307a29434b53 | |
parent | a24b40c5d22020fcab3d0035bc07f21ff20dcbc3 (diff) | |
download | archiso32-6f4eca9a8cfc7ae7dca76a896ef101dd201bfe0d.tar.xz |
Use -noappend on all mksquashfs calls
Otherwise unexpected things can happen.
Signed-off-by: Simo Leone <simo@archlinux.org>
-rwxr-xr-x | mkarchiso | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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." |