On 11/30/19 3:11 PM, Bruce Dubbs wrote:
On 11/30/19 1:15 PM, Thomas Seeling wrote:
Hallo,
I started LFS 9.0 on a fresh partition and it stopped at step 158 (of my
jhalfs numbering) where it compiles the kernel ... it nearly finishes
but then complains about cpio missing.
CC kernel/rseq.o
AR kernel/built-in.a
GZIP kernel/config_data.gz
CC [M] kernel/configs.o
CHK kernel/kheaders_data.tar.xz
GEN kernel/kheaders_data.tar.xz
./kernel/gen_kheaders.sh: line 61: cpio: command not found
make[2]: *** [kernel/Makefile:131: kernel/kheaders_data.tar.xz] Error
127
make[1]: *** [Makefile:1085: kernel] Error 2
I built cpio on the fly and it seems to work now but I cannot remember I
needed to build cpio before for the base system (I'm a happy user since
LFS 6). I've built cpio afterwards anyway for initramfs and early
microcode loading but not for the initial kernel compilation.
Is this something new like the requirement for rsync?
I don't know right now. I am going to start an update to LFS today
and there are several new packages, including the kernel. I don't
normally rebuild the kernel in chroot, but I'll do that this time.
-- Bruce
I bumped into this one a while back. I suggest that we document that the
option needs to be disabled in the LFS kernel configuration page. The
option is misleading, making users think that they'd benefit from it
because it installs system headers in a convenient way for the system to
access. The kernel configuration option in question is CONFIG_IKHEADERS,
and it uses cpio to generate the kheaders_data.tar.xz file that is
accessible in /proc. I think Ken mentioned that Android is the primary
consumer - this might be an artifact of Google trying to mainline their
kernel changes for Android.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style