From: Martin Pitt Date: Sun, 21 Jul 2019 08:27:26 +0000 (+0200) Subject: build-devmock: Fix rhpkg installation X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=1c9ea6c2c0b524188de45818a14ab1d4fbd77ebd;p=bin.git build-devmock: Fix rhpkg installation dnf.conf gets reset every time the chroot gets entered. --- diff --git a/build-devmock b/build-devmock index 32639ac..1eb0050 100755 --- a/build-devmock +++ b/build-devmock @@ -32,8 +32,7 @@ $MOCK --chroot -- ln -sf /home /var/home # install rhpkg $MOCK -i ~martin/Dokumente/Arbeit/RedHat/redhat-internal-cert-install-0.1-7.el7.csb.noarch.rpm -$MOCK --chroot --cwd=/etc/yum.repos.d -- 'echo >> /etc/dnf/dnf.conf; curl --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo >> /etc/dnf/dnf.conf' -$MOCK -i rhpkg +$MOCK --chroot -- 'echo >> /etc/dnf/dnf.conf; curl --location https://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-fedora.repo >> /etc/dnf/dnf.conf; dnf install -y rhpkg' # ssh looks at passwd, not $HOME $MOCK --chroot --unpriv -- rm -rf /builddir/.ssh