logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: e225435983631c53eaa01fca924fb805ffccd9d2
parent 1e19193408b810945dfceee25a71743354545205
Author: fosslinux <fosslinux@aussies.space>
Date:   Wed,  4 Aug 2021 12:46:00 +1000

Clear up storage space in linux-headers-5.10.41

Special case to free up space in the initramfs (linux tarball +
unpacked is MASSIVE)

Diffstat:

Msysa/linux-headers-5.10.41/linux-headers-5.10.41.sh4++++
1 file changed, 4 insertions(+), 0 deletions(-)

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 @@ -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 }