|
| 1 | +LB_IMAGE_NAME="debian-trixie-live" lb config \ |
| 2 | + --architecture arm64 \ |
| 3 | + --archive-areas 'contrib main non-free non-free-firmware' \ |
| 4 | + --parent-archive-areas 'contrib main non-free non-free-firmware' \ |
| 5 | + --debian-installer-distribution trixie \ |
| 6 | + --distribution trixie \ |
| 7 | + --distribution-chroot trixie \ |
| 8 | + --distribution-binary trixie \ |
| 9 | + --bootloaders grub-efi \ |
| 10 | + --keyring-packages "debian-archive-keyring ca-certificates fontconfig-config initramfs-tools" \ |
| 11 | + --linux-packages "linux-image linux-headers" \ |
| 12 | + --linux-flavours "vendor-rk35xx" \ |
| 13 | + --parent-mirror-bootstrap "http://ftp.debian.org/debian/" \ |
| 14 | + --parent-mirror-chroot "http://ftp.debian.org/debian/" \ |
| 15 | + --parent-mirror-chroot-security "http://security.debian.org/debian-security/" \ |
| 16 | + --parent-mirror-binary "http://ftp.debian.org/debian/" \ |
| 17 | + --parent-mirror-binary-security "http://security.debian.org/debian-security/" \ |
| 18 | + --parent-mirror-debian-installer "http://ftp.debian.org/debian/" \ |
| 19 | + --mirror-bootstrap "http://ftp.debian.org/debian/" \ |
| 20 | + --mirror-chroot "http://ftp.debian.org/debian/" \ |
| 21 | + --mirror-chroot-security "http://security.debian.org/debian-security/" \ |
| 22 | + --mirror-binary "http://ftp.debian.org/debian/" \ |
| 23 | + --mirror-binary-security "http://security.debian.org/debian-security/" \ |
| 24 | + --mirror-debian-installer "http://ftp.debian.org/debian/" |
| 25 | + |
| 26 | +echo "deb https://apt.armbian.com trixie main trixie-utils trixie-desktop" > config/archives/live.list.chroot |
| 27 | +echo "deb https://apt.armbian.com bookworm main trixie-utils trixie-desktop" > config/archives/live.list.binary |
| 28 | +echo "deb http://download.opensuse.org/repositories/home:/amazingfate:/grub-dtbo/Debian_Testing/ /" >> config/archives/live.list.chroot |
| 29 | +echo "deb http://download.opensuse.org/repositories/home:/amazingfate:/grub-dtbo/Debian_Testing/ /" >> config/archives/live.list.binary |
| 30 | +echo "deb http://download.opensuse.org/repositories/home:/amazingfate:/libmali-rockchip/Debian_Testing/ /" >> config/archives/live.list.chroot |
| 31 | +echo "deb http://download.opensuse.org/repositories/home:/amazingfate:/libmali-rockchip/Debian_Testing/ /" >> config/archives/live.list.binary |
| 32 | + |
| 33 | +wget https://raw.githubusercontent.com/armbian/build/main/config/armbian.key |
| 34 | +gpg --dearmor < armbian.key > armbian.gpg |
| 35 | +cp armbian.gpg config/archives/armbian.key.binary |
| 36 | +cp armbian.gpg config/archives/armbian.key.chroot |
| 37 | +wget https://download.opensuse.org/repositories/home:amazingfate:grub-dtbo/Debian_Testing/Release.key |
| 38 | +gpg --dearmor < Release.key > obs-amazingfate.gpg |
| 39 | +cp obs-amazingfate.gpg config/archives/obs-amazingfate.key.binary |
| 40 | +cp obs-amazingfate.gpg config/archives/obs-amazingfate.key.chroot |
| 41 | + |
| 42 | +wget https://raw.githubusercontent.com/armbian/build/main/config/cli/common/main/packages -O config/package-lists/armbian-cli.list.chroot |
| 43 | +wget https://raw.githubusercontent.com/armbian/build/main/config/cli/common/main/packages.additional -O config/package-lists/armbian-cli-addtional.list.chroot |
| 44 | +wget https://raw.githubusercontent.com/armbian/build/main/config/desktop/bookworm/environments/gnome/config_base/packages -O config/package-lists/armbian-gnome.list.chroot |
| 45 | +sed -i "/wireguard-tools/d" config/package-lists/armbian-cli.list.chroot |
| 46 | +cp additional-packages config/package-lists/additional-packages.list.chroot |
| 47 | + |
| 48 | +mkdir -p config/includes.chroot_after_packages/etc/netplan |
| 49 | +cp networkmanager.yaml config/includes.chroot_after_packages/etc/netplan |
| 50 | + |
| 51 | +cp customize-chroot.hook.chroot config/hooks/live |
| 52 | +mkdir -p config/includes.chroot_after_packages/etc/grub.d/ |
| 53 | +cp 10_linux config/includes.chroot_after_packages/etc/grub.d/ |
0 commit comments