genkernel initrd fails when trying to append busybox to the initrd. It looks like this is caused by append_auxilary() in gen_initramfs.sh, which cd's to a directory which it then deletes, leaving append_busybox() to crash tar when run from the non-existent directory. Reproducible: Always Actual Results: * busybox: >> Copying to cache... * initramfs: >> Initializing... * >> Appending base_layout cpio data... * >> Appending auxilary cpio data... * >> Appending busybox cpio data... tar: Cannot save working directory: No such file or directory tar: Error is not recoverable: exiting now * ERROR: Could not extract busybox bincache!
Created attachment 132548 [details, diff] proposed patch Applying this patch allows the initramfs to be built.
Created attachment 132549 [details, diff] Now without cruft
Hmm, that's weird that we haven't run into that before. Thanks for the patch. This is in SVN.
Please test genkernel 3.4.9_pre4 and make sure this is fixed for you. Thanks