Compare commits

...

2 Commits

Author SHA1 Message Date
Nathan Dwarshuis 1924c9c64e ENH update config 2023-09-12 10:23:50 -04:00
Nathan Dwarshuis 1d0ddcdbf8 ENH stop installing doc depends 2023-09-12 10:23:43 -04:00
3 changed files with 9821 additions and 4 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -73,7 +73,7 @@ update_build() {
## update linux-lts repo
echo Updating linux-lts source
cd src || exit
git pull
git pull
cd ..
rm -rf $build_dir
@ -99,6 +99,7 @@ update_build() {
fi
## modify the PKGBUILD
## - remove unnecessary makedeps
## - change package name
## - change kernelname
## - unindent custom name
@ -109,6 +110,8 @@ update_build() {
## - delete docs build command
## - delete package-docs
## - remove package-docs from pkgname
sed -i -z 's/makedepends=([^()]\+)/makedepends=(libelf cpio tar xz)/' \
"$build_file"
sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \
-e "/^pkgrel=.*/a _gcc_more_v=\'$gcc_patch_version\'" \
-e "s|source=(|source=($gcc_patch_src\n |" \
@ -119,9 +122,9 @@ update_build() {
-e '/^_package-docs()\ {/,/^}/d' \
-e 's/\s*"$pkgbase-docs"//' \
"$build_file"
## remove btfid thingy
sed -i '/resolve_btfids/d' "$build_file"
# TEMPORARILY DISABLE THE GCC PATCH
## remove btfid thingy
sed -i '/resolve_btfids/d' "$build_file"
# TEMPORARILY DISABLE THE GCC PATCH
#sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \
# -e "/localversion\.20-pkgname/d" \
# -e "/^\s*make olddefconfig/a \ \ $make_config_cmds" \