Imported using git-ubuntu import.
Changelog parent: 0ae1111c55
New changelog entries:
* live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot: Add fake_cloud_init
function to create a nocloud data source for cloud images that aren't
meant to be used on real clouds and use it by default on armhf+raspi2
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: 2ace5b787b
New changelog entries:
[ Steve Langasek ]
* Refactor some non-idiomatic architecture handling in
live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot that also misidentifies
the architecture name for armhf.
[ Ben Howard ]
* ubuntu-cpc: add missing net.ifnames=0 for ppc64el disk images.
Imported using git-ubuntu import.
Changelog parent: b668a9f9f9
New changelog entries:
[ Michael Vogt ]
* ubuntu-core:
- include the dpkg.list in the device tarball
- store /usr/share/snappy/dpkg.list manifest on the OS tarball
[ Dimitri John Ledkov ]
* ubuntu-cpc:
- exclude s390x from should_install_grub
[ Steve Langasek ]
* Refactor/reorder ubuntu-cpc support for consistency with other flavors,
so that subarch overrides can be applied correctly.
[ Ben Howard ]
* ubuntu-cpc:
- fixed loop setup due to change of kpartx output
- only use grub-install logic for Intel architectures
Imported using git-ubuntu import.
Changelog parent: 63154a9a2f
New changelog entries:
* Set timeout options so ppc64el cloud images don't display a grub boot
menu (matching the behaviour of other cloud images).
* Specify a regex to run-parts so that cloud image extra scripts are found
and executed.
Imported using git-ubuntu import.
Changelog parent: 601e67d484
New changelog entries:
* Install grub in ppc64el cloud images so they are bootable (LP: #1538610)
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: c9470d78b1
New changelog entries:
* ubunut-cpc:
- extendend hooks/functions to support creation of derivative images
including mounting images.
- added the ability to create qcow2 images in hooks/functions
- simplified loop clean-up in hooks/functions
- removed assumption that disk1.img would be built
- switched qcow2 generation to use hooks/functions function
Imported using git-ubuntu import.
Changelog parent: 5e6b71b87b
New changelog entries:
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
make sure the default group is still created when adding the default user
to adm and sudo groups.
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: fc5a8afdab
New changelog entries:
* ubuntu-cpc:
- add devpts-live to hook builds
- add logic to settle the disks after UEFI builds
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: 3242ef6c59
New changelog entries:
* do not ship assets/dtbs/overlays in raspi2 tarball, it breaks
ubuntu-device-flash
Imported using git-ubuntu import.
Changelog parent: 131941df22
New changelog entries:
* drop input group from snappy images, adjust md5 sums in
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
* completely separate the snappy device tarball creation from the snappy
rootfs so one doesnt taint the other (which allows dropping a lot more from
the rootfs we do not need in a snappy system, like initramfs creation
tools and all its dependencies).
* drop live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary
* enable automated build of raspi2 device tarballs for snappy
Imported using git-ubuntu import.
Changelog parent: 9ac850741c
New changelog entries:
* Move building of all architecture-specific CPC artifacts into Launchpad
(LP: #1513754).
Imported using git-ubuntu import.
Changelog parent: d0bcbdc422
New changelog entries:
* live-build/ubuntu-core/hooks/21-snappy-security-policy-stamp.chroot:
- create a /usr/share/snappy/security-policy-version so that
snappy can re-generate the security profiles if any of the versions
of apparmor or ubuntu-core-security-* changes
Imported using git-ubuntu import.
Changelog parent: 5edb230a21
New changelog entries:
[ Oliver Grawert ]
* bump UID for tss user in snappy, else it matches dnsmasq and bad things
happen
* fix handling of writable files in /etc/default for snappy
[ Ben Howard ]
* Cloud Images: disable new NIC naming convention (LP: #1510345).
Imported using git-ubuntu import.
Changelog parent: 8c606962fa
New changelog entries:
* do not hardcode installation of grub-pc for amd64 in snappy images,
instead install the right grub set for secureboot there
Imported using git-ubuntu import.
Changelog parent: 0682fffca1
New changelog entries:
* limit grub-install diversion on snappy images to x86 architectures
* divert grub-install on snappy images during rootfs build
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: 0f5bec4b55
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- cleanup further after moving the kernel out of the rootfs
(LP: #1468469)
[ Oliver Grawert ]
* systemd-journal-remote was dropped from /etc/group and /etc/gshadow,
update the files and md5sums in the passwd checks of ubuntu-core
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: 7782a87448
New changelog entries:
* Attempt to build Ubuntu image using metapackages instead of tasks; this
is necessary in order to build a test image out of wily-proposed for the
g++5 transition, but may be reverted later if this doesn't turn out to
be maintainable. (Code taken from the trusty HWE LTS branch of
livecd-rootfs.)
Imported using git-ubuntu import.
Changelog parent: 1a48fd620d
New changelog entries:
* lp:~mvo/livecd-rootfs/snappy-add-fw_env.config:
- add /etc/fw_env.config that points to
/boot/uboot/fw_env.config to make fw_{set,print}env work
Imported using git-ubuntu import.
Changelog parent: 2840dc63ee
New changelog entries:
* merge lp:~sergiusens/livecd-rootfs/eth0Not to not hardcode eth0 anymore on
snappy.
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: d61ed6ef41
New changelog entries:
* merge lp:~sergiusens/livecd-rootfs/snappyDevicePart for using versioned
kernel and initrd binaries in snappy
Imported using git-ubuntu import.
Changelog parent: 1dc9986ac9
New changelog entries:
* snappy: install libc6:i386 on amd64 images for multiarch support out of
the box. (LP: #1444049)
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: 2b7fd1f652
New changelog entries:
* live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
- updated for the previous group changes
Imported using git-ubuntu import.
Changelog parent: a1743f9558
New changelog entries:
* Copied some touch tweaks (n-m config and user groups) to desktop-next
[ Michael Vogt ]
* snappy/desktop-next:
- add snappypkg user and remove clickpkg user
Imported using git-ubuntu import.
Changelog parent: d286b4fed1
New changelog entries:
* copy set locale hook from core to desktop-next
[ Sergio Schvezov ]
* removing debian packaging artifacts from the image
Imported using git-ubuntu import.
Changelog parent: bc2b9aed67
New changelog entries:
* merge lp:~sergiusens/livecd-rootfs/no-walinuxagent to remove all the
hackery that was initially needed for azure snappy images, this got
properly implemented now.
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: 426cc7e1e5
New changelog entries:
* live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
- create /writable otherwise the mounts job fail and block the boot
Imported using git-ubuntu import.
Changelog parent: eab885e336
New changelog entries:
[ Iain Lane ]
* Small whitespace cleanup in live-build/auto/config
[ Sebastien Bacher ]
* Set kernel flavours variable to try to fix amd64 build
Imported using git-ubuntu import.
Changelog parent: fee4ba08ba
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- ignore /vmlinu?, /initrd.img symlinks when building the boot assets
[ Sebastien Bacher ]
* Symlink some desktop-next hooks to ubuntu-core to avoid duplication
Imported using git-ubuntu import.
Changelog parent: 04b0ecd5a6
New changelog entries:
* Remove duplicated code leftover in the previous desktop-next changeset
Imported using git-ubuntu import.
Changelog parent: f5af78966b
New changelog entries:
* Create hooks and image build config for the ubuntu-desktop-next
new based on snappy image.
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: a4c006633a
New changelog entries:
* drop grouper from touchsubarches variable. the android package does not
provide any grouper images anymore which makes touch image builds fail.
Imported using git-ubuntu import.
Changelog parent: 4c697dbaf6
New changelog entries:
* Call Setup_cleanup in live-build/auto/build to set exit handler.
Imported using git-ubuntu import.
Changelog parent: 35251d626b
New changelog entries:
[ Michael Vogt ]
* create /boot/uboot on armhf to ensure that its in the system
tarball and still on the system if ubuntu-core-upgrader
performs a "format" (LP: #1447652)
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- fix typo in hardware.yaml
* live-build/auto/config:
- add grub-efi-ia32-bin for i386 for efi support
[ Adam Conrad ]
* live-build/auto/config: Handle applying priorities to EXTRA_PPAS
via the extra_ppa="user/ppaname:priority" syntax (LP: #1450257)
Imported using git-ubuntu import.
Changelog parent: 7774d33c9b
New changelog entries:
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: revert
removal of python from the rootfs temporarily, since we've manually
re-added it to the seed in order to make walinuxagent work again on the
azure image.
Imported using git-ubuntu import.
Changelog parent: da9dd163ba
New changelog entries:
* Fix snappy motd to not reference 'development', which isn't always true.
Imported using git-ubuntu import.
Changelog parent: 1aff015ce1
New changelog entries:
* fix device.tar.gz generation for snappy
* lp:~ubuntu-on-ec2/livecd-rootfs/cpc2:
- build cloud based images using livecd-rootfs
Imported using git-ubuntu import.
Changelog parent: 373fd4c2cc
New changelog entries:
* ubuntu-core:
- update passwd/group etc for new syslog user
- remove live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot
- merged lp:~snappy-dev/livecd-rootfs/core_update
to generate device tar conform hardware.yaml
- add compability handling for current u-d-f/grub when extracting
the device tarball
Imported using git-ubuntu import.
Changelog parent: 79e9de67c4
New changelog entries:
* forcefully add ubuntu-system-settings-online-accounts to ubuntu-touch
builds to make sure the dependency is fulfilled in advance
Imported using git-ubuntu import.
Changelog parent: 74b7fad340
New changelog entries:
* add more verbosity to the copy command for android fragments in
ubuntu-touch
Imported using git-ubuntu import.
Changelog parent: 4825764bf0
New changelog entries:
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- remove libpython2.7 and friends as welll
[ Oliver Grawert ]
* remove all .override files in teh build chroot, else teh buildd machines
fall over.
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: 9efe2723ef
New changelog entries:
* touch: Explicitly uninstall systemd-sysv, to help apt to install upstart
when the preferred "init" alternative is systemd-sysv. Also explicitly
install packagekit to help the problem resolver. Thanks Colin Watson!
(LP: #1428026)
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: c68dfb0ea3
New changelog entries:
[ Michael Vogt ]
* add dosfstools on snappy to ensure systemd can fsck the /boot
partition
[ Ricardo Salveti de Araujo ]
* touch: don't depend on mir-platform-graphics-android and let that to be
handled by the seeds (they can't stop bumping the package name and the
graphics-mesa package doesn't cause any harm)
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: ff016f4510
New changelog entries:
* touch: forcing package mir-platform-graphics-android to see if we're able
to remove the dependency on the mesa one (until mir is properly fixed)
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: 552fc27ec0
New changelog entries:
* live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot: use commas
instead of spaces.
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: 6583eeab58
New changelog entries:
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: add new "input"
group to etc/group and etc/gshadow static maps.
* live-build/ubuntu-core/includes.chroot/etc/resolv.conf: use relative
symlink as suggested by lintian.
* Bump Standards-Version to 3.9.6.
Imported using git-ubuntu import.
Changelog parent: 46882a81aa
New changelog entries:
[ Mathieu Trudel-Lapierre ]
* live-build/auto/config: add config for Ubuntu MATE.
[ Michael Vogt ]
* use generic kernel for all ubuntu-core system-image
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
- run chpasswd after user moved into /var/lib/extrausers
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
- run with -e
Imported using git-ubuntu import.
Changelog parent: e9c37a48e9
New changelog entries:
* live-build/ubuntu-core/hooks/04-configure_network.chroot: use
'allow-hotplug' for the network config, not 'auto', to work around
systemd behavior that causes 'auto' to delay the rest of the boot when
DHCP is not available on the network.
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- port static uid/gid setup from ubuntu-touch
* live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot:
- byte compile .pyc files for snappy