Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 375646 Details for
Bug 508652
sys-kernel/dracut - ebuild improvements
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dracut-037.ebuild.patch
dracut-037.ebuild.patch (text/plain), 1.97 KB, created by
Alexander Tsoy
on 2014-04-25 00:43:17 UTC
(
hide
)
Description:
dracut-037.ebuild.patch
Filename:
MIME Type:
Creator:
Alexander Tsoy
Created:
2014-04-25 00:43:17 UTC
Size:
1.97 KB
patch
obsolete
>--- dracut-037.ebuild 2014-04-25 04:29:03.059387012 +0400 >+++ dracut-037-r1.ebuild 2014-04-25 04:42:49.001896088 +0400 >@@ -86,11 +86,19 @@ > # ebuild functions > # > >+pkg_pretend() { >+ local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" >+ check_extra_config >+} >+ > src_prepare() { > epatch "${PATCHES[@]}" > > local libdirs="/$(get_libdir) /usr/$(get_libdir)" >- [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" >+ if [ "${SYMLINK_LIB}" = "yes" ] ; then >+ # Preserve lib -> lib64 synlinks in initramfs >+ [[ $libdirs =~ /lib\ ]] || libdirs+=" /lib /usr/lib" >+ fi > einfo "Setting libdirs to \"${libdirs}\" ..." > sed -e "3alibdirs=\"${libdirs}\"" \ > -i "${S}/dracut.conf.d/gentoo.conf.example" || die >@@ -186,43 +194,6 @@ > } > > pkg_postinst() { >- if linux-info_get_any_version && linux_config_src_exists; then >- ewarn "" >- ewarn "If the following test report contains a missing kernel" >- ewarn "configuration option, you should reconfigure and rebuild your" >- ewarn "kernel before booting image generated with this Dracut version." >- ewarn "" >- >- local CONFIG_CHECK="~BLK_DEV_INITRD ~DEVTMPFS" >- >- # Kernel configuration options descriptions: >- local desc_DEVTMPFS="Maintain a devtmpfs filesystem to mount at /dev" >- local desc_BLK_DEV_INITRD="Initial RAM filesystem and RAM disk "\ >-"(initramfs/initrd) support" >- >- local opt desc >- >- # Generate ERROR_* variables for check_extra_config. >- for opt in ${CONFIG_CHECK}; do >- opt=${opt#\~} >- desc=desc_${opt} >- eval "local ERROR_${opt}='CONFIG_${opt}: \"${!desc}\"" \ >- "is missing and REQUIRED'" >- done >- >- check_extra_config >- echo >- else >- ewarn "" >- ewarn "Your kernel configuration couldn't be checked. Do you have" >- ewarn "/usr/src/linux/.config file there? Please check manually if" >- ewarn "following options are enabled:" >- ewarn "" >- ewarn " CONFIG_BLK_DEV_INITRD" >- ewarn " CONFIG_DEVTMPFS" >- ewarn "" >- fi >- > elog "To get additional features, a number of optional runtime" > elog "dependencies may be installed:" > elog ""
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 508652
: 375646