livecd-rootfs/live-build/ubuntu-core/hooks/05-create_minimal_fstab.chroot
James Hunt 5182d896dc * 03-boot_with_systemd.chroot: Check if /etc/default/grub exists
(temporary fix which to stop build failing - grub will be unconfigured
  though.
* 05-create_minimal_fstab.chroot: Configure a minimal /etc/fstab to
  allow systemd to mount the rootfs read-write.
2014-08-05 16:11:15 +01:00

7 lines
129 B
Bash
Executable File

#!/bin/sh -x
cat >>/etc/fstab<<EOT
# Minimal setup required for systemd to provide a r/w FS
/dev/root / rootfs defaults 0 0
EOT