From: Thomas Glanzmann Date: Wed, 7 Dec 2022 21:01:51 +0000 (+0100) Subject: only build gpu u-boot, do _not_ install it. X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff_plain/b91ac25ec05be4fe3548ac22ea409cb9ff5a30ec only build gpu u-boot, do _not_ install it. --- diff --git a/gpu.sh b/gpu.sh index eaef74c..960ccbe 100644 --- a/gpu.sh +++ b/gpu.sh @@ -49,8 +49,6 @@ build_uboot() make -j `nproc` ) 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 - sudo cp /boot/efi/m1n1/boot.bin /boot/efi/m1n1/`date +%Y%m%d%H%M`.bin - sudo cp u-boot.bin /boot/efi/m1n1/boot.bin } mkdir -p build diff --git a/patch_kernel_config.pl b/patch_kernel_config.pl index 70f32cd..617cfc3 100644 --- a/patch_kernel_config.pl +++ b/patch_kernel_config.pl @@ -6,7 +6,7 @@ use warnings FATAL => 'all'; # This was taken from the linux-image-5.16.0-3-arm64-unsigned # Than it was copied as .config in the asahi tree # Than make olddefconfig was executed twice -my @lines = `cat config`; +my @lines = `cat .config`; chomp @lines; my %asahi_options = ( @@ -98,7 +98,7 @@ for my $o (keys %asahi_options) { } } -open(CONFIG, '>', 'config.new') || die; +open(CONFIG, '>', '.config') || die; for (keys %debian_options) { print CONFIG $_ . '=' . $debian_options{$_} . "\n"; }