X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=postinst-setup-fedora;h=96255e73a60e9608d11792c3167982b6572de209;hp=86017022c2e747d93e416323275a184395768a1b;hb=31a3a2342bb146242e0d63289f60b4e8bf5515a8;hpb=32e9972259b89d5b4e779e01ade95c7a6dc2ee5f diff --git a/postinst-setup-fedora b/postinst-setup-fedora index 8601702..96255e7 100755 --- a/postinst-setup-fedora +++ b/postinst-setup-fedora @@ -6,25 +6,26 @@ if ! type offlineimap >/dev/null 2>&1; then dnf remove -y mdadm mlocate nano rsyslog sssd telnet trousers rxvt-unicode abrt plymouth linux-atm-libs quota realmd selinux-policy audit || true # install stuff that we do want - dnf install -y iwl6000g2a-firmware NetworkManager-wifi \ + dnf install -y iwl6000g2a-firmware NetworkManager-wifi dnsmasq \ sudo ecryptfs-utils vim-enhanced iwl6000g2a-firmware \ + dnf-utils bash-completion \ xorg-x11-server-Xorg xorg-x11-drv-libinput xorg-x11-drv-intel \ mesa-dri-drivers lxrandr \ dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts \ xorg-x11-server-utils xorg-x11-utils xbacklight \ - i3 i3lock lxdm wmctrl dunst pcmanfm gvfs-mtp \ + i3 i3lock lxdm wmctrl dunst pcmanfm gvfs-mtp parole \ pavucontrol pulseaudio-utils alsa-plugins-pulseaudio \ gstreamer1-plugin-mpg123 gstreamer1-plugins-good \ - qemu-kvm qemu-img openvpn mutt weechat pidgin-otr \ + qemu-kvm qemu-img openvpn mutt w3m weechat pidgin-otr \ simple-scan sane-backends sane-backends-drivers-scanners \ pandoc texlive-beamer texlive-latex-bin texlive-collection-fontsrecommended \ texlive-hyphen-german texlive-hyphen-english texlive-fancyhdr texlive-dinbrief \ - texlive-german \ + texlive-german texlive-a4wide \ gnome-terminal firefox network-manager-applet evince shotwell rhythmbox \ offlineimap gnome-keyring pinentry-gnome3 \ - postfix duplicity systemd-container gnome-disk-utility powertop \ - git gtimelog libappindicator-gtk3 \ - schroot mock \ + duplicity systemd-container gnome-disk-utility powertop \ + git gtimelog libappindicator-gtk3 gnome-screenshot \ + schroot mock apt-cacher-ng strace wget patchutils \ # codecs dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm @@ -36,13 +37,8 @@ grep -q lib/mock /etc/fstab || cat << EOF >> /etc/fstab tmpfs /var/tmp tmpfs defaults 0 0 tmpfs /var/lib/mock tmpfs defaults 0 0 -#/proc /ubuntu/proc none bind 0 0 -#/sys /ubuntu/sys none bind 0 0 -#/dev /ubuntu/dev none rbind 0 0 -#/home /ubuntu/home none rbind 0 0 -#/srv /ubuntu/srv none bind 0 0 -#/tmp /ubuntu/tmp none bind 0 0 EOF +#ln -s fedora-27-x86_64.cfg /etc/mock/default.cfg # have schroot use tmpfs if [ ! -L /var/lib/schroot/unpack ]; then @@ -56,6 +52,7 @@ setenforce 0 || true rm -f /etc/systemd/system/default.target systemctl set-default graphical.target +systemctl enable --now apt-cacher-ng # create user if ! getent passwd martin >/dev/null; then @@ -83,7 +80,6 @@ if [ ! -d /etc/.git ]; then cp -av /backup-etc/.git/ /etc/ rm -rf /backup-etc fi -systemctl enable --now postfix # crontabs crontab -u martin - <