[arch-commits] Commit in lvm2/trunk (PKGBUILD sd-lvm2 sd-lvm2_install)

Eric Bélanger eric at archlinux.org
Fri Nov 14 19:21:58 UTC 2014


    Date: Friday, November 14, 2014 @ 20:21:58
  Author: eric
Revision: 226257

Rename sd-lvm2 initcpio hook

Added:
  lvm2/trunk/sd-lvm2_install
    (from rev 226254, lvm2/trunk/sd-lvm2)
Modified:
  lvm2/trunk/PKGBUILD
Deleted:
  lvm2/trunk/sd-lvm2

-----------------+
 PKGBUILD        |    6 +++---
 sd-lvm2         |   32 --------------------------------
 sd-lvm2_install |   32 ++++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-14 19:10:43 UTC (rev 226256)
+++ PKGBUILD	2014-11-14 19:21:58 UTC (rev 226257)
@@ -14,10 +14,10 @@
 source=(ftp://sources.redhat.com/pub/lvm2/LVM2.${pkgver}.tgz{,.asc}
         lvm2_install
         lvm2_hook
-        sd-lvm2
+        sd-lvm2_install
         11-dm-initramfs.rules
         lvm2-make-sockets-static.patch)
-sha1sums=('2e7b5d48d55aaf4aba1214c3211a194e4c13aa3e'
+sha1sums=('290d7afbd7599794b2f4cc000eb879a68705f6c9'
           'SKIP'
           'be3b7db02e76d31d4742dc853b2fa3f898368ff8'
           'ff0fdf0a3005a41acd4b36865056109effc3474b'
@@ -88,7 +88,7 @@
   # mkinitcpio hook
   install -D -m644 "${srcdir}/lvm2_hook" "${pkgdir}/usr/lib/initcpio/hooks/lvm2"
   install -D -m644 "${srcdir}/lvm2_install" "${pkgdir}/usr/lib/initcpio/install/lvm2"
-  install -D -m644 "${srcdir}/sd-lvm2" "${pkgdir}/usr/lib/initcpio/install/sd-lvm2"
+  install -D -m644 "${srcdir}/sd-lvm2_install" "${pkgdir}/usr/lib/initcpio/install/sd-lvm2"
   # extra udev rule for lvmetad in non-systemd initramfs
   install -D -m644 "${srcdir}/LVM2-initramfs/udev/69-dm-lvm-metad.rules" "${pkgdir}/usr/lib/initcpio/udev/69-dm-lvm-metad.rules"
   # systemd support

Deleted: sd-lvm2
===================================================================
--- sd-lvm2	2014-11-14 19:10:43 UTC (rev 226256)
+++ sd-lvm2	2014-11-14 19:21:58 UTC (rev 226257)
@@ -1,32 +0,0 @@
-#!/usr/bin/bash
-
-build() {
-    local mod
-    for mod in dm-mod dm-snapshot dm-mirror; do
-        add_module "$mod"
-    done
-
-    add_binary "/usr/bin/lvm"
-    add_binary "/usr/bin/lvmetad"
-    add_binary "/usr/bin/dmsetup"
-    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"
-    add_file "/usr/lib/udev/rules.d/11-dm-lvm.rules"
-    add_file "/usr/lib/udev/rules.d/69-dm-lvm-metad.rules"
-    add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
-    add_file "/etc/lvm/lvm.conf"
-
-    add_file "/usr/lib/systemd/system/lvm2-lvmetad.service"
-    add_file "/usr/lib/systemd/system/lvm2-lvmetad.socket"
-    add_file "/usr/lib/systemd/system/lvm2-pvscan at .service"
-    add_symlink "/usr/lib/systemd/system/sysinit.target.wants/lvm2-lvmetad.socket"
-}
-
-help() {
-  cat <<HELPEOF
-This hook enables LVM2 volumes in systemd-based initramfs.
-HELPEOF
-}
-
-# vim: set ft=sh ts=4 sw=4 et:

Copied: lvm2/trunk/sd-lvm2_install (from rev 226254, lvm2/trunk/sd-lvm2)
===================================================================
--- sd-lvm2_install	                        (rev 0)
+++ sd-lvm2_install	2014-11-14 19:21:58 UTC (rev 226257)
@@ -0,0 +1,32 @@
+#!/usr/bin/bash
+
+build() {
+    local mod
+    for mod in dm-mod dm-snapshot dm-mirror; do
+        add_module "$mod"
+    done
+
+    add_binary "/usr/bin/lvm"
+    add_binary "/usr/bin/lvmetad"
+    add_binary "/usr/bin/dmsetup"
+    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"
+    add_file "/usr/lib/udev/rules.d/11-dm-lvm.rules"
+    add_file "/usr/lib/udev/rules.d/69-dm-lvm-metad.rules"
+    add_file "/usr/lib/initcpio/udev/11-dm-initramfs.rules" "/usr/lib/udev/rules.d/11-dm-initramfs.rules"
+    add_file "/etc/lvm/lvm.conf"
+
+    add_file "/usr/lib/systemd/system/lvm2-lvmetad.service"
+    add_file "/usr/lib/systemd/system/lvm2-lvmetad.socket"
+    add_file "/usr/lib/systemd/system/lvm2-pvscan at .service"
+    add_symlink "/usr/lib/systemd/system/sysinit.target.wants/lvm2-lvmetad.socket"
+}
+
+help() {
+  cat <<HELPEOF
+This hook enables LVM2 volumes in systemd-based initramfs.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:


More information about the arch-commits mailing list