Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=33dd613a6524bf339cab7cf1490ada7b2dc642dd

commit 33dd613a6524bf339cab7cf1490ada7b2dc642dd
Author: James Buren <[email protected]>
Date:   Mon Jun 4 07:06:39 2012 -0500

lvm2-2.02.95-2-x86_64
* convert to use systemd schema

diff --git a/source/base/lvm2/FrugalBuild b/source/base/lvm2/FrugalBuild
index 7aede94..4610e57 100644
--- a/source/base/lvm2/FrugalBuild
+++ b/source/base/lvm2/FrugalBuild
@@ -4,17 +4,18 @@

pkgname=lvm2
pkgver=2.02.95
-pkgrel=1
+pkgrel=2
pkgdesc="Logical Volume Manager 2 utilities"
url="http://sources.redhat.com/lvm2/";
depends=('udev' 'readline>=6.2')
-rodepends=('systemd')
backup=(etc/lvm/lvm.conf)
groups=('base')
archs=('i686' 'x86_64' 'arm')
up2date="lynx -dump ftp://sources.redhat.com/pub/lvm2/|grep tgz$|sed -n 
's/.*LVM2\.\(.*\)\.tgz/\1/;$ p'"
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$pkgver.tgz lvm.service 
README.Frugalware)
signatures=($source.asc '' '')
+_F_systemd_units=(lvm=e)
+Finclude systemd

build()
{
@@ -27,6 +28,7 @@ build()
Ffile /lib/systemd/system/lvm.service
Fmkdir /etc/systemd/system/sysinit.target.wants
Fdoc README.Frugalware
+       Fgenscriptlet
}

# optimization ok
diff --git a/source/base/lvm2/lvm2.install b/source/base/lvm2/lvm2.install
deleted file mode 100644
index 35474a0..0000000
--- a/source/base/lvm2/lvm2.install
+++ /dev/null
@@ -1,24 +0,0 @@
-post_install()
-{
-       systemctl enable lvm.service >/dev/null 2>&1
-}
-
-post_upgrade()
-{
-       systemctl daemon-reload >/dev/null 2>&1
-}
-
-pre_remove()
-{
-       systemctl disable lvm.service >/dev/null 2>&1
-       systemctl stop lvm.service >/dev/null 2>&1
-}
-
-post_remove()
-{
-       systemctl daemon-reload >/dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to