[Simple-cdd-devel] Bug#865732: simple-cdd: should depend (or recommend) mtools?

Holger Levsen holger at layer-acht.org
Wed Jun 28 17:00:28 UTC 2017


On Wed, Jun 28, 2017 at 09:47:18AM -0700, Vagrant Cascadian wrote:
> On 2017-06-24, Holger Levsen wrote:
> > I've just created a profile "scdd" which installs one package, simple-cdd and
> > copies the configuration used on the medium, so that a freshly installed system
> > is capable of creating simple-cdd's with the very same configuration.
> I'd be interested in including this in the default/example profiles, if
> it's generalizable!
 
it probably is, it's basically this, which of course is a hack and should be
done more nicely… (it's basically still a PoC.)

some-vm:~/Projects/simple-cdd$ cat profiles/scdd.postinst 
#!/bin/bash

set +e

# configure simple-cdd so it's ready to use
mkdir /home/user/Projects/simple-cdd
mkdir -p /home/user/Projects/simple-cdd/profiles
# a simple "cp -r" is probably more in order here…
for i in sh conf postinst preseed packages xz ; do
	cp -r /media/cdrom/simple-cdd/*.$i /home/user/Projects/simple-cdd/profiles/
done
mv /home/user/Projects/simple-cdd/profiles/build.sh /home/user/Projects/simple-cdd/
chown -R user:user /home/user/Projects/simple-cdd

some-vm:~/Projects/simple-cdd$ cat profiles/scdd.packages 
simple-cdd
mtools
some-vm:~/Projects/simple-cdd$ 

> > This works nicely, with one small issue: I also had to install mtools manually
> > on the fresh installed system, somehow it doesnt get pulled in by simple-cdd…
> 
> Hmmm... debian-cd recommends mtools, not sure why it doesn't get
> included. Might be something in tmp/logs/ suggesting why.
> 
> The dependency resolver for simple-cdd is kind of hacky, so it's not
> totally surprising...

I see. I might investigate in a few weeks… ;-) (extremely short on time atm, sorry.)

Til then, let's keep this bug report open(?!?), even if only to track the feature
described at the top :-)


-- 
cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20170628/b67bddbd/attachment.sig>


More information about the Simple-cdd-devel mailing list