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..56440fc3 --- /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 < -# 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