Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 66284024a2 | |||
| 64f8ee54a3 |
+2
-2
@@ -68,8 +68,8 @@ fi
|
|||||||
eit key import \$repo /etc/entropy/mykeys/private.key /etc/entropy/mykeys/key.pub && { eit key sign \$repo || true; } && { echo "=== Repository key imported successfully ==="; }
|
eit key import \$repo /etc/entropy/mykeys/private.key /etc/entropy/mykeys/key.pub && { eit key sign \$repo || true; } && { echo "=== Repository key imported successfully ==="; }
|
||||||
|
|
||||||
echo "=== Injecting packages ==="
|
echo "=== Injecting packages ==="
|
||||||
echo "Yes" | eit inject \${built_pkgs} || { echo "ouch unable to inject" && exit 3; }
|
eit inject --quick \${built_pkgs} || { echo "ouch unable to inject" && exit 3; }
|
||||||
echo "Yes Yes Yes" | eit commit --quick
|
eit commit --quick
|
||||||
|
|
||||||
echo "=== Pushing built packages locally ==="
|
echo "=== Pushing built packages locally ==="
|
||||||
eit push --quick --force
|
eit push --quick --force
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
export BUILD_DIR="${BUILD_DIR:-/opt/sabayon-build/}"
|
||||||
|
|
||||||
check_docker_requirements(){
|
check_docker_requirements(){
|
||||||
if [ "$(id -u)" != "0" ]; then
|
if [ "$(id -u)" != "0" ]; then
|
||||||
groups | grep -q docker || echo "--> If you are not running the script as root, your user should be in the docker group to use it. (sudo gpasswd -a $USER docker)"
|
groups | grep -q docker || echo "--> If you are not running the script as root, your user should be in the docker group to use it. (sudo gpasswd -a $USER docker)"
|
||||||
@@ -15,7 +17,7 @@ build_sync() {
|
|||||||
layman -S
|
layman -S
|
||||||
emerge --sync
|
emerge --sync
|
||||||
eix-update
|
eix-update
|
||||||
pushd /opt/sabayon-build/
|
pushd "${BUILD_DIR}"
|
||||||
git stash
|
git stash
|
||||||
git fetch --all || true
|
git fetch --all || true
|
||||||
git checkout master || true
|
git checkout master || true
|
||||||
|
|||||||
Reference in New Issue
Block a user