On 2021-01-25, Daniel Leidert wrote:
> Hm. Maybe strike that. I misread some recommended packages as depends. But
> still overwriting
>
> tasksel tasksel/first multiselect standard

I added this to a profiles/misc.preseed file:

  tasksel   tasksel/first multiselect
  tasksel   tasksel/first seen false
  tasksel   tasksel/tasks multiselect
  tasksel   tasksel/tasks seen false

And then it prompted for the tasksel tasks. It only displayed standard,
which the built iso image had all the dependencies for. This might be
worth testing a bit more and fleshing out the option. There's also a
tasksel/desktop that might be needed to get the desktop profiles
enabled; not sure exactly how that works.


> fails without a mirror set up. So I'm guessing some missing packages. I'm
> trying to debug this further.

Yeah, you'll need to specify all the packages the tasksel task needs to
make sure they're on the install media.

Packages in .downloads are somewhat treated like recommends; e.g. add
them to the install media if possible, but don't fail if they aren't
available.

Overall, profiles/*.packages are used to select packages to install with
simple-cdd instead of tasksel tasks.


I had looked into being able to specify tasksel tasks many, many years
ago and it was too complicated at the time... the idea was to create
profiles/*.tasks and then it would look up the required packages and add
them to the install media. Never figured out how to do that, and it is a
bit redundant with the simple-cdd profiles. Maybe someone else has a
better idea how to implement it or the tasksel code has changed to make
it easier now?


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

Reply via email to