From: Martin Pitt Date: Sun, 12 Dec 2021 15:44:32 +0000 (+0100) Subject: build-cockpit-toolbox: Add flatpak-builder X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=8fbc59a4ad871bc62076a17bde3e29ce1427c3aa;p=bin.git build-cockpit-toolbox: Add flatpak-builder For building cockpit-client. Add a hack to install in toolbox, which the next flatpak release will fix. --- diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index d233b78..b7fb4b3 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -16,13 +16,17 @@ sudo hostname -F /etc/hostname # enable manpages sudo sed -i s/nodocs// /etc/dnf/dnf.conf +# hack for flatpak-builder +sudo mkdir -p /usr/lib/rpm/macros.d +echo "%_netsharedpath /dev:/media:/mnt:/proc:/sys:/tmp:/var/lib/flatpak:/var/lib/libvirt" | sudo tee /usr/lib/rpm/macros.d/macros.toolbox + sudo dnf install -y ansible man-pages moreutils \ python3-boto python3-boto3 libnotify \ pandoc texlive-ec texlive-pdfjam \ /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \ kpcli \ calibre qt5-qtwayland \ - dbus-daemon tmt tmt-provision-virtual + dbus-daemon tmt tmt-provision-virtual flatpak-builder # debugging cockpit crashes sudo dnf debuginfo-install -y glib2 glibc libssh gnutls