enable systemd profile for Gentoo
Change-Id: Id3ac1d97b280f10f9938a60c4871d08f59b85002
This commit is contained in:
parent
a49f4c3a37
commit
cfa7935e43
@ -55,3 +55,8 @@ if [[ -a /usr/sbin/grub2-install ]]; then
|
||||
fi
|
||||
|
||||
unfix_shm
|
||||
|
||||
# systemd id
|
||||
if [[ "${GENTOO_PROFILE}" == *"systemd"* ]]; then
|
||||
cp /dev/null /etc/machine-id
|
||||
fi
|
||||
|
@ -51,12 +51,16 @@ elif [[ "${GENTOO_PROFILE}" == "default/linux/amd64/17.0/hardened" ]]; then
|
||||
elif [[ "${GENTOO_PROFILE}" == "default/linux/amd64/17.0/no-multilib/hardened" ]]; then
|
||||
FILENAME_BASE='gentoo-stage4-hardened-nomultilib'
|
||||
SIGNED_SOURCE_SUFFIX='hardened+minimal-nomultilib'
|
||||
elif [[ "${GENTOO_PROFILE}" == "default/linux/amd64/17.0/systemd" ]]; then
|
||||
FILENAME_BASE='gentoo-stage4-systemd'
|
||||
SIGNED_SOURCE_SUFFIX='systemd'
|
||||
else
|
||||
echo 'invalid profile, please select from the following profiles'
|
||||
echo 'default/linux/amd64/17.0'
|
||||
echo 'default/linux/amd64/17.0/no-multilib'
|
||||
echo 'default/linux/amd64/17.0/hardened'
|
||||
echo 'default/linux/amd64/17.0/no-multilib/hardened'
|
||||
echo 'default/linux/amd64/17.0/systemd'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user