PACKAGES := ${PACKAGES} apt busybox-static debian-archive-keyring init systemd
# Partition Table (2M) + Boot Partition (126M)+ Root Partition + Slack Space (1M) = 2048M
-BOOT_MB := 126
-ROOT_MB := 895
+BOOT_MB := 254
+ROOT_MB := 1791
fstype := ext4
_iso_image: _bootloader_iso _isosquash # _efi_umount
else ifdef raspi
- ARCH := armhf
+ ARCH := arm64
VOLUME := ${raspi}
PBOOT := rpi_boot.img
SYSROOT := sys_root_${release}_${ARCH}/
CFGROOT := img_mount/
- KEYRING := keys/raspbian-archive-keyring.gpg
- BOOTSTRAP := http://raspbian.raspberrypi.org/raspbian
-
- define SOURCES :=
- deb http://raspbian.raspberrypi.org/raspbian ${release} main non-free firmware rpi
- deb http://archive.raspberrypi.org/debian ${release} main
+ define SOURCES :=
+ deb http://deb.debian.org/debian ${release} main non-free-firmware
+ deb https://deb.debian.org/debian-security/ ${release}/updates main
endef
- # PACKAGES += firmware-brcm80211 libraspberrypi-bin libraspberrypi0 pi-bluetooth raspberrypi-bootloader raspberrypi-kernel initramfs-tools
- PACKAGES += firmware-brcm80211 pi-bluetooth initramfs-tools e2fsprogs
- PACKAGES += linux-image-rpi-v7 raspberrypi-bootloader-nokernel
+ PACKAGES += firmware-brcm80211 bluez-firmware initramfs-tools e2fsprogs raspi-firmware linux-image-arm64
_target: _umount _config
hdd_mount/:
mkdir -p -m 755 "$@"
-_qemu: ${SYSROOT}/usr/bin/qemu-arm-static
-${SYSROOT}/usr/bin/qemu-arm-static: /usr/bin/qemu-arm-static ${SYSROOT}
+_qemu: ${SYSROOT}/usr/bin/qemu-arm64-static
+${SYSROOT}/usr/bin/qemu-arm64-static: /usr/bin/qemu-arm64-static ${SYSROOT}
mkdir -p -m 755 "$${SYSROOT}"/usr/bin
chmod 755 "$${SYSROOT}"/usr
cp -p "$<" "$@"