[ general ] Create list of installed packages per release for debug purposes

This commit is contained in:
Igor Pecovnik 2019-04-19 23:25:55 +02:00
parent 21478fed59
commit 06064cf078

View File

@ -65,6 +65,9 @@ debootstrap_ng()
# NOTE: installing too many packages may fill tmpfs mount
customize_image
# create list of installed packages for debug purposes
chroot $SDCARD /bin/bash -c "dpkg --get-selections" | grep -v deinstall | awk '{print $1}' | cut -f1 -d':' >> $DEST/debug/installed-packages-${RELEASE}.list 2>&1
# clean up / prepare for making the image
umount_chroot "$SDCARD"
post_debootstrap_tweaks