mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: many fixes after v29 rebase; mostly involving umount
- remove grub's --verbose, it's really too verbose - trust in TMPDIR, do not use trap at all in compile_plymouth-theme-armbian - settings traps adhoc is forbidden in armbian-next as well - be more verbose in umount_chroot(), do not try to unmount tmpfs-mounted dir itself, only xx/tmp - try to be smarter about /tmp being mounted in rootfs-to-image -- in the end the recursive saves us - run post_debootstrap_tweaks when the SDCARD is still mounted, not after - don't try to download anything from any mirrors if SKIP_ARMBIAN_REPO==yes
This commit is contained in:
@@ -69,11 +69,11 @@ function build_rootfs_and_image() {
|
||||
# for reference, debugging / sanity checking
|
||||
LOG_SECTION="list_installed_packages" do_with_logging list_installed_packages
|
||||
|
||||
LOG_SECTION="post_debootstrap_tweaks" do_with_logging post_debootstrap_tweaks
|
||||
|
||||
# clean up / prepare for making the image
|
||||
umount_chroot "$SDCARD"
|
||||
|
||||
LOG_SECTION="post_debootstrap_tweaks" do_with_logging post_debootstrap_tweaks
|
||||
|
||||
# ------------------------------------ UP HERE IT's 'rootfs' stuff -------------------------------
|
||||
|
||||
#------------------------------------ DOWN HERE IT's 'image' stuff -------------------------------
|
||||
|
||||
Reference in New Issue
Block a user