diff --git a/debian/changelog b/debian/changelog index 4d353443..40740b29 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +livecd-rootfs (2.234) UNRELEASED; urgency=medium + + [ James Hunt ] + * ubuntu-core: + - Don't remove doc to be kind to devs. + - Boot with systemd (temporary method until we have systemd-sysv). + - Configure first network interface. + + -- Colin Watson Mon, 04 Aug 2014 15:58:27 +0200 + livecd-rootfs (2.233) utopic; urgency=medium [ Colin Watson ] diff --git a/live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot b/live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot new file mode 100755 index 00000000..d8f4c7db --- /dev/null +++ b/live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot @@ -0,0 +1,9 @@ +#!/bin/sh -x + +# Boot using systemd and disable quiet boot +# to see what is happening. +systemd=/lib/systemd/systemd +sed \ + -e 's,^\([ ]*GRUB_CMDLINE_LINUX\)=""$,\1="init=$systemd",g' \ + -e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \ + /etc/default/grub diff --git a/live-build/ubuntu-core/hooks/04-configure_network.chroot b/live-build/ubuntu-core/hooks/04-configure_network.chroot new file mode 100755 index 00000000..745372ad --- /dev/null +++ b/live-build/ubuntu-core/hooks/04-configure_network.chroot @@ -0,0 +1,9 @@ +#!/bin/sh -x + +if=eth0 + +# Manually configure the first ethernet device +cat >/etc/network/interfaces.d/"$if"< -# Date : November 9, 2010 - -echo "Removing documentation..." -find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true -find /usr/share/doc -empty|xargs rmdir || true -rm -rf /usr/share/man /usr/share/groff /usr/share/info /usr/share/lintian /usr/share/linda /var/cache/man