112 Commits

Author SHA1 Message Date
Łukasz 'sil2100' Zemczak
3b7c4b69f4 Fix the previous apt list removal hook. This hook needs to be .binary as otherwise we're still left with apt lists when the image is published. 2015-11-24 12:25:37 +01:00
Łukasz 'sil2100' Zemczak
2a0b654138 Upgrade passwd, group and gshadow hashes for latest builds. 2015-11-16 14:29:11 +01:00
Łukasz 'sil2100' Zemczak
0bceb09c4b The apt lists removal hook needs to be for the binaries. 2015-10-01 16:25:05 +02:00
Łukasz 'sil2100' Zemczak
47d0469af5 Add hook that removes all apt lists for ubuntu-touch images. Our apport now works without them on the read-only images and this way we can save up some space. 2015-09-22 10:20:26 +02:00
Iain Lane
5f8d6e06de live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie
too. (LP: #1437633)
2015-09-10 12:22:27 +01: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
5d6faa5c6f ubuntu-touch, ubuntu-desktop-next: drop systemd-journal-remote from group files, update md5sums in 00-uid-gid-fix.chroot_early 2015-09-09 13:21:32 +02:00
Oliver Grawert
93deed0c3a revert the debugging code in the apparmor cache generation, touch the cache files to sanitize the timestamps 2015-08-12 12:16:58 +02:00
Oliver Grawert
ec1b6f24ae add the apparmor-super-noise change to get extra detailed info about all apparmor operations in the ubuntu-touch build logs 2015-08-11 18:21:29 +02:00
Oliver Grawert
3f8e2ee18e make apparmor profile generation more verbose to get more log info 2015-08-11 11:29:59 +02:00
Łukasz 'sil2100' Zemczak
cb31811ce8 Split out the youtube scope to the custom tarball since some images can't have it pre-installed (e.g. arale China images). 2015-06-30 14:44:48 +02:00
Oliver Grawert
2667aa6305 allow install of "multi" click packages in 60-install-click.chroot on ubuntu-touch 2015-06-19 10:43:49 +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
Oliver Grawert
2445352cbd bump all md5sums to new values, now that debootstrap installs systemd-sysv instead of upstart the ordering and thus the group numbering has changed 2015-03-10 12:07:38 +01:00
Oliver Grawert
a2b1b4f071 put FLASH_KERNEL_SKIP=true into /etc/environment on phones 2015-03-06 21:17:30 +01:00
Oliver Grawert
6d7d128ad7 add info about /var/log ownership so it ends up in the ubuntu-touch build logs 2015-03-03 15:14:02 +01:00
Oliver Grawert
d2f09a32d8 make sure /var/log is always owned by the syslog group on touch 2015-02-18 15:06:46 +01:00
Ricardo Salveti de Araujo
a353cd0406 touch: removing dependencies on a specific mir platform driver as mir can
now identify and load the correct driver during runtime
2015-02-12 02:53:28 -02:00
Oliver Grawert
74becdec36 bump gshadow hash too 2015-02-11 21:08:31 +01:00
Oliver Grawert
ec8c53b265 make sure to collect all output of all changed files in one go in 00-uid-gid-fix.chroot_early, that way we only need to fix it once and have all info in the logs 2015-02-11 18:27:19 +01:00
Oliver Grawert
aa06a4fde7 update the passwd hash for changed GID of syslog ... also add output of the respective md5sums to the error message for easier debugging 2015-02-11 16:47:51 +01:00
Oliver Grawert
f74887c91e add more verbose output to live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early 2015-02-11 15:11:28 +01:00
Loïc Minier
9bda91ee77 live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early: also add input
group.
2015-02-04 13:47:41 +01:00
Ricardo Salveti de Araujo
0ba451f9df Bump the hardcoded libmirplatform driver version for ubuntu-touch 2015-01-14 13:32:27 -02:00
Oliver Grawert
6b2958ff7a add systemd-journal-remote group to touch builds 2014-12-02 10:21:23 +01:00
Oliver Grawert
f0ec33bb1b bump version of mir alternative in ubuntu-touch 2014-11-27 12:38:17 +01:00
Steve Langasek
1bec61e622 Move the shorts click package to the custom tarball. LP: #1386177. 2014-11-12 23:17:16 -08:00
Oliver Grawert
3bf1ea2cb3 add systemd users to touch password db files 2014-10-29 19:55:45 +01:00
Oliver Grawert
5dc7bbd2ab make diff not exit 1 when comparing password files 2014-10-29 16:45:54 +01:00
Oliver Grawert
71df9bb84e properly redirect error output in 99zz-check-uid-gid.chroot so it ends up in the log files 2014-10-29 13:23:28 +01:00
Oliver Grawert
00daad436c adjust /etc/{passwd|shadow|group|gshadow} handling in ubuntu-touch for more info so the log gets all needed data for necessary changes at once 2014-10-29 09:54:52 +01:00
Colin Watson
e74d0c509b Drop the click packages moved in 2.255 from the rootfs, leaving them
only in the custom tarball.
2014-10-15 21:07:28 +01:00
Colin Watson
ee2b82dfe7 Fix directory layout of custom tarball. 2014-10-15 17:12:19 +01:00
Colin Watson
b41729958a Clean up duplicate AppArmor cache entries between rootfs and custom. 2014-10-13 20:11:42 +01:00
Colin Watson
f4589e7c31 Fix linking of manifest into /custom/lib/apparmor/clicks/. 2014-10-13 20:08:50 +01:00
Colin Watson
68e78ecd52 Fix manifest_tail computation. 2014-10-13 18:41:23 +01:00
Colin Watson
448c8f9fc0 Rearrange AppArmor policy precompilation to handle a click package being in multiple locations. 2014-10-13 16:51:48 +01:00
Colin Watson
95c970f52f Take a different approach to working around deduplication cleverness in click, this time hopefully without breaking hooks. 2014-10-13 16:29:52 +01:00
Colin Watson
5d707813f0 Move default click database configuration aside while installing click packages, otherwise click gets clever and stops us installing things into multiple databases. 2014-10-13 14:22:41 +01:00
Colin Watson
a10e22f77b Temporarily install the to-be-moved click packages in both core and
custom databases, to simplify the landing process.
2014-10-13 12:48:04 +01:00
Colin Watson
b47dbe69a7 merge trunk 2014-10-13 12:46:00 +01:00
Colin Watson
5407721469 sort by package name 2014-10-13 12:44:01 +01:00
Oliver Grawert
908891a41a ubuntu-touch: make sure we force the android alternative for libmir*- packages, in case their -mesa equivalent is installed by accident 2014-10-11 13:13:13 +02:00
Steve Langasek
23f92bce16 Whoops, fix the directory inclusion 2014-10-10 07:26:06 +00:00
Steve Langasek
b423980cd5 Make sure the apparmor profiles and manifests end up in the custom directory, not in the rootfs 2014-10-10 07:18:52 +00:00
Steve Langasek
138465c476 Add support to the ubuntu-touch target to generate a separate custom
tarball as part of the build, moving most click packages into it.
2014-10-10 00:11:26 -07:00
Stéphane Graber
83120c758c Pre-create some home directories 2014-09-26 14:41:13 -04:00
Stéphane Graber
9caf7cafdd * Add two new hooks for Ubuntu Touch to setup sensible /etc/passwd,
/etc/shadow, /etc/group and /etc/gshadow PRIOR to package installation
  to guarantee user/group ordering on the image and then to check for any
  unexpected change to those files. (LP: #1332538)
  Any change to either the initial set of users and groups or to the
  post-package-install set will now be fatal to the image and will require
  a manual update of the hardcoded user/group list contained in this new
  chroot_early hook.
* Bump dependency on live-build accordingly.
* Update the setup_user hook to also take care of gshadow.
2014-09-24 10:58:50 +01:00
Colin Watson
e76df6e4ce Substitute DEB_HOST_MULTIARCH into hook scripts at build time, rather
than relying on dpkg-architecture (which is in dpkg-dev) to be present
in the image.
2014-09-23 16:07:29 +01:00