Imported using git-ubuntu import.
Changelog parent: 9fff6129dd
New changelog entries:
* Follow up on recent changes from the new network-manager packages and add
the nm-openvpn user to touch. This should essentially fix the image build
failures.
Imported using git-ubuntu import.
Changelog parent: ccf58fecb7
New changelog entries:
* Update the passwd, shadow, group and gshadow bootstrap hashes for touch.
Imported using git-ubuntu import.
Changelog parent: 42e2a00908
New changelog entries:
[ Xavi Garcia ]
* Adding a new hook to change the configuration file for upower.
Imported using git-ubuntu import.
Changelog parent: a668d140cc
New changelog entries:
* Move the new touch click apps (unav, dekko, calendar) to the custom
tarball.
Imported using git-ubuntu import.
Changelog parent: 5bc52b4876
New changelog entries:
[ Ben Howard ]
* live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
Virtualbox only.
[ Łukasz 'sil2100' Zemczak ]
* Update the debootstrap group and gshadow hashes for ubuntu-touch.
Imported using git-ubuntu import.
Changelog parent: 80fddc56a2
New changelog entries:
[ Michael Terry ]
* Change real name for phablet user to "Ubuntu" in ubuntu-touch.
[ Steve Langasek ]
* Drop BuildLiveCD from the examples; we now use launchpad-buildd to drive
livefs builds, so BuildLiveCD is obsolete and misleading.
* Add hooks to ubuntu-cpc to divert /bin/sync in the chroot and undivert it
at the end. This is a general-purpose change that should be applied to
all flavors and archs, but at the moment it's only needed on armhf+raspi2
to work around the raspberrypi2-firmware postinst calling sync, which is
actually warranted in the normal case.
* If a subarch is specified for a cloud image build, don't build rootfs
artifacts; these should come from the 'generic' build.
* 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.
* Refactor ubuntu-cpc hooks to allow us to handle images where the root
partition should not be partition 1.
[ Ben Howard ]
* ubuntu-cpc: fix hooks/032-disk-image.binary call to
create_empty_partition, which requires five args due to "-u"
* ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix
(LP: 1543204).
[ Dimitri John Ledkov ]
* Do not remove linux-base, when purging all the linux-*, in the tarball
build. Otherwise ubuntu-minimal is removed, and things get crazy.
* Correct initrd.img symlink, kernel/hooks should actually produce the
right thing here, but meh.
* Chroot to execute zipl, because it's nice.
* Use the right loop device to install zipl onto.
[ Steve Langasek ]
* Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via
live-build and reuse this for the tarball, instead of lb_binary_rootfs
creating some artifact that we ignore / throw away.
* Initial support for raspi2 subarch.
* Import live-build/ubuntu-cpc/hooks/raspi2/mkknlimg from
https://github.com/raspberrypi/linux/blob/rpi-4.1.y/scripts/mkknlimg
and use it to install a bootable uboot.bin.
Imported using git-ubuntu import.
Changelog parent: fafd5d2e07
New changelog entries:
[ Łukasz 'sil2100' Zemczak ]
* Fix the invalid path for the error message in 00-uid-gid-fix.chroot_early
for ubuntu-touch.
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- remove libicu52 hook
[ Daniel Watkins ]
* Enable building of s390x cloud images.
Imported using git-ubuntu import.
Changelog parent: 197a5ea751
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
- add default ubuntu user to "adm" and "sudo" groups
[ Łukasz 'sil2100' Zemczak ]
* 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.
Imported using git-ubuntu import.
Changelog parent: 20edede7ea
New changelog entries:
* merge lp:~sil2100/livecd-rootfs/update_hashes to update the passwd db
hashes on ubuntu-touch builds (LP: #1516526)
Imported using git-ubuntu import.
Changelog parent: b9bcbd6aae
New changelog entries:
* merge lp:~sil2100/livecd-rootfs/remove_apt_lists to drop cruft from
/var/lib/apt/lists on phone images
Imported using git-ubuntu import.
Changelog parent: 69a5210a53
New changelog entries:
[ Oliver Grawert ]
* add empty "extrausers" equivalents for subuid and subgid files, else
adduser falls over in interactive mode when trying to write to them.
[ Iain Lane ]
* live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie
too. (LP: #1437633)
Imported using git-ubuntu import.
Changelog parent: a96c01b1d4
New changelog entries:
* ubuntu-touch, ubuntu-desktop-next: drop systemd-journal-remote from group
files, update md5sums in 00-uid-gid-fix.chroot_early
Imported using git-ubuntu import.
Changelog parent: d467c92388
New changelog entries:
* revert the apparmor-super-noise change, issue is found
* touch the cache files during build to prevent timestamp issues in the future
* drop copying of zip files of the android package, we do not generate these
anymore.
Imported using git-ubuntu import.
Changelog parent: 3dd0e68f99
New changelog entries:
[ Łukasz Zemczak ]
* merge lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas,
In case of extra PPAs also include the deb-src entry in the sources list.
(LP: #1482703)
[ Oliver Grawert ]
* add the apparmor-super-noise change to get extra detailed info about all
apparmor operations in the ubuntu-touch build logs
Imported using git-ubuntu import.
Changelog parent: f4d2a993b3
New changelog entries:
* make apparmor precompilation more verbose, list the dir contents of
/custom/cache/apparmor to see in the build log what has been created.
Imported using git-ubuntu import.
Changelog parent: f28c989142
New changelog entries:
[ Łukasz Zemczak ]
* Split out the youtube scope to the custom tarball since some images
can't have it pre-installed (e.g. arale China images).
Imported using git-ubuntu import.
Changelog parent: fa8d0b1293
New changelog entries:
* live-build/ubuntu-touch/includes.chroot/etc/lightdm/lightdm.conf.d/
90-phablet.conf:
- don't use deprecated "[SeatDefault]" syntax
* live-build/ubuntu-desktop-next/includes.chroot/usr/share/lightdm/
lightdm.conf.d/90-desktop-next-autologin.conf:
- let desktop-next autolog to the ubuntu user session
Imported using git-ubuntu import.
Changelog parent: 2342202959
New changelog entries:
[ Sebastien Bacher ]
* live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
- create other needed directories
* live-build/ubuntu-desktop-next/includes.chroot:
- copy ubuntu-core's include for /etc/hosts and resolv.conf config
* live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
- copy touch hacks to create needed userdirs (lightdm & usermetrics),
the users are added by the script and not the usual postinst so their
uderdirs are not created as they should
* live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary:
- don't remove the copyright and manpages on desktop
[ Oliver Grawert ]
* allow install of "multi" click packages in 60-install-click.chroot on
ubuntu-touch
Imported using git-ubuntu import.
Changelog parent: 4e6a76065b
New changelog entries:
* also add /lib/firmware to the dirs we pre-create on touch and core.
Imported using git-ubuntu import.
Changelog parent: eb5162d504
New changelog entries:
* -touch/-core create /etc/mtab link, /lib/modules dir and the respective
writable mountpoints (/userdata for touch, /writable for core) so we do
not need to re-pack the rootfs on the system-image server to add them.
Imported using git-ubuntu import.
Changelog parent: 04b6ca0a8a
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- python2 is no longer required on a snappy system
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- updated md5sums as the ordering of users/groups has changed with
the new systemd-sysv
[ Oliver Grawert ]
* live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early:
bump all md5sums to new values, now that debootstrap installs systemd-sysv
instead of upstart the ordering and thus the group numbering has changed
Imported using git-ubuntu import.
Changelog parent: d43f1aeb9c
New changelog entries:
[ Michael Vogt ]
* do not leave some packages in ^rc state on snappy/ubuntu-core
(LP: #1428115). Thanks to Daniel Holbach
[ Oliver Grawert ]
* put FLASH_KERNEL_SKIP=true into /etc/environment on phones, this will
prevent the systems from trying to flash an updated initrd automatically
in case you call update-initramfs or install your own kernel package on a
nexus device where this is supported, please call flash-kernel manually
after unsetting the variable in your work environment.
Imported using git-ubuntu import.
Changelog parent: 898c13bafe
New changelog entries:
* add info about /var/log ownership so it ends up in the ubuntu-touch build
logs
Imported using git-ubuntu import.
Changelog parent: 3ebe79c0ac
New changelog entries:
[ Michael Vogt ]
* add even more verbose output to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- adjust the {group,gshadow}_bootstrap values. The audio group
used to be gid 1005 after the bootstrap and is now 29.
* live-build/auto/config:
- add snappy-ubuntu
[ Oliver Grawert ]
* make sure /var/log is always owned by the syslog group on touch
Imported using git-ubuntu import.
Changelog parent: f065c9b603
New changelog entries:
* touch: removing dependencies on a specific mir platform driver as mir can
now identify and load the correct driver during runtime
Imported using git-ubuntu import.
Changelog parent: ec516d6897
New changelog entries:
[ Michael Vogt ]
* add more verbose output to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
[ Oliver Grawert ]
* 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
Imported using git-ubuntu import.
Changelog parent: d4092f899b
New changelog entries:
* update the passwd hash for changed GID of syslog ... also add output of
the respective md5sums to the error message for easier debugging
Imported using git-ubuntu import.
Changelog parent: f3ee6d7ce0
New changelog entries:
* add more verbose output to
live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early
Imported using git-ubuntu import.
Changelog parent: a2210d3df2
New changelog entries:
* Add live-build/ubuntu-core/hooks/99zz-check-uid-gid.chroot, copy of
live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot with just the
error message changed. Currently, the passwd/group checks weren't run.
* live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early: also add input
group.
* Core: drop live-build/ubuntu-core/hooks/12-add-docker-user.chroot and move
docker user creation to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early; add ubuntu user
to docker group in
live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot. This fixes
static uid/gid maps for docker user/group.
* Update post-debootstrap hashes in
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early.
Imported using git-ubuntu import.
Changelog parent: 1689669b4b
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- port static uid/gid setup from ubuntu-touch
[ Ricardo Salveti de Araujo ]
* Bump the hardcoded libmirplatform driver version for ubuntu-touch
Imported using git-ubuntu import.
Changelog parent: 35c929f886
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/14-set-motd.chroot:
- set snappy specific motd
* live-build/ubuntu-core/hooks/13-set-locale.chroot:
- set default locale to C.UTF-8
[ Oliver Grawert ]
* add systemd-journal-remote group to touch builds
Imported using git-ubuntu import.
Changelog parent: 1e373302d7
New changelog entries:
* Move the shorts click package to the custom tarball. LP: #1386177.
Imported using git-ubuntu import.
Changelog parent: ddcf18baa4
New changelog entries:
* fix typo in 99zz-check-uid-gid.chroot
* add systemd users to group and passwd files on touch
Imported using git-ubuntu import.
Changelog parent: cd40a96c8d
New changelog entries:
* make diff not exit 1 if we show the diff for passwd, shadow, group etc
Imported using git-ubuntu import.
Changelog parent: cf6d153711
New changelog entries:
* properly redirect error output in 99zz-check-uid-gid.chroot so it ends up
in the log files.
Imported using git-ubuntu import.
Changelog parent: be4edfdb13
New changelog entries:
* collect changes to /etc/{passwd|shadow|group|gshadow} in the error output
in case they got updated on ubuntu-touch. Give a proper hint what to
change to make the error go away on the next run.
Imported using git-ubuntu import.
Changelog parent: 44705028bf
New changelog entries:
* Drop the click packages moved in 2.255 from the rootfs, leaving them
only in the custom tarball.
Imported using git-ubuntu import.
Changelog parent: f381ad345f
New changelog entries:
[ Steve Langasek ]
* Add support to the ubuntu-touch target to generate a separate custom
tarball as part of the build, moving most click packages into it.
[ Colin Watson ]
* Temporarily install the to-be-moved click packages in both core and
custom databases, to simplify the landing process.
Imported using git-ubuntu import.
Changelog parent: a40ec94d24
New changelog entries:
* force the right alternative when the libmir*-android packages are
installed, so that accidentially pulled in -mesa versions will not provide
the default alternatives for them in ubuntu-touch images
* Update hardcoded libmir*-android installations for Mir 0.8.0.
Imported using git-ubuntu import.
Changelog parent: 129b32ff97
New changelog entries:
* live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early:
Create some directories which would otherwise go missing due to our
pre-created users. (LP: #1374553)
Imported using git-ubuntu import.
Changelog parent: aa7b103571
New changelog entries:
* 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.
Imported using git-ubuntu import.
Changelog parent: 662c167d12
New changelog entries:
* 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.
Imported using git-ubuntu import.
Changelog parent: c66e2a7c05
New changelog entries:
* 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)
Imported using git-ubuntu import.
Changelog parent: ce12eac0a5
New changelog entries:
[ Michael Terry ]
* Don't set an arbitrary password for the phablet user. As we transition
to using PAM as the storage medium for the user's password, we can't
expect the user to know about the 'phablet' password.
* And configure libnss-extrausers to store user password information
instead of /etc/shadow.