Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2018-06-24 12:48:52 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2018-06-24 12:49:40 -0300
commit5a57d8396457aa7360529948a4f2a43fe9f400fd (patch)
tree6072a6071c593534d7956d206443c56ea736127c /archiso
parent02164ac244edd5e73039a8b1700ad4339a0dd405 (diff)
[archiso] Use --sysroot when list installed packages.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 5f9e887..c8bec0a 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -266,7 +266,7 @@ command_pkglist () {
_show_config pkglist
_msg_info "Creating a list of installed packages on live-enviroment..."
- pacman -Sl -r "${work_dir}/airootfs" --config "${pacman_conf}" | \
+ pacman -Sl --sysroot "${work_dir}/airootfs" --config "${pacman_conf}" | \
awk '/\[installed\]$/ {print $1 "/" $2 "-" $3}' > \
"${work_dir}/iso/${install_dir}/pkglist.${arch}.txt"
_msg_info "Done!"