| Newsgroups |
gmane.linux.lfs.automated |
| Message-ID |
<[email protected]> |
On Mon, 2022-10-03 at 19:11 +0200, Thomas Seeling wrote:
> Hallo,
>
> I'm building LFS 11.2 with jhalfs, and this works fine (I'm running in KVM for
> the sake of learning KVM as well).
> However, I've ticked the box to build BLFS tools, and this does not work so
> fine.
> Most commands require root (like make-ca) but the blfs_tools build still runs
> as lfs user since it's just a continuation of the LFS build.
>
> Basically it goes through the steps in the BLFS Makefile but there are lots of
> "permission denied" in the logfiles so it's highly likely that the build won't
> work.
>
> I then chose to run as root, invoking the Makefile in /blfs_tools/work
> standalone.
>
> PS: during configuration, in the panel for choosing BLFS tools, the box for
> git is unchecked, and the help text states for "stable" build you don't need
> to install git. This implies you only require git for checking out the
> development version of the books, but git is also used to checkout the stable
> book, so git is definitely required for all types of jhalfs build. Imho the
> checkbox should be ticked by default.
I see what you mean, but as written, the help text is right (though admittedly
misleading): You do not need to build git in blfs tools if you use a stable
version of the book, because you won't have to update the blfs book sources, and
the Makefile in BLFS only uses git for the "update" target. But it does not mean
you do not need git on the host. Actually, as already said, it's expected to
find git on the host, since otherwise jhalfs itself could not be cloned...
Writing (and reading) doc for jhalfs is hard because of the various stages, all
of which could be called "running jhalfs". It may mean running make in the
cloned jhalfs directory, which does the initial configuration, optionally
downloads the tarballs, and optionally start a build, or doing the build itself:
for example, by running make in the $BUILD_DIR/jhalfs directory (this one cannot
be the same as the cloned one). "Installing blfs tools" can also means two
things: initial configuration before starting the build (it installs the
blfs_root directory in $BUILD_DIR, and prepares for building the tools), or the
build stage after building LFS (and still in chroot).
I've written a cheat sheet that is not very useful. I am not sure what to do to
make the doc easier to use...
Pierre
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page