[archiso] Drop --config when using --sysroot

https://lists.archlinux.org/pipermail/arch-releng/2018-June/003834.html

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
This commit is contained in:
Gerardo Exequiel Pozzi 2018-06-25 13:28:51 -03:00
parent 5a57d83964
commit 4b7c87fe76

View File

@ -266,7 +266,7 @@ command_pkglist () {
_show_config pkglist
_msg_info "Creating a list of installed packages on live-enviroment..."
pacman -Sl --sysroot "${work_dir}/airootfs" --config "${pacman_conf}" | \
pacman -Sl --sysroot "${work_dir}/airootfs" | \
awk '/\[installed\]$/ {print $1 "/" $2 "-" $3}' > \
"${work_dir}/iso/${install_dir}/pkglist.${arch}.txt"
_msg_info "Done!"