Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350256 Details for
Bug 472312
sys-kernel/genkernel-3.4.46.1 - initramfs has module dependency problems - pata_mpiix: Unknown symbol ata_scsi_ioctl (err 0)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Experimental patch to fix issue
genkernel-3.4.46.1-fix-busybox-modprobe.patch (text/plain), 1.17 KB, created by
Richard Yao (RETIRED)
on 2013-06-06 05:51:01 UTC
(
hide
)
Description:
Experimental patch to fix issue
Filename:
MIME Type:
Creator:
Richard Yao (RETIRED)
Created:
2013-06-06 05:51:01 UTC
Size:
1.17 KB
patch
obsolete
>diff --git a/gen_initramfs.sh b/gen_initramfs.sh >index 745e15a..7ff6ea0 100755 >--- a/gen_initramfs.sh >+++ b/gen_initramfs.sh >@@ -796,6 +796,37 @@ create_initramfs() { > append_data 'overlay' > fi > >+ # Finalize cpio by removing duplicate files and generating modules.dep.bb >+ print_info 1 " >> Finalizing cpio" >+ local TDIR="${TEMP}/initramfs-final" >+ mkdir -p "${TDIR}" >+ cd "${TDIR}" >+ >+ cpio --quiet -i -F "${CPIO}" 2> /dev/null \ >+ || gen_die "extracting cpio for finalization" >+ >+ # Remove unused modules.* files >+ rm "${TDIR}/lib/modules/${KV}/modules."* >+ >+ # Hack to workaround broken `busybox depmod -b` >+ touch "${TDIR}/proc/modules" >+ if [ ${UID} -eq 0 ] >+ then >+ chroot "${TDIR}" /bin/busybox depmod "${KV}" \ >+ || gen_die "generating busybox modules.dep" >+ >+ else >+ fakechroot fakeroot chroot "${TDIR}" /bin/busybox depmod "${KV}" \ >+ || gen_die "generating busybox modules.dep" >+ fi >+ rm "${TDIR}/proc/modules" >+ >+ find . -print | cpio ${CPIO_ARGS} -F "${CPIO}" 2>/dev/null \ >+ || gen_die "recompressing cpio" >+ >+ cd "${TEMP}" >+ rm -r "${TDIR}" >+ > if isTrue "${INTEGRATED_INITRAMFS}" > then > # Explicitly do not compress if we are integrating into the kernel.
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 472312
:
350116
|
350118
|
350134
|
350154
| 350256 |
350298
|
350320
|
350410