LFS - DESTDIR Style

Sukucorp Sukucorp sukucorp at gmail.com
Mon Mar 31 16:21:53 MDT 2008


On undefined, Randy McMurchy <randy at linuxfromscratch.org> wrote:
>
>  But what is being described here is much more than just a DESTDIR
>  installation method. To me, this sounds like pure PM, and probably
>  more than LFS should take on.
>

It is not more than the DESTDIR method. If packages are installed in
DESTDIR, then there are some commands that need to be performed before
and after the pkg is relocated to /. Otherwise, DESTDIR style won't
work. BTW, I think a better name for the DESTDIR method is "install
root" method.

Similarly, if LFS mentions the uninstall procedure for each package,
we would need to add commands that need to be performed before and
after the files are removed. Of course this part is optional. LFS &
BLFS can choose not to deal with package removals since the uninstall
commands are the inverse of the installation commands and can be left
as an exercise for the user.

-- 
Tushar Teredesai
 mailto:tushar at linuxfromscratch.org
 http://www.linuxfromscratch.org/~tushar/


More information about the lfs-dev mailing list