summaryrefslogtreecommitdiff
path: root/src/backend/libsisyphus.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-19 22:04:57 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-19 22:04:57 +0100
commit090aaafdb9ff73e3c90545a2774ba08551024f13 (patch)
tree94ce49dace04ed86327c7efc221637cde63bbbba /src/backend/libsisyphus.py
parent61c601622a8c1c8d099a48b88d9fb3145e694fe7 (diff)
do not create a local branch for next, point master to origin/next
Diffstat (limited to 'src/backend/libsisyphus.py')
-rw-r--r--src/backend/libsisyphus.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py
index c5773c2..f8ccb52 100644
--- a/src/backend/libsisyphus.py
+++ b/src/backend/libsisyphus.py
@@ -573,7 +573,7 @@ def setPortageEnvTesting():
subprocess.call(['git', 'init', '-q'])
subprocess.call(['git', 'remote', 'add', 'origin', 'https://pagure.io/redcore/portage.git'])
subprocess.call(['git', 'pull', '--depth=1', 'origin', 'next'])
- subprocess.call(['git', 'checkout', '-b', 'next', 'origin/next'])
+ subprocess.call(['git', 'branch', '-u', 'origin/next', 'master'])
if not os.path.isdir(os.path.join(redcoreEbuildDir, '.git')):
print("\nI am injecting Redcore Linux overlay (next)\n")
@@ -581,7 +581,7 @@ def setPortageEnvTesting():
subprocess.call(['git', 'init', '-q'])
subprocess.call(['git', 'remote', 'add', 'origin', 'https://pagure.io/redcore/redcore-desktop.git'])
subprocess.call(['git', 'pull', '--depth=1', 'origin', 'next'])
- subprocess.call(['git', 'checkout', '-b', 'next', 'origin/next'])
+ subprocess.call(['git', 'branch', '-u', 'origin/next', 'master'])
if not os.path.isdir(os.path.join(portageConfigDir, '.git')):
print("\nI am injecting Redcore Linux portage configuration (next)\n")
@@ -589,7 +589,7 @@ def setPortageEnvTesting():
subprocess.call(['git', 'init', '-q'])
subprocess.call(['git', 'remote', 'add', 'origin', 'https://pagure.io/redcore/redcore-build.git'])
subprocess.call(['git', 'pull', '--depth=1', 'origin', 'next'])
- subprocess.call(['git', 'checkout', '-b', 'next', 'origin/next'])
+ subprocess.call(['git', 'branch', '-u', 'origin/next', 'master'])
def setHardenedProfile():
subprocess.call(['eselect', 'profile', 'set', 'default/linux/amd64/17.0/hardened'])