64studio / dibby

Generate Custom Debian images for your embedded projects
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Package groups as tasks #7

Closed obbardc closed 5 years ago

obbardc commented 5 years ago

Packages currently are installed in the project postinst script which is not ideal.

obbardc commented 5 years ago

The script tasks/1000_openssh-server.sh should be run if the task openssh-server has been selected, for instance.

danielhjames commented 5 years ago

So the config file would specify the tasks for the active project? I like this idea, as we could potentially host a large number of tasks within the dibby project without bloating the target images.

obbardc commented 5 years ago

Exactly, the config file for a project now has CONFIG_CUSTOM_TASKS="openssh-server xorg" and a separate script for each task in the task directory.

The bootstrap directory contains the minimal installation of the system.

obbardc commented 5 years ago

All done, just left to make some tasks!