armbian_build/lib/functions/rootfs
Ricardo Pardini c692676da7 kernel-debs: postinst/etc: fix: unify is_boot_dev_vfat() function; make work during image build too via env var
- determinining if `/boot` is vfat is more complex than it looks;
  - use a common function to unify across all scripts
- during image build, the kernel install is always done with a non-fat, non-mounted /boot
  - use a special variable passed through the env so unified function can know ahead of time
  - introduce `extra_apt_envs` param to `chroot_sdcard_apt_get()`; array with extra environment vars
- if vfat /boot:
  - `linux-update-symlinks` is not called (Debian would just choke on this)
  - don't even try to symlink Armbian stuff, move instead
- more/better logging board-side (unfortunately mixed in all the set -x debugs)
2023-05-01 22:46:43 +02:00
..
apt-install.sh kernel-debs: postinst/etc: fix: unify is_boot_dev_vfat() function; make work during image build too via env var 2023-05-01 22:46:43 +02:00
apt-sources.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
boot_logo.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
create-cache.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
customize.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
distro-agnostic.sh config: refactor calculate_image_version() out of create_image_from_sdcard_rootfs(), make more flexible, predict IMAGE_FILE_ID during config 2023-04-15 22:43:06 +02:00
distro-specific.sh Enable non-free-firmware repository for Debian Sid 2023-03-31 13:21:35 +02:00
post-tweaks.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
qemu-static.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
rootfs-create.sh rootfs/image: avoid apt junk leftover by debootstrap; add warnings and debugs over target cache and general rootfs sizes 2023-04-18 16:27:06 +02:00
rootfs-desktop.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
systemd-utils.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
trap-rootfs.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00