Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 351952 Details for
Bug 411559
sys-kernel/genkernel cmdline encrypted volumes w/ LUKS support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
genkernel kernel initramfs static lvm inside /sbin
genkernel-3.4.47_lvm_sbin.patch (text/plain), 1.88 KB, created by
Sebastian Glita
on 2013-06-25 20:09:47 UTC
(
hide
)
Description:
genkernel kernel initramfs static lvm inside /sbin
Filename:
MIME Type:
Creator:
Sebastian Glita
Created:
2013-06-25 20:09:47 UTC
Size:
1.88 KB
patch
obsolete
>diff -ruN a/defaults/initrd.scripts b/defaults/initrd.scripts >--- a/defaults/initrd.scripts 2013-06-22 13:07:28.816742052 +0300 >+++ b/defaults/initrd.scripts 2013-06-22 13:07:54.167193707 +0300 >@@ -690,7 +690,7 @@ > > if [ "${USE_LVM_NORMAL}" = '1' ] > then >- if [ -e '/bin/lvm' ] >+ if [ -e '/sbin/lvm' ] > then > for dev in ${RAID_DEVICES} > do >@@ -698,7 +698,7 @@ > done > > # This is needed for /bin/lvm to accept the following logic >- lvm_commands="#! /bin/lvm" >+ lvm_commands="#! /sbin/lvm" > > # If there is a cahe, update it. Unbreak at least dmcrypt > [ -d /etc/lvm/cache ] && lvm_commands="${lvm_commands} \nvgscan" >@@ -713,7 +713,7 @@ > > # And finally execute it all (/proc/... needed if lvm is compiled without readline) > good_msg "Scanning for and activating Volume Groups" >- printf "%b\n" "${lvm_commands}" | /bin/lvm /proc/self/fd/0 >+ printf "%b\n" "${lvm_commands}" | /sbin/lvm /proc/self/fd/0 > else > bad_msg "vgscan or vgchange not found: skipping LVM volume group activation!" > fi >diff -ruN a/gen_initramfs.sh b/gen_initramfs.sh >--- a/gen_initramfs.sh 2013-06-09 17:02:13.000000000 +0300 >+++ b/gen_initramfs.sh 2013-06-22 13:07:54.168193725 +0300 >@@ -347,12 +347,12 @@ > compile_lvm > /bin/tar -jxpf "${LVM_BINCACHE}" -C "${TEMP}/initramfs-lvm-temp" || > gen_die "Could not extract lvm binary cache!"; >- mv ${TEMP}/initramfs-lvm-temp/sbin/lvm.static ${TEMP}/initramfs-lvm-temp/bin/lvm || >- gen_die 'LVM error: Could not move lvm.static to lvm!' > # See bug 382555 > mv ${TEMP}/initramfs-lvm-temp/sbin/dmsetup.static ${TEMP}/initramfs-lvm-temp/bin/dmsetup || > gen_die 'LVM error: Could not move dmsetup.static to dmsetup!' > rm -rf ${TEMP}/initramfs-lvm-temp/{lib,share,man,include,sbin/{lvm,dmsetup}} >+ mv ${TEMP}/initramfs-lvm-temp/sbin/lvm{.static,} || >+ gen_die 'LVM error: Could not move lvm.static to lvm!' > fi > if [ -x /sbin/lvm -o -x /bin/lvm ] > then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 411559
:
308505
|
308511
|
309181
|
309183
|
313845
|
313847
|
313849
|
314301
|
314303
|
315317
|
315319
|
319742
|
319744
|
319746
|
351950
|
351952