]> cvs.zerfleddert.de Git - m1-debian/blobdiff - bootstrap.sh
Note that U-Boot is compressed before appending. Uncompressed kernels may cause issue...
[m1-debian] / bootstrap.sh
index 97a39ff365aedfce7c0b387524b93053db95c9e7..4a8ef8044deac7ad1b09b6565382e17db50673f1 100644 (file)
@@ -59,8 +59,8 @@ build_uboot()
         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()
Impressum, Datenschutz