mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: fix "create list of installed packages for debug"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user