Compare commits

...

4 Commits

Author SHA1 Message Date
udeved
203df20e76 commitpkg: prevent trunk dir copy in certain cases 2018-03-14 09:32:57 +01:00
udeved
184259c600 Merge branch 'devel' of github.com:artix-linux/artools 2018-03-12 21:50:29 +01:00
udeved
b95c7dee0d mkchrootpkg: reenable ctty workaround 2018-03-12 21:49:20 +01:00
udeved
c7c67fbc21 buildtree: show arch kde and gnome unstable 2018-03-12 21:47:34 +01:00
3 changed files with 16 additions and 2 deletions

View File

@@ -71,8 +71,9 @@ symlink_commit_pkg(){
[[ -d repos/$dest ]] && git rm -r repos/$dest
[[ ! -d repos ]] && mkdir repos
[[ ! -d repos/$dest ]] && mkdir repos/$dest
cp -r trunk repos/$dest
cp trunk/* repos/$dest/
else
local action='move'
local dest=${target_repo}-$CARCH

View File

@@ -203,7 +203,7 @@ _chrootbuild() {
ulimit -c 0
# Work around chroot-run not giving a ctty
# exec </dev/console
exec </dev/console
. /etc/profile

View File

@@ -175,6 +175,18 @@ find_repo(){
repo=multilib-staging-x86_64
fi
if [[ -d $pkg/repos/gnome-unstable-x86_64 ]];then
repo=gnome-unstable-x86_64
elif [[ -d $pkg/repos/gnome-unstable-any ]];then
repo=gnome-unstable-any
fi
if [[ -d $pkg/repos/kde-unstable-x86_64 ]];then
repo=kde-unstable-x86_64
elif [[ -d $pkg/repos/kde-unstable-any ]];then
repo=kde-unstable-any
fi
echo $repo
}
@@ -191,6 +203,7 @@ arch_to_artix_repo(){
multilib-staging-x86_64) repo=lib32-goblins ;;
community-testing-*) repo=galaxy-gremlins ;;
community-staging-*) repo=galaxy-goblins ;;
kde-unstable-*|gnome-unstable-*) repo=goblins ;;
esac
echo $repo
}