Don't generate rootfs entry in /etc/fstab if we don't know its UUID [Closes: issue2182]
authorMichael Prokop <mika@grml.org>
Wed, 25 Jan 2017 23:46:41 +0000 (00:46 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 25 Jan 2017 23:46:41 +0000 (00:46 +0100)
commit622fa874a2ecc04fec77cbb455419f4618112f9e
treeceb6d74b18255ccee99c1d87e74ae798e99fdb89
parentfdf85c677ecb6c0f5d059db862cd9d0511c7e865
Don't generate rootfs entry in /etc/fstab if we don't know its UUID [Closes: issue2182]

With a command line like:

  grml-debootstrap --grub /dev/sda -t /media/sda1 ...

the resulting fstab gets:

  /media/sda1 /  auto    defaults,errors=remount-ro 0   1

which is for sure unwanted. So don't such an entry in the fstab
if we lack details about the underlying rootfs and instead warn
the user that this *might* be a problem.
chroot-script