summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-21 20:15:53 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-21 20:15:53 +0100
commit9caaa7afc334e87fc46a038ae01516fed0ad0406 (patch)
treec07d36045557ad6477638d1d5090e4f4775dc874
parent5af3c57e7b377f0fc777fed02e57ed9a9bd38ec0 (diff)
sadly our cgit doesn't play nice with shallow clones, so switch to pagure.io
-rw-r--r--src/backend/f_makeiso.sh2
-rw-r--r--src/backend/f_modeswitch.sh10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/f_makeiso.sh b/src/backend/f_makeiso.sh
index 936a780..87e6261 100644
--- a/src/backend/f_makeiso.sh
+++ b/src/backend/f_makeiso.sh
@@ -137,7 +137,7 @@ mkliveimg () {
cfgbootldr () {
# fetch and install GRUB2 config files
- git clone https://gitlab.com/"$distname"/boot-core.git "$jailbootldrdlpath"
+ git clone https://pagure.io/redcore/boot-core.git "$jailbootldrdlpath"
cp -avx "$jailbootldrcfgpath" "$jailrootpath"
sync
}
diff --git a/src/backend/f_modeswitch.sh b/src/backend/f_modeswitch.sh
index d85f36f..8a40938 100644
--- a/src/backend/f_modeswitch.sh
+++ b/src/backend/f_modeswitch.sh
@@ -33,7 +33,7 @@ dlmainportfulltree () {
if [ ! -d ""$jailmainportpath"/.git" ] ; then
einfo "I am injecting Gentoo ebuild tree"
cd "$jailmainportpath" && git init > /dev/null 2>&1
- git remote add origin http://redcorelinux.org/cgit/portage/
+ git remote add origin https://pagure.io/redcore/portage.git
git pull --depth=1 origin master
git branch -u origin/master master
rm -rf ""$jailmainportpath"/profiles/updates"
@@ -44,7 +44,7 @@ dlmainportmintree () {
if [ ! -d ""$jailmainportpath"/.git" ] ; then
einfo "I am injecting Gentoo ebuild tree"
cd "$jailmainportpath" && git init > /dev/null 2>&1
- git remote add origin http://redcorelinux.org/cgit/portage/
+ git remote add origin https://pagure.io/redcore/portage.git
git config core.sparsecheckout true
echo "profiles/*" >> .git/info/sparse-checkout
echo "metadata/*" >> .git/info/sparse-checkout
@@ -59,7 +59,7 @@ dladdonportfulltree () {
if [ ! -d ""$jailaddonportpath"/.git" ] ; then
einfo "I am injecting Redcore ebuild tree"
cd "$jailaddonportpath" && git init > /dev/null 2>&1
- git remote add origin http://redcorelinux.org/cgit/redcore-desktop/
+ git remote add origin https://pagure.io/redcore/redcore-desktop.git
git pull --depth=1 origin master
git branch -u origin/master master
fi
@@ -69,7 +69,7 @@ dladdonportmintree () {
if [ ! -d ""$jailaddonportpath"/.git" ] ; then
einfo "I am injecting Redcore ebuild tree"
cd "$jailaddonportpath" && git init > /dev/null 2>&1
- git remote add origin http://redcorelinux.org/cgit/redcore-desktop/
+ git remote add origin https://pagure.io/redcore/redcore-desktop.git
git config core.sparsecheckout true
echo "profiles/*" >> .git/info/sparse-checkout
echo "metadata/*" >> .git/info/sparse-checkout
@@ -82,7 +82,7 @@ dladdonportmintree () {
dlportcfgtree () {
pushd /opt > /dev/null 2>&1
einfo "I am injecting portage configuration"
- git clone http://redcorelinux.org/cgit/redcore-build/
+ git clone https://pagure.io/redcore/redcore-build.git
popd > /dev/null 2>&1
}