110 Commits

Author SHA1 Message Date
Michael Vogt
8a5032e26e live-build/ubuntu-core/hooks/500-create-xdg-wrapper: rename to com.canonical.UrlLauncher 2016-05-13 13:16:09 -07:00
Oliver Grawert
56e798bcbd add u-boot-tools to all snappy arches, drop flash-kernel from snappy, create /boot/uboot dir on all snappy arches and configure /etc/fw_env.config 2016-05-13 21:06:41 +02:00
Michael Vogt
d436f951c3 system-image: add /usr/local/bin/xdg-open dbus helper 2016-05-13 11:43:15 -07:00
Oliver Grawert
62b25a47f2 kill the snappy os build if the initramfs-tools-ubuntu-core package is not found 2016-04-10 17:27:32 +02:00
Oliver Grawert
4d25373897 live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot create a generic initrd inside the snappy os-snap 2016-04-07 18:57:07 +02:00
Oliver Grawert
24d78ecf5f fix cloud-init breaking snappy networking on boot (LP: #1563296) 2016-04-01 16:34:02 +02:00
Oliver Grawert
16f26af920 make the /etc/mtab link relative in snappy (LP: #1547033) 2016-03-24 13:28:08 +01:00
Oliver Grawert
66c472388c move mtab link to point to /proc/self/mounts instead of /proc/mounts in snappy images 2016-03-22 13:19:21 +01:00
Oliver Grawert
4bf82391aa add /var/lib/systemd/rfkill to pre-created snappy dirs 2016-02-18 14:43:46 +01:00
Steve Langasek
83d2176957 chroot hooks are special, they don't get the environment because it gets scrubbed by rootcmd; so we have to call dpkg --print-architecture after all 2016-02-06 02:38:21 -08:00
Steve Langasek
7ec8dd87ac Fix architecture handling in hooks. We know we're always being invoked
from a launchpad-buildd-like setup, which passes ARCH and SUBARCH in the
environment, because auto/config and auto/build both rely on this.  So
don't scatter dpkg --print-architecture calls throughout, especially
when many of these are not cross-build-aware.
2016-02-05 23:39:56 -08:00
Michael Vogt
51a5cca323 * ubuntu-core:
- include the dpkg.list in the device tarball
  - store /usr/share/snappy/dpkg.list manifest on the OS tarball
2016-01-28 18:27:36 +01:00
Michael Vogt
9a3b3d6280 * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- remove libicu52 hook
2016-01-08 22:51:54 +01:00
Łukasz 'sil2100' Zemczak
05f661be29 Fix earlier mistake of changing the wrong hashes. 2015-12-14 10:02:56 +01:00
Łukasz 'sil2100' Zemczak
bcfda67527 Update the passwd/shadow db hashes on ubuntu-touch builds 2015-12-14 09:45:06 +01:00
Oliver Grawert
1124ea4776 also add the new apt user to /etc/passwd in snappy 2015-12-11 17:35:38 +01:00
Oliver Grawert
499779097f update /etc/shadow on snappy for new apt user 2015-12-11 12:06:03 +01:00
Oliver Grawert
ef219ff9ee configure /etc/fw_env.config for all arm arches on snappy 2015-12-10 15:05:29 +01:00
Oliver Grawert
93f112e8e8 make sure the default group is still created when adding the default user to adm and sudo groups 2015-12-08 16:38:27 +01:00
Michael Vogt
fb84e38cf2 * live-build/ubuntu-core/hooks/01-setup_user.chroot:
- add default ubuntu user to "adm" and "sudo" groups
2015-12-07 11:09:35 +01:00
Oliver Grawert
7ccc9cb706 fix input group on snappy 2015-11-13 12:53:12 +01:00
Oliver Grawert
5bc78bede3 add raspi2 device tarball creation. separate snappy device tarball builds completely from the rootfs. drop old way of in-tree device tarball creation for snappy 2015-11-10 12:30:27 +01:00
Oliver Grawert
b632fd0492 drop input group from snappy images, adjust md5 sums in live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early 2015-11-09 12:54:30 +01:00
Michael Vogt
46d1138e5a * live-build/ubuntu-core/hooks/21-snappy-security-policy-stamp.chroot:
- create a /usr/share/snappy/security-policy-version so that
    snappy can re-generate the security profiles if any of the versions
    of apparmor or ubuntu-core-security-* changes
2015-11-04 08:46:50 +01:00
Oliver Grawert
81edee0431 fix handling of writable files in /etc/default for snappy 2015-10-29 13:02:16 +01:00
Oliver Grawert
952fa460d4 fix tss UID in snappy (landing can wait for xenial) 2015-10-22 11:36:49 +02:00
Oliver Grawert
0054a24f90 limit grub-install diversion on snappy images to x86 architectures 2015-10-09 12:54:00 +02:00
Oliver Grawert
cc7950e55c divert grub-install on snappy images during rootfs build 2015-10-09 12:45:28 +02:00
Oliver Grawert
8d737ad1c9 add user/group fixes for snappy shipping tpm-tools 2015-09-30 11:24:48 +02:00
Oliver Grawert
6813f1c965 add empty "extrausers" equivalents for subuid and subgid files, else adduser falls over in interactive mode when trying to write to them 2015-09-09 13:30:45 +02:00
Oliver Grawert
20ccbbb944 releasing package livecd-rootfs version 2.340 2015-09-03 14:25:57 +02:00
Michael Vogt
c2407a6679 * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- cleanup further after moving the kernel out of the rootfs
    (LP: #1468469)
2015-08-26 13:12:20 +02:00
Oliver Grawert
23341f3670 add dnsmasq user to snappy builds, needed by ubuntu-fan 2015-07-28 10:49:20 +02:00
Michael Vogt
133addd590 live-build/ubuntu-core/hooks/16-ensure-uboot.chroot: we need to go into redundEnv mode to get the 5byte header that uboot uses by default, don't ask why 2015-07-16 15:58:16 +02:00
Michael Vogt
4d2b68630d its /etc/fw_env.config 2015-07-16 15:22:20 +02:00
Michael Vogt
b3b321ea92 create fw_env.conf on armhf so that fw_{set,print}env works 2015-07-16 12:33:47 +02:00
Oliver Grawert
0d7da3cc2c merge lp:~sergiusens/livecd-rootfs/eth0Not to not hardcode eth0 anymore on snappy 2015-07-09 16:42:52 +02:00
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