Compare commits
2 Commits
15c5e5afcb
...
5e03807a13
Author | SHA1 | Date | |
---|---|---|---|
5e03807a13 | |||
1fde830d55 |
@ -46,8 +46,8 @@ find . -type f \( -name "*.log" -o -name "*.raw*" \) -exec mv {} "${APPLIANCE_BA
|
|||||||
rm -rf "${APPLIANCE_BASE}"-{GPT,MBR}
|
rm -rf "${APPLIANCE_BASE}"-{GPT,MBR}
|
||||||
|
|
||||||
pushd "${APPLIANCE_BASE}" || exit 1
|
pushd "${APPLIANCE_BASE}" || exit 1
|
||||||
sha512sum -- *.raw > SHA512SUMS
|
sha512sum -- *.raw* > SHA512SUMS
|
||||||
sha256sum -- *.raw > SHA256SUMS
|
sha256sum -- *.raw* > SHA256SUMS
|
||||||
popd || exit 1
|
popd || exit 1
|
||||||
|
|
||||||
if [[ -n "$1" ]]; then
|
if [[ -n "$1" ]]; then
|
||||||
|
@ -5,7 +5,10 @@ MACHINE_ARCH="$(uname -m)"
|
|||||||
DNF_RELEASEVER="$(dnf config-manager --dump-variables | grep 'releasever' | awk '{print $3}')"
|
DNF_RELEASEVER="$(dnf config-manager --dump-variables | grep 'releasever' | awk '{print $3}')"
|
||||||
|
|
||||||
# import the key manually, since it does not get automatically get imported...
|
# import the key manually, since it does not get automatically get imported...
|
||||||
|
wget "https://download.rockylinux.org/pub/sig/${DNF_RELEASEVER}/altarch/${MACHINE_ARCH}/altarch-common/RPM-GPG-KEY-Rocky-SIG-AltArch"
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
|
||||||
|
rpm --import RPM-GPG-KEY-Rocky-SIG-AltArch
|
||||||
|
rm RPM-GPG-KEY-Rocky-SIG-AltArch
|
||||||
|
|
||||||
# Setup networking temporarily
|
# Setup networking temporarily
|
||||||
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user