On 4/7/19 10:23 AM, Thomas Trepl via lfs-dev wrote:
Am Sonntag, den 07.04.2019, 14:14 +0200 schrieb Pierre Labastie via
lfs-dev:
Is there a reason why the instruction:
"install -vdm755 /usr/lib/pkgconfig"
is on the "6.6. Creating Essential Files and Symlinks" page,
and not in "6.5. Creating Directories"?

Don't see a reason why it is in "Creating Files" instead of "Creating
Directories", too. Would say it could be moved.

It was probably an oversight. It should be moved, but it's a relatively trivial change that really doesn't affect anything.

It looks like I'm guilty of the misplacement last September. I'll fix it if someone does not beat me to it. I've waiting for a couple of new packages (grub and util-linux) to make an update to lfs.

This lead to another question: should we use "install" or "mkdir -pv" in
"Creating Directories"? Actually, for pedagogical reasons, keeping both is not
bad, but, although I do not remember why, I have a vague memory that "install"
should be preferred.

Maybe install is preferred because you can specify permission flags
and ownership right with the command. Using mkdir would create the dir
with default permissions and then you have to use a second or even
third command to set permissions and/or ownership.

Right. If the default permissions/ownership are correct, mkdir is more straight forward. What we have in '6.5. Creating Directories' seems correct to me as we use install to only change permissions.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to