forgot to add lvm2.conf to tmpfiles.d

This commit is contained in:
Samir 2012-06-24 13:38:41 +00:00
parent 3a31928598
commit cd8feb4217
2 changed files with 5 additions and 0 deletions

View File

@ -15,11 +15,13 @@ source=(ftp://sources.redhat.com/pub/lvm2/LVM2.${pkgver}.tgz
lvm2_install
lvm2_hook
lvm.service
lvm2.conf
11-dm-initramfs.rules)
md5sums=('bd470a802046c807603618a443732ea7'
'd2a2376dd247ae15044dbc5f28479b23'
'14b42c38324160d79b63743b62cb45c4'
'a9019147f885ab81ce0f582a2d3f2b90'
'89adcaa1c019d6f494f5714ebf733265'
'69e40679cd8b3658bfc619e48baae125')
build() {
@ -64,4 +66,5 @@ package_lvm2() {
# install systemd unit
install -Dm 644 "$srcdir/lvm.service" "$pkgdir/usr/lib/systemd/system/lvm.service"
install -Dm 644 "$srcdir/lvm2.conf" "$pkgdir/usr/lib/tmpfiles.d/lvm2.conf"
}

2
lvm2/lvm2.conf Normal file
View File

@ -0,0 +1,2 @@
d /run/lock/lvm 0755 root root -
d /run/lvm 0755 root root -