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_msg='msg "Applying Additional GCC Optimizations Patch"'
|
||||||
gcc_patch_apply="patch -Np1 -i \"\$srcdir/kernel_compiler_patch-\$_gcc_more_v/$gcc_patch_filename\""
|
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_dir=.build
|
||||||
build_file="$build_dir/PKGBUILD"
|
build_file="$build_dir/PKGBUILD"
|
||||||
hist_dir=config-history
|
hist_dir=config-history
|
||||||
|
@ -65,15 +65,15 @@ back_up_config() {
|
||||||
update_build() {
|
update_build() {
|
||||||
if [ -z "$old_build" ]; then
|
if [ -z "$old_build" ]; then
|
||||||
## update repo tree
|
## update repo tree
|
||||||
if [ ! -e packages ]; then
|
if [ ! -e src ]; then
|
||||||
echo Retrieving package tree
|
echo Retrieving linux-lts source
|
||||||
svn checkout --depth=empty svn://svn.archlinux.org/packages
|
git clone https://gitlab.archlinux.org/archlinux/packaging/packages/linux-lts.git src
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## update linux-lts repo
|
## update linux-lts repo
|
||||||
echo Updating linux-lts package
|
echo Updating linux-lts source
|
||||||
cd packages || exit
|
cd src || exit
|
||||||
svn update linux-lts
|
git pull
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
rm -rf $build_dir
|
rm -rf $build_dir
|
||||||
|
|
Loading…
Reference in New Issue