[Frugalware-git] frugalware-current: networkmanager-0.8.2-7-x86_64 *add tmpfiles.d config to enable /var/run directory on tmpfs

bouleetbil bouleetbil at frogdev.info
Thu Mar 31 20:52:40 CEST 2011


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7a6764b29a2b1587329b4706712b91219abde283

commit 7a6764b29a2b1587329b4706712b91219abde283
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Thu Mar 31 20:52:39 2011 +0200

networkmanager-0.8.2-7-x86_64
*add tmpfiles.d config to enable /var/run directory on tmpfs

diff --git a/source/network-extra/networkmanager/FrugalBuild b/source/network-extra/networkmanager/FrugalBuild
index c6302e4..475add9 100644
--- a/source/network-extra/networkmanager/FrugalBuild
+++ b/source/network-extra/networkmanager/FrugalBuild
@@ -6,7 +6,7 @@ USE_SYSTEMD=${USE_SYSTEMD:-"y"}
pkgname=networkmanager
_F_gnome_name=NetworkManager
pkgver=0.8.2
-pkgrel=6
+pkgrel=7
pkgdesc="Network Management daemon"
depends=('wireless_tools' 'hal' 'iproute2' 'dhcpcd>=5.1.3' 'nss' \
'libnl' 'ppp' 'wpa_supplicant' 'iptables' 'polkit' 'libgudev')
@@ -49,6 +49,12 @@ build() {
#for don't spam console
Fsed "/usr/sbin/NetworkManager --no-daemon" "/usr/sbin/NetworkManager --no-daemon > /dev/null" $Fdestdir/lib/systemd/system/networkmanager.service
fi
+	# systemd tmpfiles
+	Frm var/run/NetworkManager
+	Fmkdir /etc/tmpfiles.d
+        cat > $Fdestdir/etc/tmpfiles.d/networkmanager.conf << EOF
+d $Flocalstatedir/run/NetworkManager 0755 root root -
+EOF
}

# optimization OK


More information about the Frugalware-git mailing list