prepare-root.sh: remove hostname from factory

This commit is contained in:
Harald Hoyer 2018-09-18 12:20:32 +02:00
parent a6973aa806
commit ccaedc86b9

View file

@ -403,7 +403,6 @@ sed -i -e 's#ReadWritePaths=/etc#ReadWritePaths=/cfg#g' \
"$sysroot"/lib/systemd/system/systemd-hostnamed.service "$sysroot"/lib/systemd/system/systemd-hostnamed.service
cat >> "$sysroot"/usr/lib/tmpfiles.d/00-basics.conf <<EOF cat >> "$sysroot"/usr/lib/tmpfiles.d/00-basics.conf <<EOF
C /cfg/hostname - - - - -
C /cfg/vconsole.conf - - - - - C /cfg/vconsole.conf - - - - -
C /cfg/locale.conf - - - - - C /cfg/locale.conf - - - - -
C /cfg/localtime - - - - - C /cfg/localtime - - - - -