Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2018-07-06 10:15:36 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2018-07-26 17:15:29 -0300
commit3a95b7cafbffca260e6ff97728b6384639dd1ae9 (patch)
tree3511f56404398b93b5ce8f0ea487198135c75fd2 /archiso
parent4f1b1330959effa5ecf16e7b65ee228f1a53b90e (diff)
generate pkglist with query (not sync) operation
Using the sync operation with list option fails with --sysroot when signed database files are around. Instead use the query operation, which uses the local databases of installed pakages only. The only downside is that we do no longer record the originating repository. Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso3
1 files changed, 1 insertions, 2 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index cc66df4..4d4db50 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -266,8 +266,7 @@ command_pkglist () {
_show_config pkglist
_msg_info "Creating a list of installed packages on live-enviroment..."
- pacman -Sl --sysroot "${work_dir}/airootfs" | \
- awk '/\[installed\]$/ {print $1 "/" $2 "-" $3}' > \
+ pacman -Q --sysroot "${work_dir}/airootfs" > \
"${work_dir}/iso/${install_dir}/pkglist.${arch}.txt"
_msg_info "Done!"