armbian-next: fix "create list of installed packages for debug"

This commit is contained in:
Ricardo Pardini
2022-09-25 02:29:40 +02:00
parent b73e72721a
commit 833a7d9ab6
2 changed files with 2 additions and 2 deletions

View File

@@ -237,7 +237,7 @@ function create_new_rootfs_cache() {
display_alert "Mount point" "$(echo -e "$freespace" | awk -v mp="${MOUNT}" '$6==mp {print $5}')" "info"
# create list of installed packages for debug purposes - this captures it's own stdout.
chroot "${SDCARD}" /bin/bash -c "dpkg -l | grep ^ii | awk '{ print \$2\",\"\$3 }' > '${cache_fname}.list'"
chroot_sdcard "dpkg -l | grep ^ii | awk '{ print \$2\",\"\$3 }'" > "${cache_fname}.list"
# creating xapian index that synaptic runs faster
if [[ $BUILD_DESKTOP == yes ]]; then