diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2017-09-25 02:58:07 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2017-11-17 18:16:07 -0500 |
commit | 51e86db625adefad1541438b8226c1c8ab170745 (patch) | |
tree | a6d32bd99139b1f8ba6ea3d028fc37c76c0c7b51 /parabolaiso | |
parent | cfb9207ead40dc9b12e37578fab2641f213b3640 (diff) |
allow in-tree build without parabolaiso package
Diffstat (limited to 'parabolaiso')
-rwxr-xr-x | parabolaiso/mkparabolaiso | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/parabolaiso/mkparabolaiso b/parabolaiso/mkparabolaiso index 93e6995..fd6fae5 100755 --- a/parabolaiso/mkparabolaiso +++ b/parabolaiso/mkparabolaiso @@ -11,7 +11,7 @@ run_cmd="" quiet="y" pacman_conf="/etc/pacman.conf" export iso_label="PARA_$(date +%Y%m)" -iso_publisher="Parabola GNU/Linux-libre <https://parabolagnulinux.org>" +iso_publisher="Parabola GNU/Linux-libre <https://www.parabola.nu>" iso_application="Parabola GNU/Linux-libre Live/Rescue CD" install_dir="parabola" work_dir="work" @@ -328,8 +328,11 @@ _mkfs () { fi fi - _msg_info "Creating ${_fs_type} image of ${_fs_size} MiB..." + # cleanup from previous runs + while mount | grep "${_fs_img}"; do umount "${_fs_img}"; sleep 1; done; rm -f "${_fs_img}" + + _msg_info "Creating ${_fs_type} image of ${_fs_size} MiB..." truncate -s ${_fs_size}M "${_fs_img}" local _qflag="" if [[ ${quiet} == "y" ]]; then |