Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52409 Details for
Bug 83716
support for changing busybox.config and having new applications linked in initrd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adds support for busybox.links in genkernel
genkernel-busybox_links.patch (text/plain), 1.68 KB, created by
David Bryson (RETIRED)
on 2005-03-01 13:15:14 UTC
(
hide
)
Description:
adds support for busybox.links in genkernel
Filename:
MIME Type:
Creator:
David Bryson (RETIRED)
Created:
2005-03-01 13:15:14 UTC
Size:
1.68 KB
patch
obsolete
>? genkernel-busybox_links.patch >Index: gen_compile.sh >=================================================================== >RCS file: /var/cvsroot/gentoo/src/genkernel_bradmssw/gen_compile.sh,v >retrieving revision 1.32 >diff -u -B -r1.32 gen_compile.sh >--- gen_compile.sh 1 Mar 2005 10:50:43 -0000 1.32 >+++ gen_compile.sh 1 Mar 2005 21:10:25 -0000 >@@ -271,6 +271,7 @@ > gen_die 'bzip2 compression of busybox failed!' > mv "${TEMP}/${BUSYBOX_DIR}/busybox.bz2" "${BUSYBOX_BINCACHE}" || > gen_die 'Could not copy the busybox binary to the package directory, does the directory exist?' >+ mv "${TEMP}/${BUSYBOX_DIR}/busybox.links" "${CACHE}" || gen_die 'Could not copy busybox symlinks file' > > cd "${TEMP}" > rm -rf "${BUSYBOX_DIR}" > /dev/null >Index: gen_initrd.sh >=================================================================== >RCS file: /var/cvsroot/gentoo/src/genkernel_bradmssw/gen_initrd.sh,v >retrieving revision 1.34 >diff -u -B -r1.34 gen_initrd.sh >--- gen_initrd.sh 17 Feb 2005 01:46:47 -0000 1.34 >+++ gen_initrd.sh 1 Mar 2005 21:10:25 -0000 >@@ -162,12 +162,10 @@ > fi > fi > >- for i in '[' ash basename cat chroot clear cp dirname echo env false find \ >- grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \ >- pivot_root ps awk pwd rm rmdir rmmod sed sh sleep tar test touch true umount uname \ >- xargs yes zcat chmod chown cut kill killall; do >+ for i in `sort ${CACHE}/busybox.links | uniq`; do > rm -f ${TEMP}/initrd-temp/bin/$i > /dev/null >- ln ${TEMP}/initrd-temp/bin/busybox ${TEMP}/initrd-temp/bin/$i || >+ print_info 2 "Linking /bin/busybox to $i" >+ ln ${TEMP}/initrd-temp/bin/busybox ${TEMP}/initrd-temp/$i || > gen_die "Busybox error: could not link ${i}!" > done > }
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 83716
: 52409