Skip to content
Snippets Groups Projects
Commit 3a95b7ca authored by Christian Hesse's avatar Christian Hesse :stuck_out_tongue_winking_eye: Committed by Gerardo Pozzi
Browse files

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: default avatarChristian Hesse <mail@eworm.de>
parent 4f1b1330
No related branches found
No related tags found
No related merge requests found
......@@ -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!"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment