Use container profile when selecting image identity defaults
This commit is contained in:
parent
1ed3d43613
commit
13a6644e6c
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ printf '%s\n' "$snapshot" > /job/core/usr/lib/archipelago/snapshot
|
|||
# Machine defaults are instantiated from the package, separate from package files.
|
||||
rm -f /job/core/etc/os-release
|
||||
cp /job/core/usr/lib/archipelago/defaults/os-release /job/core/etc/os-release
|
||||
if [[ $profile == gnome-probe ]]; then
|
||||
if [[ $ARCHIPELAGO_BUILD_PROFILE == gnome-probe ]]; then
|
||||
cp /job/core/usr/lib/archipelago/defaults/os-release-gnome /job/core/etc/os-release
|
||||
fi
|
||||
printf 'archipelago\n' > /job/core/etc/hostname
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue