From 2ee78ca1ef3efe475a0ad8c39a7c401ea56be2d1 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 29 Aug 2019 14:51:06 +0200 Subject: [PATCH] /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. --- chroot-script | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- 2.1.4