Clear up storage space in linux-headers-5.10.41

Special case to free up space in the initramfs (linux tarball +
unpacked is MASSIVE)
This commit is contained in:
fosslinux 2021-08-04 12:46:00 +10:00
parent 1e19193408
commit e225435983
1 changed files with 4 additions and 0 deletions

View File

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