mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 09:21:53 +00:00
* live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot:
- only modify /etc/default/grub if the file exists
This commit is contained in:
parent
30ec04dc33
commit
6d1a165421
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.265) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot:
|
||||||
|
- only modify /etc/default/grub if the file exists
|
||||||
|
|
||||||
|
-- Michael Vogt <michael.vogt@ubuntu.com> Mon, 03 Nov 2014 17:10:57 +0100
|
||||||
|
|
||||||
livecd-rootfs (2.264) vivid; urgency=low
|
livecd-rootfs (2.264) vivid; urgency=low
|
||||||
|
|
||||||
* live-build/auto/config:
|
* live-build/auto/config:
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
# Boot using systemd and disable quiet boot
|
# Boot using systemd and disable quiet boot
|
||||||
# to see what is happening.
|
# to see what is happening.
|
||||||
systemd=/lib/systemd/systemd
|
systemd=/lib/systemd/systemd
|
||||||
[ -f /etc/default/grub ] && sed -i \
|
if [ -f /etc/default/grub ]; then
|
||||||
|
sed -i \
|
||||||
-e "s,^\\([ ]*GRUB_CMDLINE_LINUX\\)=\"\"$,\\1=\"init=$systemd\",g" \
|
-e "s,^\\([ ]*GRUB_CMDLINE_LINUX\\)=\"\"$,\\1=\"init=$systemd\",g" \
|
||||||
-e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \
|
-e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \
|
||||||
/etc/default/grub
|
/etc/default/grub
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user