summaryrefslogtreecommitdiffstats
path: root/sys-apps/mkinitrd/files/mkinitrd-lvm_statics.diff
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /sys-apps/mkinitrd/files/mkinitrd-lvm_statics.diff
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'sys-apps/mkinitrd/files/mkinitrd-lvm_statics.diff')
-rw-r--r--sys-apps/mkinitrd/files/mkinitrd-lvm_statics.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-apps/mkinitrd/files/mkinitrd-lvm_statics.diff b/sys-apps/mkinitrd/files/mkinitrd-lvm_statics.diff
new file mode 100644
index 0000000..c690b9b
--- /dev/null
+++ b/sys-apps/mkinitrd/files/mkinitrd-lvm_statics.diff
@@ -0,0 +1,15 @@
+diff -urN mkinitrd-3.5.7.orig/mkinitrd mkinitrd-3.5.7/mkinitrd
+--- mkinitrd-3.5.7.orig/mkinitrd 2003-07-09 18:26:02.000000000 -0500
++++ mkinitrd-3.5.7/mkinitrd 2003-10-25 11:56:32.083678110 -0500
+@@ -534,9 +534,8 @@
+ cp $verbose --parents -a $pv $MNTIMAGE/
+ done
+
+- inst /sbin/vgwrapper "$MNTIMAGE/bin/vgwrapper"
+- ln "$MNTIMAGE/bin/vgwrapper" "$MNTIMAGE/bin/vgscan"
+- ln "$MNTIMAGE/bin/vgwrapper" "$MNTIMAGE/bin/vgchange"
++ inst /sbin/vgscan.static "$MNTIMAGE/bin/vgscan"
++ inst /sbin/vgchange.static "$MNTIMAGE/bin/vgchange"
+
+ mknod $MNTIMAGE/dev/lvm b 109 0
+ fi