summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2014-06-28 00:35:50 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2014-06-28 00:35:50 -0300
commit9532a8c3a9901674daa03789839db5af857f560b (patch)
treefa6ecc5d77f13685f8d1ff4f93daed748feaa8b6 /archiso/mkarchiso
parentbdc79f2d2649eca8267e9ab7a7b245cfd596f36b (diff)
downloadarchiso32-9532a8c3a9901674daa03789839db5af857f560b.tar.xz
[archiso] Minor change
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso4
1 files changed, 1 insertions, 3 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 7a3e465..3f511e9 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -222,6 +222,7 @@ _mkairootfs () {
cp -aT "${work_dir}/airootfs/" "${work_dir}/mnt/airootfs/"
_msg_info "Done!"
_umount_airootfs
+ mkdir -p "${work_dir}/iso/${install_dir}/${arch}"
_msg_info "Creating SquashFS image, this may take some time..."
if [[ "${quiet}" = "y" ]]; then
mksquashfs "${work_dir}/airootfs.img" "${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs" -noappend -comp "${sfs_comp}" -no-progress &> /dev/null
@@ -308,9 +309,6 @@ command_prepare () {
_show_config prepare
_cleanup
-
- mkdir -p "${work_dir}/iso/${install_dir}/${arch}"
-
_mkairootfs
}