archlinux: fixes due to new archlinux releases

This commit is contained in:
Olivier MEDOC 2013-11-28 14:56:33 +01:00 committed by Marek Marczykowski-Górecki
parent 65badd1faa
commit f7a956ef2e
2 changed files with 7 additions and 3 deletions

View File

@ -6,7 +6,7 @@
# Maintainer: Olivier Medoc <o_medoc@yahoo.fr>
pkgname=qubes-vm-core
pkgver=`cat version`
pkgrel=13
pkgrel=14
epoch=
pkgdesc="The Qubes core files for installation inside a Qubes VM."
arch=("x86_64")

View File

@ -52,11 +52,15 @@ fi
/usr/lib/qubes/qubes-fix-nm-conf.sh
# Remove ip_forward setting from sysctl, so NM will not reset it
sed 's/^net.ipv4.ip_forward.*/#\0/' -i /etc/sysctl.conf
# Archlinux now use sysctl.d/ instead of sysctl.conf
# sed 's/^net.ipv4.ip_forward.*/#\0/' -i /etc/sysctl.conf
# Install firmware link only on system which haven't it yet
if ! [ -e /lib/firmware/updates ]; then
ln -s /lib/modules/firmware /lib/firmware/updates
if ! [ -h /lib/firmware/updates ]; then
ln -s /lib/modules/firmware /lib/firmware/updates
fi
fi
# qubes-core-vm has been broken for some time - it overrides /etc/hosts; restore original content