On Lu, 13 sep 21, 12:00:19, Johannes Schauer Marin Rodrigues wrote:
> Hi,
> 
> I'm removing Guillem from CC. I don't think his input is relevant here and I 
> am
> quite certain that this topic just makes his day worse.

Ok.
 
> Quoting Andrei POPESCU (2021-09-13 11:50:04)
> > In the meantime it appears the project wide decision is to go for the /usr
> > merged via symlinks approach and the debootstrap default was changed, so 
> > this
> > report is relevant again.
> > 
> > Please at least provide the means for mmdebstrap users to create a
> > merged-via-symlinks /usr layout, even if you consider the default should 
> > stay
> > as it is.
> 
> you have the following options to create a merged-/usr-via-symlinks chroot
> using mmdebstrap:
> 
>  a) completely manually:
> 
>     --setup-hook='for d in bin sbin lib; do ln -s usr/$d "$1/$d"; mkdir -p 
> "$1/usr/$d"; done'

My first instinct would have been to do the `mkdir` before `ln`, but I'm 
guessing it doesn't really matter ;)

>  b) using the debootstrap method:
> 
>     --setup-hook=/usr/share/mmdebstrap/hooks/setup00-merged-usr.sh
> 
>     the path will change in the next upload and then the following will work:
> 
>     --setup-hook=/usr/share/mmdebstrap/hooks/merged-usr/setup00.sh
> 
>     or:
> 
>     --hook-dir=/usr/share/mmdebstrap/hooks/merged-usr

Ok.

>  c) using the usrmerge package:
> 
>     --include=usrmerge

Well, I'm using mmdebstrap (or debootstrap) also to avoid installing too 
many package, but it's good to have this option documented.

> The next upload of mmdebstrap will document all of this. I'm just waiting for
> the resolution of #993946 before I do the next upload.

Sure.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature

Reply via email to