mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-10 19:01:13 +00:00
Merge grub and fstab fixes from James
This commit is contained in:
commit
294634fc74
@ -3,7 +3,7 @@
|
||||
# Boot using systemd and disable quiet boot
|
||||
# to see what is happening.
|
||||
systemd=/lib/systemd/systemd
|
||||
sed -i \
|
||||
[ -f /etc/default/grub ] && sed -i \
|
||||
-e "s,^\\([ ]*GRUB_CMDLINE_LINUX\\)=\"\"$,\\1=\"init=$systemd\",g" \
|
||||
-e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \
|
||||
/etc/default/grub
|
||||
|
6
live-build/ubuntu-core/hooks/05-create_minimal_fstab.chroot
Executable file
6
live-build/ubuntu-core/hooks/05-create_minimal_fstab.chroot
Executable file
@ -0,0 +1,6 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user