[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH v4] RFC: New tool: virt-dib



On Wed, Jul 01, 2015 at 12:50:09PM +0200, Pino Toscano wrote:
> Just wondering if I should resurrect my past idea for different
> appliances ("flavours") with own sets of extra packages, tailored for
> specific usages (e.g. rescue, dib, etc).

We already do something like that in the Fedora spec file.  Actually
having multiple appliances is problematic because of the amount of
space and time consumed building them all, for little gain.

Note also there is a hard limit of 4 GB on the size of the appliance,
in practice I'd prefer not to go near that limit.

> Since we run most of them (except extra-data.d, which need to run on
> the host) in the appliance, they would fail because of missing sudo.
> So the alternatives are either
> (a) setup sudo inside the appliance (which I guess is not acceptable)
> (b) create a fake sudo script which just runs the script, mimicking
>     sudo options if possible
> So I chose (b).

(b) seems like the right choice.

Given we have to use shell scripts, can we use 'set -e' in these shell
scripts?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]