tmptfs and haveged bits are for HW only
These changes are only needed on physical hardware there we don't have enough memory and potentially RNG. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
f37c684e84
commit
5234af45ee
@ -341,12 +341,14 @@ enabled=0
|
||||
gpgcheck=0
|
||||
EOF
|
||||
|
||||
if [[ "$kiwi_profiles" == *"RISCVServer"* ]]; then
|
||||
# Disable tmpfs for /tmp
|
||||
# Most boards don't have a lot of RAM.
|
||||
systemctl mask tmp.mount
|
||||
|
||||
# We most likely don't have HW random number generator
|
||||
systemctl enable haveged.service
|
||||
fi
|
||||
|
||||
# Update login message
|
||||
cat << EOF | tee /etc/issue /etc/issue.net
|
||||
|
Loading…
x
Reference in New Issue
Block a user