Hi all,

Before running the test suite for Systemd-232 in LFS 8.0, the book
states it needs some modification to prevent searching for a programme
that will be installed with Util-Linux later on in the build. This is
done with a sed command:

—————
sed -i 's:minix:ext4:g' src/test/test-path-util.c
—————

However, when running the test suite, this test still fails. Looking
into the test logs, it seems that it fails because fsck.ext4 cannot be
found. This makes sense as E2FSProgs is not built until two packages
later.

I did some digging and found that the only fsck programme in the LFS
build at this stage is fsck.minix in /tools/sbin/, which I gather is
installed when Util-Linux is installed in §5. Thus, I have found that
creating a symlink in /sbin/ to /tools/sbin/fsck.minix instead of
executing the sed command allows the test to pass. (i.e.:)

—————
ln -sfv {/tools,}/sbin/fsck.minix
—————

→ Mark
-- 
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

Reply via email to