Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a904bbcbe1 | |||
| ccd4a760f4 | |||
| 0944d27ce9 | |||
| d248206aaa | |||
| 65c62a3d8a | |||
| 3be8ff13d1 | |||
| 99cae9c7d1 | |||
| d0df62c8f6 | |||
| 6ee7ef7845 |
@@ -311,6 +311,9 @@ say "*** Ready to compile, finger crossed ***";
|
||||
system("emerge --info")
|
||||
; #always give detailed information about the building environment, helpful to debug
|
||||
|
||||
say "Devkit version:";
|
||||
system("equo s -vq app-misc/sabayon-devkit");
|
||||
|
||||
my $rt;
|
||||
|
||||
if ($emerge_split_install) {
|
||||
|
||||
+8
-3
@@ -54,19 +54,24 @@ mkdir -p /sabayon/artifacts
|
||||
[[ -z "\${built_pkgs}" ]] && echo "ERROR: no tbz2s found" && exit 2
|
||||
|
||||
if [ -d "/sabayon/artifacts/standard" ]; then
|
||||
echo "=== Repository already exists, syncronizing ==="
|
||||
eit unlock \$repo || true
|
||||
eit pull --quick \$repo || true
|
||||
#eit sync \$repo
|
||||
else
|
||||
echo "=== Repository is empty, intializing ==="
|
||||
echo "Yes" | eit init --quick \$repo
|
||||
eit push --quick --force
|
||||
fi
|
||||
|
||||
[ -f "/etc/entropy/mykeys/key.pub" ] && [ -f "/etc/entropy/mykeys/private.key" ] && { ! eit key status \$repo; } && \
|
||||
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 "Yes" | eit inject \${built_pkgs} || { echo "ouch unable to inject" && exit 3; }
|
||||
echo "Yes Yes Yes" | eit commit --quick
|
||||
|
||||
[ -f "/etc/entropy/mykeys/key.pub" ] && [ -f "/etc/entropy/mykeys/private.key" ] &&\
|
||||
eit key import \$repo /etc/entropy/mykeys/private.key /etc/entropy/mykeys/key.pub && { eit key sign \$repo || true; }
|
||||
|
||||
echo "=== Pushing built packages locally ==="
|
||||
eit push --quick --force
|
||||
|
||||
EOF
|
||||
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo bash << EOF
|
||||
echo "Grabbing system informations, the url to share will happear in a minute"
|
||||
(echo 'lspci'; lspci; echo 'network'; ifconfig -a; echo 'drivers'; lsmod; find /lib/modules; echo 'kernel'; uname -a) | pastebunz
|
||||
EOF
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Reference in New Issue
Block a user