From: Michael Prokop Date: Thu, 29 Aug 2019 12:51:06 +0000 (+0200) Subject: /etc/fstab: provide header comment, pointing to man pages and systemctl daemon-reload X-Git-Tag: v0.90~3^2 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=2ee78ca1ef3efe475a0ad8c39a7c401ea56be2d1 /etc/fstab: provide header comment, pointing to man pages and systemctl daemon-reload Inspired by Marc Haber's bug report #936050 and what Fedora does with their anaconda installer. --- diff --git a/chroot-script b/chroot-script index 68514e0..b47e31e 100755 --- a/chroot-script +++ b/chroot-script @@ -470,8 +470,18 @@ timezone() { # helper function for fstab() {{{ createfstab(){ echo "Setting up /etc/fstab" + cat > /etc/fstab < /etc/fstab + echo "/dev/disk/by-uuid/${TARGET_UUID} / auto defaults,errors=remount-ro 0 1" >> /etc/fstab else echo "Warning: couldn't identify target UUID for rootfs, your /etc/fstab might be incomplete." fi