Date: Wednesday, July 6, 2016 @ 09:13:31 Author: eworm Revision: 271072
upgpkg: lvm2 2.02.159-1 * new upstream release * add cache support for systemd based initramfs * use symlinks for cache_* Modified: lvm2/trunk/PKGBUILD lvm2/trunk/lvm2_install lvm2/trunk/sd-lvm2_install -----------------+ PKGBUILD | 12 ++++++------ lvm2_install | 19 +++++++++++++------ sd-lvm2_install | 14 +++++++++++++- 3 files changed, 32 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-07-06 06:51:04 UTC (rev 271071) +++ PKGBUILD 2016-07-06 09:13:31 UTC (rev 271072) @@ -4,7 +4,7 @@ pkgbase=lvm2 pkgname=('lvm2' 'device-mapper') -pkgver=2.02.158 +pkgver=2.02.159 pkgrel=1 arch=('i686' 'x86_64') url="http://sourceware.org/lvm2/" @@ -16,14 +16,14 @@ lvm2_hook sd-lvm2_install 11-dm-initramfs.rules - 01-lvm2-make-sockets-static.patch) -sha1sums=('e75e321467164e293b081796486457fcd001a0dc' + 01-lvm2-make-sockets-static.patch) +sha1sums=('5bfdb9d33415472dba9721276f07dfdc9f88f698' 'SKIP' - '056bb0227d07e35a3d365db02f439585314cfc76' + '6efc000ff1936fc6fd119217df770dd7d1be9481' 'ff0fdf0a3005a41acd4b36865056109effc3474b' - 'f6ac78163ab3aba5b51a71655d6e53d05014bfa4' + 'd58d5e55f7c6a045c4e8c06ef6682f096c61bd2c' 'f6a554eea9557c3c236df2943bb6e7e723945c41' - 'b084512af42f2e16cdccd8b7ee4de27b574d1f94') + 'b084512af42f2e16cdccd8b7ee4de27b574d1f94') validpgpkeys=('88437EF5C077BD113D3B7224228191C1567E2C17') prepare() { Modified: lvm2_install =================================================================== --- lvm2_install 2016-07-06 06:51:04 UTC (rev 271071) +++ lvm2_install 2016-07-06 09:13:31 UTC (rev 271072) @@ -2,18 +2,25 @@ build() { local mod - for mod in dm-mod dm-snapshot dm-mirror dm-cache dm-cache-mq dm-thin-pool; do + local symlink + + for mod in dm-mod dm-snapshot dm-mirror dm-cache dm-cache-smq dm-thin-pool; do add_module "$mod" done + # from lvm2 add_binary "/usr/bin/lvm" add_binary "/usr/bin/lvmetad" + + # from device-mapper add_binary "/usr/bin/dmsetup" - add_binary "/usr/bin/cache_check" - add_binary "/usr/bin/cache_dump" - add_binary "/usr/bin/cache_metadata_size" - add_binary "/usr/bin/cache_repair" - add_binary "/usr/bin/cache_restore" + + # from thin-provisioning-tools + add_binary "/usr/bin/pdata_tools" + for symlink in cache_{check,dump,metadata_size,repair,restore}; do + add_symlink "/usr/bin/${symlink}" "pdata_tools" + done + add_file "/usr/lib/udev/rules.d/10-dm.rules" add_file "/usr/lib/udev/rules.d/13-dm-disk.rules" add_file "/usr/lib/udev/rules.d/95-dm-notify.rules" Modified: sd-lvm2_install =================================================================== --- sd-lvm2_install 2016-07-06 06:51:04 UTC (rev 271071) +++ sd-lvm2_install 2016-07-06 09:13:31 UTC (rev 271072) @@ -2,13 +2,25 @@ build() { local mod - for mod in dm-mod dm-snapshot dm-mirror dm-thin-pool; do + local symlink + + for mod in dm-mod dm-snapshot dm-mirror dm-cache dm-cache-smq dm-thin-pool; do add_module "$mod" done + # from lvm2 add_binary "/usr/bin/lvm" add_binary "/usr/bin/lvmetad" + + # from device-mapper add_binary "/usr/bin/dmsetup" + + # from thin-provisioning-tools + add_binary "/usr/bin/pdata_tools" + for symlink in cache_{check,dump,metadata_size,repair,restore}; do + add_symlink "/usr/bin/${symlink}" "pdata_tools" + done + add_file "/usr/lib/udev/rules.d/10-dm.rules" add_file "/usr/lib/udev/rules.d/13-dm-disk.rules" add_file "/usr/lib/udev/rules.d/95-dm-notify.rules"