allow building of Gentoo images for non-systemd profiles
Change-Id: I61e3ba391eaaf9b300f88b082c03116388401ba3
This commit is contained in:
parent
6f1b51627f
commit
87e7f7b869
@ -22,4 +22,8 @@ for (( i=0; i<${#GENTOO_EMERGE_ENV[@]}; i++ )); do
|
|||||||
eval export "${GENTOO_EMERGE_ENV[i]}"
|
eval export "${GENTOO_EMERGE_ENV[i]}"
|
||||||
done
|
done
|
||||||
|
|
||||||
export DIB_INIT_SYSTEM=systemd
|
if [[ "${GENTOO_PROFILE}" == *"systemd"* ]]; then
|
||||||
|
export DIB_INIT_SYSTEM=${DIB_INIT_SYSTEM:-'systemd'}
|
||||||
|
else
|
||||||
|
export DIB_INIT_SYSTEM=${DIB_INIT_SYSTEM:-'openrc'}
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user