diff options
author | Erich Eckner <git@eckner.net> | 2018-06-25 08:59:18 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-25 08:59:18 +0200 |
commit | 1beff0860b766219973d64d72f5f35cc95042820 (patch) | |
tree | 1c99872c74dd66344a1b2bedbc530f7566017a30 /archiso/mkarchiso | |
parent | 51532d91c7e610b373afc34d43ceb5c5e3fcdd8c (diff) | |
parent | b200ce82f7bf491611731b3b5fc1768613fe37e7 (diff) | |
download | archiso32-1beff0860b766219973d64d72f5f35cc95042820.tar.xz |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-x | archiso/mkarchiso | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 9c3a835..5f9e887 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -154,9 +154,9 @@ _pacman () _msg_info "Installing packages to '${work_dir}/airootfs/'..." if [[ "${quiet}" = "y" ]]; then - pacstrap -C "${pacman_conf}" -c -d -G -M "${work_dir}/airootfs" $* &> /dev/null + pacstrap -C "${pacman_conf}" -c -G -M "${work_dir}/airootfs" $* &> /dev/null else - pacstrap -C "${pacman_conf}" -c -d -G -M "${work_dir}/airootfs" $* + pacstrap -C "${pacman_conf}" -c -G -M "${work_dir}/airootfs" $* fi _msg_info "Packages installed successfully!" @@ -367,6 +367,8 @@ if [[ ${EUID} -ne 0 ]]; then _msg_error "This script must be run as root." 1 fi +umask 0022 + while getopts 'p:r:C:L:P:A:D:w:o:s:c:g:vh' arg; do case "${arg}" in p) pkg_list="${pkg_list} ${OPTARG}" ;; |