]> git.plutz.net Git - blast/commitdiff
switch to plain debian arm64 for raspberry pi
authorPaul Hänsch <paul@plutz.net>
Mon, 19 Jan 2026 04:50:20 +0000 (05:50 +0100)
committerPaul Hänsch <paul@plutz.net>
Mon, 19 Jan 2026 04:50:20 +0000 (05:50 +0100)
Makefile

index d79bf0bc80dadd44a80de4bd071d54bc600c9131..a2c940553aed60e5584aaf8bb3735a777b4721af 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,8 +18,8 @@ BOOTSTRAP := http://deb.debian.org/debian
 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
 
@@ -138,7 +138,7 @@ else ifdef iso
   _iso_image: _bootloader_iso _isosquash # _efi_umount
 
 else ifdef raspi
-  ARCH := armhf
+  ARCH := arm64
 
   VOLUME := ${raspi}
   PBOOT := rpi_boot.img
@@ -146,17 +146,12 @@ else ifdef raspi
   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
   
@@ -215,8 +210,8 @@ img_mount/:
 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 "$<" "$@"