diff options
author | root <root@rshg054.dnsready.net> | 2012-10-09 00:33:26 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-09 00:33:26 -0700 |
commit | 965fe5dd2bc0fae6b53c10d880c15f494dd589ac (patch) | |
tree | 910883dffa913262b28fb7a0e3bc41c3325b1dd2 /community/partimage | |
parent | 962d1e81a62d7259ccb686da1a44de2bb28e73a5 (diff) |
Tue Oct 9 00:33:25 PDT 2012
Diffstat (limited to 'community/partimage')
-rw-r--r-- | community/partimage/PKGBUILD | 12 | ||||
-rw-r--r-- | community/partimage/partimaged.service | 10 |
2 files changed, 18 insertions, 4 deletions
diff --git a/community/partimage/PKGBUILD b/community/partimage/PKGBUILD index a8c3178b5..2fe4fa830 100644 --- a/community/partimage/PKGBUILD +++ b/community/partimage/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 66450 2012-02-25 01:26:42Z lfleischer $ +# $Id: PKGBUILD 77310 2012-10-08 15:54:38Z lfleischer $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Roman Kyrylych <roman@archlinux.org> # Contributor: Sven Kauber <celeon@gmail.com> @@ -7,7 +7,7 @@ pkgname=partimage pkgver=0.6.9 -pkgrel=2 +pkgrel=3 pkgdesc='Partition Image saves partitions in many formats to an image file.' arch=('i686' 'x86_64') url='http://www.partimage.org/' @@ -18,11 +18,13 @@ install='partimage.install' source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2" 'partimage-0.6.9-zlib-1.2.6.patch' 'partimaged' - 'partimaged-gencrt') + 'partimaged-gencrt' + 'partimaged.service') md5sums=('1bc046fd915c5debbafc85729464e513' '202c4334766041d98c5f67c9d62c3063' 'f3b517a62de5540f3b1a8b7edf65b7ec' - '2316b116227b07efb48266e660ca1ba1') + '2316b116227b07efb48266e660ca1ba1' + '4102983fdf6e7af7cac73fdf9d37a6f6') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -43,4 +45,6 @@ package() { install -Dm0755 "${srcdir}/partimaged" "${pkgdir}/etc/rc.d/partimaged" install -Dm0755 "${srcdir}/partimaged-gencrt" "${pkgdir}/usr/bin/partimaged-gencrt" chmod 644 "${pkgdir}/etc/partimaged/partimagedusers" + + install -Dm0755 ../partimaged.service "${pkgdir}/usr/lib/systemd/system/partimaged.service" } diff --git a/community/partimage/partimaged.service b/community/partimage/partimaged.service new file mode 100644 index 000000000..34eb87fd7 --- /dev/null +++ b/community/partimage/partimaged.service @@ -0,0 +1,10 @@ +[Unit] +Description=A partition imaging daemon +After=syslog.target network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/partimaged --daemon + +[Install] +WantedBy=multi-user.target |