ENH update config

This commit is contained in:
Nathan Dwarshuis 2023-06-11 14:45:53 -04:00
parent ec170f8283
commit 068ff3af47
5 changed files with 19589 additions and 7 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@ gcc_patch_src='enable_additional_cpu_optimizations-$_gcc_more_v.tar.gz::https://
gcc_patch_msg='msg "Applying Additional GCC Optimizations Patch"'
gcc_patch_apply="patch -Np1 -i \"\$srcdir/kernel_compiler_patch-\$_gcc_more_v/$gcc_patch_filename\""
repo_dir=packages/linux-lts/repos/core-x86_64
repo_dir=src
build_dir=.build
build_file="$build_dir/PKGBUILD"
hist_dir=config-history
@ -65,15 +65,15 @@ back_up_config() {
update_build() {
if [ -z "$old_build" ]; then
## update repo tree
if [ ! -e packages ]; then
echo Retrieving package tree
svn checkout --depth=empty svn://svn.archlinux.org/packages
if [ ! -e src ]; then
echo Retrieving linux-lts source
git clone https://gitlab.archlinux.org/archlinux/packaging/packages/linux-lts.git src
fi
## update linux-lts repo
echo Updating linux-lts package
cd packages || exit
svn update linux-lts
echo Updating linux-lts source
cd src || exit
git pull
cd ..
rm -rf $build_dir