Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 581756 Details for
Bug 689152
Genkernel initramfs should include libgcc_s.so.1 for cryptsetup
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gen_initramfs patch
cryptsetup_needs_libgcc_s.patch (text/plain), 897 bytes, created by
Phil Tooley
on 2019-07-02 12:44:06 UTC
(
hide
)
Description:
gen_initramfs patch
Filename:
MIME Type:
Creator:
Phil Tooley
Created:
2019-07-02 12:44:06 UTC
Size:
897 bytes
patch
obsolete
>diff -Naur --suppress-common-lines a/gen_initramfs.sh b/gen_initramfs.sh >--- a/gen_initramfs.sh 2019-07-02 13:37:14.353308690 +0100 >+++ b/gen_initramfs.sh 2019-07-02 13:37:40.499975067 +0100 >@@ -632,13 +632,21 @@ > mkdir -p "${TEMP}/initramfs-luks-temp/sbin" > cd "${TEMP}/initramfs-luks-temp" > >+ local libgccpath >+ if type gcc-config 2>&1 1>/dev/null; then >+ libgccpath="/usr/lib/gcc/$(s=$(gcc-config -c); echo ${s%-*}/${s##*-})/libgcc_s.so.1" >+ fi >+ if [[ ! -f ${libgccpath} ]]; then >+ libgccpath="/usr/lib/gcc/*/*/libgcc_s.so.1" >+ fi >+ > if isTrue ${LUKS} > then > [ -x "${_luks_source}" ] \ > || gen_die "$(printf "${_luks_error_format}" "no file ${_luks_source}")" > > print_info 1 "Including LUKS support" >- copy_binaries "${TEMP}/initramfs-luks-temp/" /sbin/cryptsetup >+ copy_binaries "${TEMP}/initramfs-luks-temp/" /sbin/cryptsetup ${libgccpath} > fi > > log_future_cpio_content
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 689152
: 581756