]> piware.de Git - bin.git/commitdiff
postinst-setup-fedora: install strace, set up default mock
authorMartin Pitt <martin@piware.de>
Mon, 7 Aug 2017 07:14:00 +0000 (09:14 +0200)
committerMartin Pitt <martin@piware.de>
Mon, 7 Aug 2017 07:14:00 +0000 (09:14 +0200)
postinst-setup-fedora

index 5cbf68f835e1d8b40299557f99d26fc711a40580..d944423437aee6f8ffea194a287877d0f795d690 100755 (executable)
@@ -25,7 +25,7 @@ if ! type offlineimap >/dev/null 2>&1; then
         offlineimap gnome-keyring pinentry-gnome3 \
         postfix duplicity systemd-container gnome-disk-utility powertop \
         git gtimelog libappindicator-gtk3 \
-        schroot mock apt-cacher-ng \
+        schroot mock apt-cacher-ng strace \
 
     # codecs
     dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
@@ -44,6 +44,7 @@ tmpfs /var/lib/mock tmpfs defaults 0 0
 #/srv /ubuntu/srv none bind 0 0
 #/tmp /ubuntu/tmp none bind 0 0
 EOF
+ln -s fedora-26-x86_64.cfg /etc/mock/default.cfg
 
 # have schroot use tmpfs
 if [ ! -L /var/lib/schroot/unpack ]; then