archlinux: follow fedora20 qubes agent improvement
This commit is contained in:
parent
34e94917ba
commit
eb1dcd750e
@ -13,7 +13,7 @@ arch=("x86_64")
|
|||||||
url="http://qubes-os.org/"
|
url="http://qubes-os.org/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
groups=()
|
groups=()
|
||||||
depends=(qubes-libvchan qubes-vm-utils imagemagick ntp zenity notification-daemon)
|
depends=(qubes-libvchan qubes-vm-utils imagemagick ntp zenity notification-daemon haveged)
|
||||||
makedepends=(qubes-vm-utils)
|
makedepends=(qubes-vm-utils)
|
||||||
checkdepends=()
|
checkdepends=()
|
||||||
optdepends=()
|
optdepends=()
|
||||||
|
@ -7,8 +7,11 @@ remove_ShowIn () {
|
|||||||
|
|
||||||
update_xdgstart () {
|
update_xdgstart () {
|
||||||
|
|
||||||
|
# reenable abrt-aplet if disabled by some earlier version of package
|
||||||
|
remove_ShowIn abrt-applet.desktop
|
||||||
|
|
||||||
# don't want it at all
|
# don't want it at all
|
||||||
for F in abrt-applet deja-dup-monitor imsettings-start krb5-auth-dialog pulseaudio restorecond sealertauto gnome-power-manager gnome-sound-applet gnome-screensaver orca-autostart; do
|
for F in deja-dup-monitor imsettings-start krb5-auth-dialog pulseaudio restorecond sealertauto gnome-power-manager gnome-sound-applet gnome-screensaver orca-autostart; do
|
||||||
if [ -e /etc/xdg/autostart/$F.desktop ]; then
|
if [ -e /etc/xdg/autostart/$F.desktop ]; then
|
||||||
remove_ShowIn $F
|
remove_ShowIn $F
|
||||||
echo 'NotShowIn=QUBES;' >> /etc/xdg/autostart/$F.desktop
|
echo 'NotShowIn=QUBES;' >> /etc/xdg/autostart/$F.desktop
|
||||||
@ -58,12 +61,9 @@ fi
|
|||||||
# Archlinux now use sysctl.d/ instead of sysctl.conf
|
# Archlinux now use sysctl.d/ instead of sysctl.conf
|
||||||
# sed 's/^net.ipv4.ip_forward.*/#\0/' -i /etc/sysctl.conf
|
# sed 's/^net.ipv4.ip_forward.*/#\0/' -i /etc/sysctl.conf
|
||||||
|
|
||||||
|
# Remove old firmware updates link
|
||||||
# Install firmware link only on system which haven't it yet
|
if [ -L /lib/firmware/updates ]; then
|
||||||
if ! [ -e /lib/firmware/updates ]; then
|
rm -f /lib/firmware/updates
|
||||||
if ! [ -h /lib/firmware/updates ]; then
|
|
||||||
ln -s /lib/modules/firmware /lib/firmware/updates
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# qubes-core-vm has been broken for some time - it overrides /etc/hosts; restore original content
|
# qubes-core-vm has been broken for some time - it overrides /etc/hosts; restore original content
|
||||||
@ -164,6 +164,7 @@ systemctl enable iptables.service 2> /dev/null
|
|||||||
systemctl enable ip6tables.service 2> /dev/null
|
systemctl enable ip6tables.service 2> /dev/null
|
||||||
systemctl enable rsyslog.service 2> /dev/null
|
systemctl enable rsyslog.service 2> /dev/null
|
||||||
systemctl enable ntpd.service 2> /dev/null
|
systemctl enable ntpd.service 2> /dev/null
|
||||||
|
systemctl enabled haveged.service 2> /dev/null
|
||||||
# Disable original service to enable overriden one
|
# Disable original service to enable overriden one
|
||||||
systemctl disable NetworkManager.service 2> /dev/null
|
systemctl disable NetworkManager.service 2> /dev/null
|
||||||
# Disable D-BUS activation of NetworkManager - in AppVm it causes problems (eg PackageKit timeouts)
|
# Disable D-BUS activation of NetworkManager - in AppVm it causes problems (eg PackageKit timeouts)
|
||||||
|
Loading…
Reference in New Issue
Block a user