On Fri, Jun 23, 2017 at 08:22:59AM -0400, Neal Gompa wrote:
> As for the scripts thing, I believe the way that debootstrap handles
> that is that the udebs (special debs for install environments) are
> unpacked to provide a minimal script run environment to execute
> apt+dpkg, and then qemu-user-static is configured for the environment,
> and debootstrap then uses the actual rootfs' apt to keep going. That
> allows for most of the basic stuff to actually work correctly. The
> same basic approach is also used by SUSE's OBS for setting up foreign
> arch builder environments[1] (Preinstall and VMinstall directives do
> not run scriptlets, just unpack things).

Fair enough, this must have changed since I last looked at this
(which was a really long time ago).  This does sound like a better
approach too.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to