Browse Source

archlinux: fixes due to new archlinux releases

Olivier MEDOC 10 years ago
parent
commit
f7a956ef2e
2 changed files with 7 additions and 3 deletions
  1. 1 1
      archlinux/PKGBUILD
  2. 6 2
      archlinux/PKGBUILD.install

+ 1 - 1
archlinux/PKGBUILD

@@ -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")

+ 6 - 2
archlinux/PKGBUILD.install

@@ -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