summaryrefslogtreecommitdiffstats
path: root/sys-apps/mkinitrd/files/mkinitrd-lvm_statics.diff
diff options
context:
space:
mode:
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