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

@@ -75,7 +75,7 @@ create_image_from_sdcard_rootfs() {
PRE_UMOUNT_FINAL_IMAGE
# Check the partition table after the uboot code has been written
display_alert "nPartition table after write_uboot" "$LOOP" "debug"
display_alert "Partition table after write_uboot" "$LOOP" "debug"
run_host_command_logged sfdisk -l "${LOOP}" # @TODO: use asset..
# unmount /boot/efi first, then /boot, rootfs third, image file last

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