When anything else then CONFIG_KERNEL_GZIP is selected e.g. CONFIG_KERNEL_BZIP2, the script extract-ikconfig fails with "extract-ikconfig: Cannot find kernel config." This should be either checked in the script or support for pther compression methods may be nice.
Created attachment 33392 [details] Add support for kernels compressed with bzip2, lzma or lzo, in addition to gzip. Justin, please test this patch to scripts/extract-ikconfig. This is from Dick Streefland and was posted here: http://marc.info/?l=linux-kbuild&m=128683621407052&w=2
Created attachment 33402 [details] cleanup up patch, now applies cleanly Smae patch without the leading comments that patch is confused by.
It does work partially. So the config is not send to stdout, but in .1 of the temporary files the config is in.
Created attachment 33502 [details] revised patch that also works with busybox zcat I'm not sure why the script doesn't work for you, but perhaps you use a version of zcat that doesn't return exit status 2 when there is trailing garbage? I just discovered that the busybox version of zcat returns 0 in this case. The revised patch should also work for these versions of zcat.
(In reply to comment #4) > Created an attachment (id=33502) [details] > revised patch that also works with busybox zcat > Nice that one works as expected.
This is now commit 532cf2907ac3b9c2345d76251764f4f4e602c921 in mainline.