127 Commits

Author SHA1 Message Date
Michael Vogt
52f8a0544f - fix message
* live-build/ubuntu-core/hooks/14-set-motd.chroot:
  - update motd
2014-12-10 12:56:48 +01:00
Michael Vogt
6e90ef925e * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
- fix incorrect "echo"
  - add missing wrappers for apt, apt-cache
2014-12-08 08:44:11 +01:00
Michael Vogt
194d124af7 merged lp:~jamesodhunt/livecd-rootfs/system-image-compress-docs-for-core 2014-12-02 14:59:08 +01:00
Michael Vogt
292ff17165 * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
- improve apt-get output
2014-12-02 14:57:54 +01:00
James Hunt
c6a5d4c8a5 * live-build/ubuntu-core/hooks/10-remove-documentation.binary:
- compress remaining documentation to save further space.
2014-12-02 13:54:14 +00:00
Michael Vogt
648dc764a3 * live-build/ubuntu-core/hooks/14-set-motd.chroot:
- set snappy specific motd
* live-build/ubuntu-core/hooks/13-set-locale.chroot:
  - set default locale to C.UTF-8
2014-11-28 21:36:07 +01:00
Michael Vogt
fcfe7d613a * live-build/auto/{build,config}:
- create device-azure.tar.gz during the build that includes the
    packages for the azure cloud
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
  - display helpful message to use snappy when a user tries to use
    apt-get on a snappy system
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
  - do the device-azure.tar.gz extraction here
* live-build/ubuntu-core/hooks/12-add-docker-user.chroot:
  - ensure docker group is used
2014-11-24 08:38:21 +01:00
Michael Vogt
d6b5acbee3 * live-build/ubuntu-core/hooks/09-move-kernel-to-device-tar.binary:
- build device tarball with system/ prefix
  - include /vmlinz, /initrd.img into device tarball
  - include /boot/abi-* /boot/System.map-*
2014-11-17 11:27:24 +01:00
Michael Vogt
a618ff72fe * live-build/auto/build:
- system-image: collect the deivce.tar.gz
* live-build/ubuntu-core/hooks/09-move-kernel-to-device-tar.binary:
  - create a device.tar.gz from the installed kernel/modules and
    remove it from the rootfs
* live-build/ubuntu-core/hooks/10-remove-documentation.binary:
  - strip documentation
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
  - remove extra packages like libicu52/libqt that are still on the 
    image because vivid system-image has a dependency on u-d-m which
    depends on libqt
* live-build/ubuntu-core/hooks/12-add-docker-user.chroot:
  - add a docker user/group into the image (this can go once we have
    a hook for this)
2014-11-14 08:47:39 +01:00
Michael Vogt
6d1a165421 * live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot:
- only modify /etc/default/grub if the file exists
2014-11-03 17:13:08 +01:00
Michael Vogt
1d9ee67e4e merge fixes from the ubuntu-system-image PPA 2014-10-29 11:04:17 +01:00
Michael Vogt
026fcaffe5 merged lp:~jamesodhunt/livecd-rootfs/system-image-really-fix-resolvconf-for-ubuntu-core 2014-10-09 13:21:19 +02:00
James Hunt
3ed35d22c6 Convert resolvconf hook from a chroot hook to a binary hook since lb
overwrites /etc/resolv.conf after the chroot hooks have run.
2014-10-09 11:43:52 +01:00
Michael Vogt
505a9cfc7e add /etc/hosts 2014-10-08 13:31:09 +02:00
James Hunt
7fdb47c749 live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Remove
pre-existing /etc/resolv.conf.
2014-10-06 13:25:55 +01:00
Colin Watson
496a1d2d8e [r=cjwatson] live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot: Configure system-image-cli's client.ini for Ubuntu Core. This can be dropped once bug 1373467 is fixed. 2014-10-03 15:21:04 +01:00
James Hunt
b38f657edc live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot:
Configure system-image-cli's client.ini for Ubuntu Core. This can be
dropped once bug 1373467 is fixed.
2014-09-26 15:51:35 +01:00
James Hunt
adb0cf2c53 live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Configure
resolv.donf for Ubuntu Core.
2014-09-26 15:34:53 +01:00
Stéphane Graber
c101279ca2 Revert switch from chroot to binary as it breaks the build. 2014-08-05 13:37:10 -04:00
Stéphane Graber
fea26f371f ubuntu-core system-image: Move grub hook from chroot to binary. 2014-08-05 11:31:59 -04:00
James Hunt
5182d896dc * 03-boot_with_systemd.chroot: Check if /etc/default/grub exists
(temporary fix which to stop build failing - grub will be unconfigured
  though.
* 05-create_minimal_fstab.chroot: Configure a minimal /etc/fstab to
  allow systemd to mount the rootfs read-write.
2014-08-05 16:11:15 +01:00
James Hunt
f447fd56ed * Tweaks based on review comments. 2014-08-05 09:37:32 +01:00
James Hunt
6627b99d73 * More haste, less speed:
- Perform in-place edit.
  - Allow variable expansion.
2014-08-05 09:22:45 +01:00
James Hunt
e4719c1cfc * Use /etc/network/interfaces.d/ rather than /etc/network/interfaces. 2014-08-04 14:32:59 +01:00
James Hunt
c676a8fbac * 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.
2014-08-04 14:20:50 +01:00
James Hunt
60a334d0cf * ubuntu-core: Ensure user can use sudo. 2014-07-29 21:45:11 +01:00
James Hunt
de8c39ff98 * ubuntu-core: Run setup hooks as done for ubuntu-touch. 2014-07-29 21:21:41 +01:00