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
Michael Vogt
1d9ee67e4e
merge fixes from the ubuntu-system-image PPA
2014-10-29 11:04:17 +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
Colin Watson
4570a8250f
Update hardcoded libmir*-android installations for Mir 0.8.0.
2014-10-11 08:54:42 +01:00
Steve Langasek
b6d1950e37
Fix a typo
2014-10-10 07:27:42 +00: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
Michael Vogt
026fcaffe5
merged lp:~jamesodhunt/livecd-rootfs/system-image-really-fix-resolvconf-for-ubuntu-core
2014-10-09 13:21:19 +02:00
James Hunt
3ed35d22c6
Convert resolvconf hook from a chroot hook to a binary hook since lb
...
overwrites /etc/resolv.conf after the chroot hooks have run.
2014-10-09 11:43:52 +01:00
Michael Vogt
505a9cfc7e
add /etc/hosts
2014-10-08 13:31:09 +02:00
Michael Vogt
5529dcea7a
do not install recommends in system-image
2014-10-07 09:36:18 +02:00
James Hunt
7fdb47c749
live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Remove
...
pre-existing /etc/resolv.conf.
2014-10-06 13:25:55 +01:00
Colin Watson
496a1d2d8e
[r=cjwatson] live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot: Configure system-image-cli's client.ini for Ubuntu Core. This can be dropped once bug 1373467 is fixed.
2014-10-03 15:21:04 +01:00
Colin Watson
38eab440d5
[r=cjwatson] live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Configure resolv.conf for Ubuntu Core.
2014-10-03 15:19:45 +01:00
Stéphane Graber
83120c758c
Pre-create some home directories
2014-09-26 14:41:13 -04:00
James Hunt
b38f657edc
live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot:
...
Configure system-image-cli's client.ini for Ubuntu Core. This can be
dropped once bug 1373467 is fixed.
2014-09-26 15:51:35 +01:00
James Hunt
adb0cf2c53
live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Configure
...
resolv.donf for Ubuntu Core.
2014-09-26 15:34:53 +01:00
Colin Watson
2c6b1246b4
live-build/auto/config: Use ubuntukylin-live task for ubuntukylin, not
...
ubuntu-live (LP: #1372731 ).
2014-09-24 10:59:52 +01: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
Colin Watson
8f99537f39
live-build/auto/config: Use ubuntukylin-desktop task for ubuntukylin,
...
not ubuntu-desktop.
2014-09-10 10:54:13 +01: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
Stéphane Graber
c101279ca2
Revert switch from chroot to binary as it breaks the build.
2014-08-05 13:37:10 -04:00
Stéphane Graber
fea26f371f
ubuntu-core system-image: Move grub hook from chroot to binary.
2014-08-05 11:31:59 -04:00
James Hunt
5182d896dc
* 03-boot_with_systemd.chroot: Check if /etc/default/grub exists
...
(temporary fix which to stop build failing - grub will be unconfigured
though.
* 05-create_minimal_fstab.chroot: Configure a minimal /etc/fstab to
allow systemd to mount the rootfs read-write.
2014-08-05 16:11:15 +01:00
Colin Watson
9d264ef529
ubuntu-core: Add click-systemd to preinstalled image (currently only in
...
a PPA, so can't use tasks for this).
2014-08-05 13:29:12 +02:00
Colin Watson
b26cb2065e
[r=cjwatson] ubuntu-core:
...
- Perform in-place edit.
- Allow variable expansion.
2014-08-05 10:41:48 +02:00
James Hunt
f447fd56ed
* Tweaks based on review comments.
2014-08-05 09:37:32 +01:00
James Hunt
6627b99d73
* More haste, less speed:
...
- Perform in-place edit.
- Allow variable expansion.
2014-08-05 09:22:45 +01:00
Colin Watson
49c93a618b
Only add the ubuntu-core hooks for the system-image subproject.
2014-08-05 08:34:24 +02:00
James Hunt
e4719c1cfc
* Use /etc/network/interfaces.d/ rather than /etc/network/interfaces.
2014-08-04 14:32:59 +01:00
James Hunt
c676a8fbac
* ubuntu-core:
...
- Don't remove doc to be kind to devs.
- Boot with systemd (temporary method until we have systemd-sysv).
- Configure first network interface.
2014-08-04 14:20:50 +01:00
Colin Watson
f764b07ebf
[r=cjwatson] ubuntu-core: Run setup hooks as done for ubuntu-touch.
2014-07-31 10:37:11 +01:00
Colin Watson
a3ff57899e
live-build/auto/config: Add configuration for new kubuntu-plasma5
...
flavour.
2014-07-31 10:30:02 +01:00
James Hunt
5d24b90fcd
* live-build/auto/config: Enable universe for system-image ubuntu-core
...
sub-project which requires 'system-image-cli'.
2014-07-30 16:43:25 +01:00
Colin Watson
46c8a87152
normalise whitespace
2014-07-30 15:23:59 +01:00