On 26/03/2017 17:53, Tom Armistead wrote:
It's been a while since I learned to use jhalfs. But what I remember
as not knowing and being confusing at first was:
1) jhalfs needs to be run as a normal user which has sudo permissions.
It also took me a bit to figure out how to set it up so no sudo
password was required so that jhalfs would run all the way to the end
without any interaction from me. Obviously sudo with no password
needed might be a security issue in some situations (but wasn't with
me...)
I think this is now documented in the README:
" IMPORTANT::
You must be logged as a normal user with sudo privileges to run
the Makefile. Furthermore, you are supposed to have enough privilege
to become any user. If you are not bothered about security issues,
the entry for the user "jhalfs_user" in /etc/sudoers could be
jhalfs_user ALL=(ALL) NOPASSWD:ALL
"
2) the LFS directory needs to be created before starting jhalfs and
have the proper permissions.
Yes, I think it is one of the main reason for users frustration. I've
updated the README to give details about that. I'll commit soon.
3) Don't laugh... I pointed jhalfs at the pdf version of the LFS
book and thought it would work. It might be useful to clarify that
jhalfs needs the XML version of the book.
Don't know when this has been added, but the context help for "Loc of
working copy (mandatory)" says:
"The full path to a local copy of the book XML sources". But this is
another difficulty: part of the documentation is in context help, and
part of it is split among various README files. Don't know what to do to
fix that (except insisting on the necessity to read the context help).
I figured these things out on my own but it would have been easier if
the jhalfs docs had addressed them.
Thanks for all your work on jhalfs.
Thanks for your very helpful comments.
Pierre
--
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page