index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | David Runge <dvzrv@archlinux.org> | 2020-09-29 13:14:11 +0200 |
---|---|---|
committer | David Runge <dvzrv@archlinux.org> | 2020-09-29 17:29:15 +0200 |
commit | 2e1ddec0a796188097bae05117973c60da81ab51 (patch) | |
tree | 841ba15fee3f020d0e408608eb8527b30828c232 | |
parent | f34c95797d72574f9c284e5ed1e88be1eb7a0c05 (diff) |
-rwxr-xr-x | archiso/mkarchiso | 16 |
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 8adf232..01eb536 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -115,7 +115,7 @@ usage ${app_name} [options] <profile_dir or legacy_command> -o <out_dir> Set the output directory Default: '${out_dir}' -p PACKAGE(S) Package(s) to install, can be used multiple times - -r <run_cmd> Set a command to be run in chroot (only relevant for for command_run) + -r <run_cmd> Set a command to be run in chroot (only relevant for legacy 'run' command) NOTE: Deprecated, will be removed with archiso v49 -s <sfs_mode> Set SquashFS image mode (img or sfs) img: prepare airootfs.sfs for dm-snapshot usage @@ -129,17 +129,17 @@ usage ${app_name} [options] <profile_dir or legacy_command> legacy_command: Legacy build.sh command NOTE: Deprecated, will be removed with archiso v49 - command_init + init initialize a chroot for building - command_install + install install packages to the chroot - command_run + run run a command in the chroot - command_prepare + prepare cleanup and prepare the airootfs - command_pkglist + pkglist create a list of packages installed on the medium - command_iso + iso create the ISO ENDUSAGETEXT printf '%s' "${usagetext}" @@ -151,7 +151,7 @@ ENDUSAGETEXT _show_config() { local _mode="$1" _msg_info "${app_name} configuration settings" - _msg_info " Command: ${command_name}" + [[ ! -d "${command_name}" ]] && _msg_info " Legacy Command: ${command_name}" _msg_info " Architecture: ${arch}" _msg_info " Working directory: ${work_dir}" _msg_info " Installation directory: ${install_dir}" |