Compare commits
No commits in common. "1924c9c64eec6f5b27c76b822c7a8657cebd2431" and "37bd85c73f19f22656967b23a39260c128a9170c" have entirely different histories.
1924c9c64e
...
37bd85c73f
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -73,7 +73,7 @@ update_build() {
|
||||||
## update linux-lts repo
|
## update linux-lts repo
|
||||||
echo Updating linux-lts source
|
echo Updating linux-lts source
|
||||||
cd src || exit
|
cd src || exit
|
||||||
git pull
|
git pull
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
rm -rf $build_dir
|
rm -rf $build_dir
|
||||||
|
@ -99,7 +99,6 @@ update_build() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## modify the PKGBUILD
|
## modify the PKGBUILD
|
||||||
## - remove unnecessary makedeps
|
|
||||||
## - change package name
|
## - change package name
|
||||||
## - change kernelname
|
## - change kernelname
|
||||||
## - unindent custom name
|
## - unindent custom name
|
||||||
|
@ -110,8 +109,6 @@ update_build() {
|
||||||
## - delete docs build command
|
## - delete docs build command
|
||||||
## - delete package-docs
|
## - delete package-docs
|
||||||
## - remove package-docs from pkgname
|
## - 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" \
|
sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \
|
||||||
-e "/^pkgrel=.*/a _gcc_more_v=\'$gcc_patch_version\'" \
|
-e "/^pkgrel=.*/a _gcc_more_v=\'$gcc_patch_version\'" \
|
||||||
-e "s|source=(|source=($gcc_patch_src\n |" \
|
-e "s|source=(|source=($gcc_patch_src\n |" \
|
||||||
|
@ -122,9 +119,9 @@ update_build() {
|
||||||
-e '/^_package-docs()\ {/,/^}/d' \
|
-e '/^_package-docs()\ {/,/^}/d' \
|
||||||
-e 's/\s*"$pkgbase-docs"//' \
|
-e 's/\s*"$pkgbase-docs"//' \
|
||||||
"$build_file"
|
"$build_file"
|
||||||
## remove btfid thingy
|
## remove btfid thingy
|
||||||
sed -i '/resolve_btfids/d' "$build_file"
|
sed -i '/resolve_btfids/d' "$build_file"
|
||||||
# TEMPORARILY DISABLE THE GCC PATCH
|
# TEMPORARILY DISABLE THE GCC PATCH
|
||||||
#sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \
|
#sed -i -e "s/pkgbase=.*/pkgbase=$custom_name/g" \
|
||||||
# -e "/localversion\.20-pkgname/d" \
|
# -e "/localversion\.20-pkgname/d" \
|
||||||
# -e "/^\s*make olddefconfig/a \ \ $make_config_cmds" \
|
# -e "/^\s*make olddefconfig/a \ \ $make_config_cmds" \
|
||||||
|
|
Loading…
Reference in New Issue