mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-12 06:15:29 +01:00
Don't use deblob-check
Generally, this is bad, because reduces featureset of kernel. However, we don't use any blobbed features anyway. 1. This allows much lower RAM usage. 2. Speeds up deblobbing from hours -> seconds. This nukes blobbed files instead of replacing blobs.
This commit is contained in:
parent
f12897265c
commit
98ea0a4c2e
4 changed files with 7 additions and 90 deletions
|
|
@ -5,7 +5,7 @@
|
|||
src_unpack() {
|
||||
default || true # Predictable link errors - not a problem
|
||||
|
||||
cp ../src/deblob-4.9 ../src/deblob-check ${pkg}/
|
||||
cp ../src/deblob-4.9 ${pkg}/
|
||||
|
||||
# Clear up storage space
|
||||
rm -rf ../src
|
||||
|
|
@ -32,9 +32,8 @@ src_prepare() {
|
|||
generate_autoconf_h
|
||||
|
||||
# Deblob the kernel
|
||||
chmod +x deblob-4.9 deblob-check
|
||||
# Don't use gawk, use sed
|
||||
AWK=dosentexist ./deblob-4.9
|
||||
chmod +x deblob-4.9
|
||||
./deblob-4.9 --force
|
||||
|
||||
# Remove shipped files
|
||||
find . -name "*_shipped*" -delete
|
||||
|
|
@ -45,6 +44,8 @@ src_compile() {
|
|||
rm include/generated/autoconf.h
|
||||
generate_autoconf_h
|
||||
|
||||
# Allow use of patched initramfs_list.sh (which is required anyway)
|
||||
export PATH=$PWD/usr:$PATH
|
||||
make ARCH=i386 prepare
|
||||
make ARCH=i386
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue