412 Commits

Author SHA1 Message Date
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
James Hunt
60a334d0cf * ubuntu-core: Ensure user can use sudo. 2014-07-29 21:45:11 +01:00
James Hunt
de8c39ff98 * ubuntu-core: Run setup hooks as done for ubuntu-touch. 2014-07-29 21:21:41 +01:00
Steve Langasek
e583d515d7 Hard-code installation of libmirclientplatform-android and
libmirplatformgraphics-android to avoid accidentally pulling in the
-mesa variants that are preferred as dependencies of libmirclient and
libmirserver.
2014-07-28 20:17:14 -07:00
Michael Vogt
e0d60c9c07 * lp:~mvo/livecd-rootfs/ubuntu-core-system-image:
- install the "ubuntu-core" task and a kernel when building 
    ubuntu-core with SUBPROJECT=system-image
2014-07-28 20:12:01 +02:00
Steve Langasek
edbb9763c7 Merge lp:~mterry/livecd-rootfs/no-password 2014-07-24 15:49:46 -07:00
Michael Vogt
b4da1a2239 install the kernel in the system-image subproject 2014-07-24 23:34:49 +02:00
Michael Vogt
22ce1e0085 live-build/auto/config: when run with SUBPROJECT=system-image add ubuntu-core task to the ubuntu-core build 2014-07-24 22:57:36 +02:00
Colin Watson
824344f4a0 Pass --mirror-binary in the ubuntu-rtm case too; this isn't inherited
from the bootstrap mirror.
2014-07-23 11:51:04 +01:00
Colin Watson
39d74ced11 Pass --mirror-chroot-security and --mirror-binary-security in the
ubuntu-rtm case, as the default of http://security.ubuntu.com/ubuntu/
isn't going to have ubuntu-rtm suites.
2014-07-23 11:00:15 +01:00
Colin Watson
09f615034a Apply a grievous hack to get debootstrap working against ubuntu-rtm
series.
2014-07-23 01:49:51 +01:00
Colin Watson
a0abe0888b Disable apt authentication checks when building ubuntu-rtm images
against dogfood (that test archive is signed, but not with a very useful
key).
2014-07-23 01:49:11 +01:00
Michael Terry
a1e5f63805 Enable libnss-extrausers 2014-07-18 15:28:44 -04:00
Colin Watson
4552e515ce Use the soon-to-exist ubuntu-rtm archive for ubuntu-touch builds if
SUBPROJECT is ubuntu-rtm (or ubuntu-rtm/dogfood for the dogfood
version).
2014-07-17 12:50:05 +01: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
Colin Watson
126432d844 Make the output kernel/initrd world-readable in a couple more cases,
particularly relevant to ubuntu-defaults-image (LP: #1334616).
2014-06-26 12:31:07 +01:00
Colin Watson
c7ba55e819 Drop fdupes analysis: not widely used any more, can be done separately
if needed, and very noisy in build logs.
2014-06-24 17:03:04 +01:00
Colin Watson
8fa8c644c2 Install linux-signed-generic directly in live passes rather than relying
on it being in the corresponding tasks.  linux-signed-generic shouldn't
be in a task because that expands to ABI-versioned packages, and tasks
can't be updated post-release.
2014-06-24 02:18:31 +01:00
Oliver Grawert
d04c2c068b drop the default creation of SWAP.swap files for all preinstalled devices 2014-06-23 18:36:57 +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