123 Commits

Author SHA1 Message Date
Oliver Grawert
572da9cdec fix another quoting issue in snappy 2015-07-09 12:12:48 +02:00
Oliver Grawert
0805723ed1 fix quoting issue with the last change 2015-07-08 22:51:49 +02:00
Sergio Schvezov
fac57fb6c6 Using versioned kernel and initrd for generating assets and removing uneeded files from the device part 2015-07-08 11:45:39 -03:00
Oliver Grawert
68b8470200 snappy: install libc6:i386 on amd64 images for multiarch support out of the box. (LP: #1444049) 2015-07-07 11:51:03 +02:00
Sergio Schvezov
3b4f42857b Removing creation of eth0 file now that it is not deterministic to be the ethernet device on the system 2015-07-03 16:34:42 -03:00
Michael Vogt
bec5e3ea81 rename clickpkg -> snappypkg 2015-06-26 14:01:02 +01:00
Sergio Schvezov
6c641f01d2 [ Sergio Schvezov ]
removing debian packaging artifacts from the image
2015-06-26 10:43:00 +02:00
Sergio Schvezov
c3b8dc32b1 Remove walinuxagent 2015-06-25 08:36:42 -03:00
Sergio Schvezov
53dcbdad2b Removing debian assets from the final image 2015-06-23 16:31:41 -03:00
Sebastien Bacher
1116e3b439 * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary,
live-build/ubuntu-desktop-next/hooks/500-move-kernel-to-device-tar.binary,:
  - deal with vmlinuz .signed when copying kernels
2015-06-11 17:52:29 +02:00
Michael Vogt
7245efa89f * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- ignore /vmlinu?, /initrd.img symlinks when building the boot assets
2015-06-09 11:19:31 +02:00
Michael Vogt
89dddd357a revert r1120,r1121 and do not pre-generate the apparmor cache during live-build 2015-06-04 22:55:30 +02:00
Michael Vogt
293cd5e802 live-build/ubuntu-core/hooks/90_precompile-apparmor.chroot: remove apparmor_parser '-M' option 2015-06-01 16:50:01 +02:00
Michael Vogt
605fec8877 * live-build/ubuntu-core/hooks/90_pecompile-apparmor.chroot:
- generate /etc/apparmod.d/cache files during image build to
    avoid out-of-sync issue with profiles and cache (LP: #1460152)
2015-06-01 12:54:27 +02:00
Oliver Grawert
6a4ad0b3bc also add /lib/firmware to the dirs we pre-create on touch and core 2015-05-28 13:19:38 +02:00
Oliver Grawert
f8ad795e55 create mtab, /lib/modules and writable mountpoints on touch and core 2015-05-28 12:26:30 +02:00
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
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