From e225435983631c53eaa01fca924fb805ffccd9d2 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Wed, 4 Aug 2021 12:46:00 +1000 Subject: [PATCH] Clear up storage space in linux-headers-5.10.41 Special case to free up space in the initramfs (linux tarball + unpacked is MASSIVE) --- sysa/linux-headers-5.10.41/linux-headers-5.10.41.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysa/linux-headers-5.10.41/linux-headers-5.10.41.sh b/sysa/linux-headers-5.10.41/linux-headers-5.10.41.sh index 6f5564e..0e0114a 100755 --- a/sysa/linux-headers-5.10.41/linux-headers-5.10.41.sh +++ b/sysa/linux-headers-5.10.41/linux-headers-5.10.41.sh @@ -60,4 +60,8 @@ src_install() { > ${PREFIX}/include/linux/version.h echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + ((c) > 255 ? 255 : (c)))' \ >> ${PREFIX}/include/linux/version.h + + # Clear up storage space + cd ../.. + rm -rf build src }