- Package:
- simple-cdd
- Source:
- simple-cdd
- Submitter:
- Holger Levsen
- Date:
- 2021-01-25 14:48:05 UTC
- Severity:
- wishlist
Dear Maintainer, simple-cdd simply rocks. Thank you very much for this! 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. 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…
I'd be interested in including this in the default/example profiles, if it's generalizable! 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... live well, vagrant
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$ 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 :-)
Control: retitle 865732 simple-cdd: profile to install and configure simple-cdd Control: severity 865732 wishlist I'll consider this for the future at some point! Oddly enough, generating a default image without any custom profiles appears to pull in mtools. So I can't confirm that part of the bug at all. Thus, I'm retitling this bug to address the remaining issue brought up for this bug. :) live well, vargant
debian-cd defaults to NORECOMMENDS=1 (see /usr/share/debian-cd/CONF.sh). So it is IMHO not surprising that mtools is missing in the final CD. I have the same issue and I also have to include the recommended packages of debian-cd. If it is not too hacky it would be nice to be able to pull in recommends on a per-package base. Regards, Daniel - -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-1-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages simple-cdd depends on: ii dctrl-tools 2.24-3+b1 ii debian-cd 3.1.32 ii lsb-release 11.1.0 ii python3 3.9.1-1 ii python3-simple-cdd 0.6.8 ii reprepro 5.3.0-1.1 ii rsync 3.2.3-3 ii wget 1.21-1+b1 Versions of packages simple-cdd recommends: ii dose-distcheck 5.0.1-16+b1 Versions of packages simple-cdd suggests: ii qemu-system 1:5.2+dfsg-3 ii qemu-system-x86 [qemu-kvm] 1:5.2+dfsg-3 - -- no debconf information -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmAO1XwACgkQS80FZ8KW 0F1gSw/7BnEOxV5qqhOcshaIeKABrbBkBLnK4VLNnIW9E4628IT5XsS3bQqogvIQ e4g1Pg042M0le+ajaQX4aJmW8aRTAMtupl2HyrJCDS487OARAaNnNFlFolS3MXSD FBmCz1XqcCAxyi6Pg+aVB/RwvYEaX+DxlcrvUqIfVvyq0HfqJX9UUHaT33gMfCFO oB0PoIW8gv8LIGK5prHS+S82e4lW+YFAmNMvh32g//JwWGOtnrHz069qFv29R5PH cAbbkNLt6EfehYShL4hjRyaY/vEtCuDNCyEqigYJG8Du1QMNhUsFKLOhRlf3mQyN 3L1/oU1pqoscD0dgEs5BCmuO8BHxIIxktyckGWatjHs/egJiMPPtR0U9R1+z9Nzs Q/HliTmhAkpOYv8isz9fjH4Yj9Jm3gt2vgj79dlH9MdOFZ+Q8AtVCbvkd7rtE0RJ rKxGY65nPZvhpVE5WHLy0n8e99Ixfc6jajfhyvFklk4P7nYdR3gGwyTBVkqhUcNr 4eUngYxJs3x9ggqC0Zrw8uI6C+8g3R8rgddhAcE0Kr1hxXbYhR4g0IK+j+GkExnN nhnmY3cEauDPoXjFenOmldQfduesXJ8swwV1Le4vAATXkmcK2Z37AGNiFm5s//ia attUepc9E/RjjEWWQh7MEDWKIBlM8T6lsYclSD93LZBi20MpnlA= =JnsT -----END PGP SIGNATURE-----