Merge "allow building non-gentoo images on gentoo hosts"
This commit is contained in:
commit
3e6d658687
@ -14,8 +14,10 @@ if [ -f /usr/bin/systemctl -o -f /bin/systemctl ]; then
|
|||||||
elif [[ -f /sbin/initctl ]]; then
|
elif [[ -f /sbin/initctl ]]; then
|
||||||
echo "upstart"
|
echo "upstart"
|
||||||
elif [[ -f /etc/gentoo-release ]]; then
|
elif [[ -f /etc/gentoo-release ]]; then
|
||||||
|
if [[ -z GENTOO_PROFILE ]]; then
|
||||||
if [[ "${GENTOO_PROFILE}" =~ systemd ]]; then
|
if [[ "${GENTOO_PROFILE}" =~ systemd ]]; then
|
||||||
echo "systemd"
|
echo "systemd"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "openrc"
|
echo "openrc"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user