146 Commits

Author SHA1 Message Date
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
Ricardo Salveti de Araujo
79e38ec819 Updating apparmor features file for Ubuntu Touch 2014-09-22 23:59:50 -03:00
Michael Terry
f233caeab8 * live-build/ubuntu-touch/hooks/01-setup_user.chroot:
- Don't modify PAM files directly, we'll let ubuntu-touch-session
    do that for us the proper way.  (LP: #1348637)
2014-08-13 17:20:41 -04:00
Steve Langasek
edbb9763c7 Merge lp:~mterry/livecd-rootfs/no-password 2014-07-24 15:49:46 -07:00
Michael Terry
a1e5f63805 Enable libnss-extrausers 2014-07-18 15:28:44 -04:00
Oliver Grawert
307c451da1 drop extra space in DEFGROUPS variable 2014-07-16 20:33:48 +02:00
Oliver Grawert
fafbf13abb add android_cache group and add phablet user to it 2014-07-16 14:17:30 +02:00
Ricardo Salveti de Araujo
629433d3c4 Precompiling apparmor policies on touch 2014-07-15 17:35:28 -03:00
Michael Terry
422787d8ff and allow minimum length of 4 2014-07-08 10:21:58 -04:00
Michael Terry
28f16fd7d6 Allow weak passwords 2014-07-08 09:36:10 -04:00
Michael Terry
6821cae1d7 Set password to blank rather than the arbitrary 'phablet' 2014-07-03 15:33:55 -04:00
Ricardo Salveti de Araujo
e50449a994 Adding android_nvram group to the touch image 2014-06-30 00:13:04 +04:00
Oliver Grawert
aaae8194af add media group to touch images 2014-06-27 16:32:05 +02:00
Oliver Grawert
7e6b25ddf3 drop the initscripts hack again 2014-05-30 13:27:39 +02:00
Oliver Grawert
09573cf33c make 70-reconfigure-autopilot.chroot hook executable 2014-05-30 10:47:59 +02:00
Oliver Grawert
17d7b3823b add live-build/ubuntu-touch/hooks/85-hack-hack-hack-the-initscripts.chroot as a quick hack to get writability back on the phone images ... THIS IS TEMPORARY 2014-05-30 10:47:20 +02:00
Colin Watson
807ee32efc live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test
for whether a package is installed, and check for both python-autopilot
and python3-autopilot.
2014-05-16 13:05:03 +01:00
Ricardo Salveti de Araujo
fdf26caffd touch/80-enable-libhybris.chroot: making libhybris the default alternatives
for EGL/GLESv2 on touch
2014-03-18 21:05:48 -03:00
Ricardo Salveti de Araujo
84262b6f94 touch/48-setup-env.chroot: QML2_IMPORT_PATH should respect
DEB_HOST_MULTIARCH (as we now have i386 builds as well)
2014-02-18 23:52:04 -03:00
Chris Wayne
4b74aba181 only touch /etc/writable/machine-info 2014-01-20 09:22:18 -05:00
Chris Wayne
a28790c6f9 Touch file if it doesnt exist 2014-01-20 09:06:16 -05:00
Chris Wayne
2cc7d04ffd live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add hostname to the list of writable files 2014-01-13 23:55:13 -05:00
Chris Wayne
03764235e8 live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add /etc/machine-info to /etc/writable, which allows user to change the bluetooth device name by setting PRETTY_HOSTNAME 2014-01-06 12:06:39 -05:00
Oliver Grawert
da3e3e4168 fix quoting in click installer egrep call 2013-11-26 16:43:06 +01:00
Oliver Grawert
68d3bbf11f make the click package installation check for proper architecture 2013-11-26 15:16:05 +01:00
Sergio Schvezov
51a8beab46 Removing the PPAs for Ubuntu Touch builds. 2013-10-14 19:20:51 -03:00
Oliver Grawert
43f65991b4 drop SHELL=/system/bin/sh from /etc/environment on touch images 2013-10-11 17:31:20 +02:00
Martin Pitt
f61be85fdc ubuntu-touch: Make writable symlinks relative. 2013-09-30 13:59:57 +02:00
Martin Pitt
3e85549e36 do not handle /etc/adjtime, it should not be in phone builds altogether 2013-09-30 09:35:08 +02:00
Martin Pitt
7e84ea20c6 ubuntu-touch: Add 03-etc-writable.chroot hook to move/symlink files in
/etc to /etc/writable/ that we need to update atomically. At the moment
these are adjtime, timezone, localtime. (LP: #1227520)
2013-09-25 11:28:11 +02:00
Oliver Grawert
49e2569109 ship policykit rules for networkmanager, now that we use it on touch 2013-09-21 12:55:46 +02:00
Oliver Grawert
8ebc164aa1 remove QT_QPA_PLATFORM from ubuntu-touch 2013-09-12 23:29:54 +02:00
Oliver Grawert
bbf1758094 drop phablet-team PPa sources.list entries from touch 2013-09-12 20:50:14 +02:00
Michael Terry
6d80ab3c54 Add changelog message, use new-style lightdm.conf.d file, and don't set autologin-in-background until we can have a real greeter in Touch 2013-09-09 12:23:44 -04:00
Michael Terry
1edf737239 Merge from trunk 2013-09-09 12:22:54 -04:00
Colin Watson
976cbb1594 Revert to always using archive-team.internal in 60-install-click.chroot
for now.  This is unfortunate, but "hostname --fqdn" doesn't work at
this stage.
2013-09-06 13:21:36 +01:00