Quoting Clint Adams (2021-08-22 15:51:33)
> On Sun, Aug 22, 2021 at 03:03:46PM +0200, Johannes Schauer Marin Rodrigues 
> wrote:
> > creating a sub-essential chroot based on busybox used to work:
> > 
> > mmdebstrap --variant=custom \
> >       
> > --include=base-files,base-passwd,busybox,debianutils,dpkg,libc-bin,mawk,tar 
> > \
> >       --extract-hook='chroot "$1" busybox --install -s' \
> >       unstable /dev/null
> > 
> > But probably since 5.1-1 it fails with:
> 
> I assume changes like 
> https://salsa.debian.org/debian/debianutils/-/merge_requests/13
> are also a problem.
> 
> So, these are the options I can think of
> 
> a) strive for compatibility with busybox
> b) allow SELinux support
> c) maintain two code paths
> 
> Is there a better solution?  I ask because the disposition of this bug
> could be affected by what we prioritize.

There is also

d) have busybox mv and cp understand the -Z option

I also saw commit e88078d796007e3a2de526048507f095a215c4c9 that added the -Z to
mv. I'll contact the busybox developers and ask what they think about this.

This bug is affecting mmdebstrap's autopkgtest where I specifically test the
ability to create a system from Debian packages that is less than Essential:yes
and uses busybox.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to