]> piware.de Git - bin.git/commitdiff
build-devtoolbox: Update to latest packages
authorMartin Pitt <martin@piware.de>
Fri, 4 Sep 2020 05:44:14 +0000 (07:44 +0200)
committerMartin Pitt <martin@piware.de>
Fri, 4 Sep 2020 05:44:14 +0000 (07:44 +0200)
Fedora images are often very old.

build-devtoolbox

index 22537302b880521a0c996e36b9ee3225665f062f..39f05c7da272cb6025dff62b272f5d3f404f9fdd 100755 (executable)
@@ -19,6 +19,8 @@ toolbox run -c "$NAME" sh -exc '
 echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname
 sudo hostname -F /etc/hostname
 
+sudo dnf update -y
+
 # this just refuses to rpm -i normally
 sudo dnf install -y cpio
 rpm2cpio ~martin/Dokumente/Arbeit/RedHat/redhat-internal-cert-install-0.1-7.el7.csb.noarch.rpm | sudo cpio -id --directory=/ --verbose "./etc/pki/*"