Closed serhepopovych closed 4 years ago
In the progress. Requires total reimplementation of current profiles schema to support dependencies between profiles and make possible to get variable value from one profile in another.
Profile files are shell script executable code with "set -a" option to export all non-local variables to python interpreter process that converts them to JSON in /usr/lib/python3/dist-utils/simple_cdd.
Simple-cdd does not export currently set by previous profiles variables to environment of currently parsed profile file.
Profile file is sourced from wrapper script created dynamically by /usr/lib/dist-utils/python3/simple_cdd code.
This support already present in master branch with bugfixes and improvements as per commit e952b8c96f11 ("simple-cdd-meta/debian: Fix Debian 8 (jessie) mirror settings") and their ancestors up to the commit 4cb250139c99 ("simple-cdd-meta/debian: Rework profiles support ") where this was first implemented.
Having common to all release profiles places certain restrictions on them. One of such restriction is package naming since package might not be the same across all releases (e.g. btrfs-tools vs btrfs-progs, iproute vs iproute2, linux-pref vs linux-tools).
Additionally having option generate ISO image per specific profile/configuration capable of (re)using common profiles with additional modifications and packages could be very useful.
One of such use cases is to have ISO images for each desktop environment to install.