110 Commits

Author SHA1 Message Date
Michael Vogt
c10fd7dd72 * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- fix typo in hardware.yaml
2015-04-29 14:43:44 +02:00
Michael Vogt
e0b6feda6c create /boot/uboot on armhf to ensure that its in the system
tarball and still on the system if ubuntu-core-upgrader
performs a "format" (LP: #1447652)
2015-04-28 16:39:53 +02:00
Steve Langasek
72b1fda00f live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: revert
removal of python from the rootfs temporarily, since we've manually
re-added it to the seed in order to make walinuxagent work again on the
azure image.
2015-04-22 16:03:37 -07:00
Adam Conrad
34e34e46c5 Fix snappy motd to not reference 'development', which isn't always true. 2015-04-17 13:29:50 -06:00
Michael Vogt
65cf994497 live-build/ubuntu-core/hooks/15-remove-grub-common.chroot: remove /etc/init.d/grub-common on ubuntu-core 2015-04-14 16:33:06 -05:00
Michael Vogt
df931c05f7 fix device.tar.gz generation for snappy 2015-04-08 19:35:42 +02:00
Michael Vogt
9b056c874a live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: update for the new syslog user 2015-03-27 20:21:44 +01:00
Michael Vogt
78304debb8 live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot: removed, no longer needed with snappy-go 2015-03-27 19:28:14 +01:00
Michael Vogt
c82069baf6 add compability handling for current u-d-f/grub when extracting
the device tarball
2015-03-26 15:43:09 +01:00
Michael Vogt
2b070c5a9e merged lp:~snappy-dev/livecd-rootfs/core_update and added some fixes 2015-03-25 19:39:28 +01:00
Michael Vogt
4e89d09ba2 * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- remove libpython2.7 and friends as welll
2015-03-10 12:23:08 +01:00
Michael Vogt
d2e794ed53 * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- updated md5sums as the ordering of users/groups has changed with
    the new systemd-sysv
2015-03-10 11:47:36 +01:00
Michael Vogt
1583b1d23a * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- python2 is no longer required on a snappy system
2015-03-10 11:31:09 +01:00
Michael Vogt
685606051e do not leave some packages in ^rc state on snappy/ubuntu-core
(LP: #1428115). Thanks to Daniel Holbach
2015-03-04 16:25:29 +01:00
Sergio Schvezov
d17765176b Initial implementation of device tarball 2015-02-18 22:29:31 -03:00
Michael Vogt
306dbdbbab * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- adjust the {group,gshadow}_bootstrap values. The audio group
    used to be gid 1005 after the bootstrap and is now 29.
2015-02-12 13:33:33 +01:00
Michael Vogt
7c61ea6307 add even more verbose output to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
2015-02-12 11:33:28 +01:00
Michael Vogt
f987c6f3d4 add more verbose output to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
2015-02-11 17:44:08 +01:00
Loïc Minier
1b037f5e20 live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot: use commas
instead of spaces.
2015-02-04 18:03:30 +01:00
Loïc Minier
4a1ccc7b13 Revert changes to post-debootstrap hashes for core. 2015-02-04 16:32:35 +01:00
Loïc Minier
95e9f1d8e8 Update post-debootstrap hashes in
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early.
2015-02-04 14:25:02 +01:00
Loïc Minier
29c976b326 Core: drop live-build/ubuntu-core/hooks/12-add-docker-user.chroot and move
docker user creation to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early; add ubuntu user
to docker group in
live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot. This fixes
static uid/gid maps for docker user/group.
2015-02-04 14:24:19 +01:00
Loïc Minier
ebb7684dd8 Add live-build/ubuntu-core/hooks/99zz-check-uid-gid.chroot, copy of
live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot with just the
error message changed. Currently, the passwd/group checks weren't run.
2015-02-04 13:46:17 +01:00
Loïc Minier
4b414c06a6 Reapply changes from 1033..1038; fix conflict in changelog.
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: add new "input"
  group to etc/group and etc/gshadow static maps.
* live-build/ubuntu-core/includes.chroot/etc/resolv.conf: use relative
  symlink as suggested by lintian.
* Bump Standards-Version to 3.9.6.
2015-02-04 13:32:24 +01:00
Loïc Minier
5f8355200a Revert to r1033 to apply uncommitted upload. 2015-02-04 13:28:43 +01:00
Loïc Minier
b2ef67476a live-build/ubuntu-core/includes.chroot/etc/resolv.conf: use relative
symlink as suggested by lintian.
2015-02-04 13:21:30 +01:00
Loïc Minier
9256eed5b5 live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: add new "input"
group to etc/group and etc/gshadow static maps.
2015-02-04 13:15:30 +01:00
Loïc Minier
94a5c45de1 Remove quotes in <<'EOF' constructs to limit the diff with the -touch version
of the hook.
2015-02-04 13:12:04 +01:00
Michael Vogt
f786a86cb2 * live-build/ubuntu-core/hooks/01-setup_user.chroot:
- run chpasswd after user moved into /var/lib/extrausers
2015-01-16 19:58:11 +01:00
Michael Vogt
e226eb6331 * live-build/ubuntu-core/hooks/01-setup_user.chroot:
- run with -e
2015-01-16 18:29:19 +01:00
Steve Langasek
6d34c7a9e9 live-build/ubuntu-core/hooks/04-configure_network.chroot: use
'allow-hotplug' for the network config, not 'auto', to work around
systemd behavior that causes 'auto' to delay the rest of the boot when
DHCP is not available on the network.
2015-01-14 22:53:01 -08:00
Michael Vogt
d1b1d9e6c1 * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- port static uid/gid setup from ubuntu-touch
* live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot:
  - byte compile .pyc files for snappy
2015-01-14 18:04:34 +01:00
Michael Vogt
b1c0d77000 * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- port static uid/gid setup from ubuntu-touch
2015-01-07 15:09:42 +01:00
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