* 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.
ubuntu/yakkety
James Hunt 11 years ago
parent d399ddf106
commit c676a8fbac

@ -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

@ -0,0 +1,9 @@
#!/bin/sh -x
if=eth0
# Manually configure the first ethernet device
cat <<EOT |tee -a /etc/network/interfaces
auto $if
iface $if inet dhcp
EOT

@ -1,11 +0,0 @@
#!/bin/bash
# remove-documentation: Remove unnecessary documentation to reduce disk usage
#
# Author: Alex Chiang <achiang@canonical.com>
# 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
Loading…
Cancel
Save