[Frugalware-git] systemd: systemd-15-4-i686 *enable some services by default

bouleetbil bouleetbil at frogdev.info
Sat Nov 27 21:48:05 CET 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=systemd.git;a=commitdiff;h=41fd66f0ac7d2fc1327c25ef842421183a0ac412

commit 41fd66f0ac7d2fc1327c25ef842421183a0ac412
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Sat Nov 27 21:52:04 2010 +0000

systemd-15-4-i686
*enable some services by default

diff --git a/source/base/systemd/FrugalBuild b/source/base/systemd/FrugalBuild
index eda993c..932fae0 100644
--- a/source/base/systemd/FrugalBuild
+++ b/source/base/systemd/FrugalBuild
@@ -5,7 +5,7 @@ USE_CRYPTSETUP=${USE_CRYPTSETUP:-"n"}

pkgname=systemd
pkgver=15
-pkgrel=3
+pkgrel=4
pkgdesc="A System and Service Manager"
url="http://www.freedesktop.org/wiki/Software/systemd"
source=(http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.bz2 Frugalware.diff \
diff --git a/source/base/systemd/systemd.install b/source/base/systemd/systemd.install
index 9a1ad40..a42cd36 100644
--- a/source/base/systemd/systemd.install
+++ b/source/base/systemd/systemd.install
@@ -1,12 +1,24 @@
post_install() {
-  systemctl enable dbus.service
-
-  getent group lock || groupadd -g 55 lock
-
+	#create group
+	getent group lock || groupadd -g 55 lock
+	#enable daemon
+	/bin/systemctl daemon-reexec
+	#runlevel
+	/bin/ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
+	#enable services
+	/bin/systemctl enable \
+                getty at .service \
+                getty.target \
+                remote-fs.target \
+                quotaon.service \
+                quotacheck.service \
+                systemd-readahead-replay.service \
+                systemd-readahead-collect.service \
+                hwclock-load.service
}

post_upgrade() {
-  systemctl daemon-reexec
+  post_install
}

post_remove() {


More information about the Frugalware-git mailing list