Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
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
commitba40f273f6464a47aeff4f527bd05aa13cec11c2 (patch)
tree590f922a7c312515e0d4b265dc32f3371036d05d /archiso/mkarchiso
parent36459f3acc217ff6a0b4ad1b6049d68a8da413e2 (diff)
[archiso] rename airootfs.fs.sfs to airootfs.sfs
* Make it ISO9660 friendly (extra dot "." is replaced by "_") * Was used when support both .fs.sfs and .sfs
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso12
1 files changed, 6 insertions, 6 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 8325608..b0e451c 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -271,7 +271,7 @@ _mkfs () {
local _src="${1}"
local _fs_src="${work_dir}/${_src}"
- local _fs_img="${work_dir}/${_src}.fs"
+ local _fs_img="${work_dir}/${_src}.img"
if [[ ! -e "${_fs_src}" ]]; then
_msg_error "The path '${_fs_src}' does not exist" 1
@@ -371,7 +371,7 @@ command_iso () {
fi
}
-# create airootfs.fs.sfs filesystem, and push it in "iso" directory.
+# create airootfs.sfs filesystem, and push it in "iso" directory.
command_prepare () {
_show_config prepare
@@ -382,11 +382,11 @@ command_prepare () {
mkdir -p "${_dst}"
- if _is_directory_changed "${_src}" "${_dst}/airootfs.fs.sfs"; then
+ if _is_directory_changed "${_src}" "${_dst}/airootfs.sfs"; then
_mkfs airootfs
- _mksfs airootfs.fs
- mv "${_src}.fs.sfs" "${_dst}"
- rm "${_src}.fs"
+ _mksfs airootfs.img
+ mv "${_src}.sfs" "${_dst}"
+ rm "${_src}.img"
fi
}