Don't worry, this will be my last message on this particular topic
here, unless it gets a reply. I am mainly sending it because even the
last script was flawed, and I don't want anyone to try using it by
mistake.

Anyway, in relation to the topic, my current understanding is that the
following needs to be done to install a package in symlink package
managment style from its '/usr/pkg/<pkg-name>/<pkg-num>' DESTDIR into
the root tree:

1 - Make directories in the root tree that are in the DESTDIR but not
in the root tree.
2 - Symbolic link from the root tree to any non-symlink files in the DESTDIR.
3 - Copy any symlink files in the DESTDIR into the root tree.

I now have a new script that does this, but I am cautious about
posting it - although so far it has worked from 6.11 (zlib) to 6.25
(shadow) without a single problem - due to my previous experience on
what happens when I put a script this thread (i.e. I immediately find
a problem with it...).

Once more, just on the off-chance someone might answer, is this a
valid approach, and even if so is it overkill (i.e. are there ever
parts of a package in the DESTDIR tree that can be known in advance to
not need to be copied/symlinked (other than documentation), or is it
always *all* of them (more explicitly, for example, are 'pkg-name.so',
'pkg-name.so.1' and 'pkg-name.so.1.0.1' all needed, and if they are
only needed in some cases is it safe to leave, for example,
'pkg-name.so.1.0.1' in the DESTDIR tree and only have the other
symlinks ('.so' and '.so.1' linking to their counterparts in the
DESTDIR tree)))?

If anyone has got this far, thanks for bearing with me, and I promise
not to post on this topic again unless it is replied to and I feel the
reply requires a response...

Steve
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to