ENH update config
This commit is contained in:
parent
ec170f8283
commit
068ff3af47
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
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue