On 2/28/19 12:08 PM, DJ Lucas (LFS) via lfs-dev wrote:
On February 28, 2019 2:22:46 AM CST, Pierre Labastie via lfs-dev
<[email protected]> wrote:
To Bruce, Doug and DJ: I may take an intermediate approach: add the two
lines
above only to jhalfs (in Makefile, under the "devices" target), not to
the LFS
book itself, where it could be confusing for new LFS'ers.
To DJ: make-ca -C could be used, but for jhalfs, it would mean tweaking
the
book instructions twice: first for downloading the certs on the host,
then for
adding the -C switch. I think the approach of copying
/run/systemd/resolve/resolv.conf to $LFS/run in jhalfs' Makefile is
simpler.
I'd like to just go ahead and add it to the book then. No guarantee that
previous host was systemd. Something to the effect of the following would be
appropriate...
(screen-root, userinput-nodump)
mv /$LFS/etc/resolv.conf{,.dist} &&
cp /etc/resolv.conf $LFS/etc
To undo before first boot...
mv $LFS/etc/resolv.conf{.dist,}
This way, even though jhalfs had to override the nodump, it is still something
that is in the book with instructions to correct it before first boot, and add
an exit note in jhalfs if option selected and systemd.
Thoughts?
Three thoughts.
1. Not for this release.
2. $LFS is not defined in chroot. Where do you propose putting those
commands.
3. Embedding in jhalfs is OK.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page