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 Terry
538192d3f4
Make a variable because Saviq likes variables
2016-02-01 11:03:20 -05:00
Michael Terry
39eb02ea86
Use Ubuntu as phablet user's real name
2016-02-01 10:57:32 -05:00
Łukasz 'sil2100' Zemczak
0011e92391
Fix the invalid path for the error message in 00-uid-gid-fix.chroot_early for ubuntu-touch.
2015-12-14 10:15:51 +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
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