]> git.zerfleddert.de Git - m1-debian/commitdiff
Note that U-Boot is compressed before appending. Uncompressed kernels may cause issue...
authorThomas Glanzmann <thomas@glanzmann.de>
Wed, 16 Mar 2022 19:43:25 +0000 (20:43 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Wed, 16 Mar 2022 19:43:25 +0000 (20:43 +0100)
bootstrap.sh

index 97a39ff365aedfce7c0b387524b93053db95c9e7..4a8ef8044deac7ad1b09b6565382e17db50673f1 100644 (file)
@@ -59,8 +59,8 @@ build_uboot()
         make -j `nproc`
 )
 
         make -j `nproc`
 )
 
-        cat m1n1/build/m1n1.bin   `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` u-boot/u-boot-nodtb.bin > u-boot.bin
-        cat m1n1/build/m1n1.macho `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` u-boot/u-boot-nodtb.bin > u-boot.macho
+        cat m1n1/build/m1n1.bin   `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` <(gzip -c u-boot/u-boot-nodtb.bin) > u-boot.bin
+        cat m1n1/build/m1n1.macho `find linux/arch/arm64/boot/dts/apple/ -name \*.dtb` <(gzip -c u-boot/u-boot-nodtb.bin) > u-boot.macho
 }
 
 build_rootfs()
 }
 
 build_rootfs()
Impressum, Datenschutz