~rcj/livecd-rootfs/+git/livecd-rootfs:test/binary_build_mirrors-bionic

Last commit made on 2020-03-06
Get this branch:
git clone -b test/binary_build_mirrors-bionic https://git.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs
Only Robert C Jennings can upload to this branch. If you are Robert C Jennings please log in for upload directions.

Branch merges

Branch information

Name:
test/binary_build_mirrors-bionic
Repository:
lp:~rcj/livecd-rootfs/+git/livecd-rootfs

Recent commits

77a51bd... by Robert C Jennings on 2020-03-06

Ensure a binary hook has not changed the temporary sources.list

d2b09e9... by Robert C Jennings on 2020-03-05

Use build env archive mirror in binary hooks

6b8bcf0... by Steve Langasek on 2020-02-28

changelog fixup

15c419e... by Robert C Jennings on 2020-02-28

Fix core_snap variable scope issue

The prior change to pre-seed the correct base added a case to handle
installation of the core snap. When that was added it created a case
where the $core_snap variable would not be defined when we reach the
end of the _snap_preseed function and evaluate if $core_snap is defined
by empty. Previous if the snap to preseed was core or core18 then
$core_snap would be "" so this patch addresses that by ensuring the
variable exists and is empty by default.

b8865cb... by Steve Langasek on 2020-02-27

releasing package livecd-rootfs version 2.525.41

632ab2b... by Robert C Jennings on 2020-02-25

Address snap base regression after snap-tool removal

With the removal of snap-tool failures are seen in image builds that do
not have the 'core' snap included by the seed. This is the case for the
minimized subproject of the ubuntu-cpc project where lxd/core is removed.
In that subproject, any binary hook which adds a snap that is based
on 'core' will not add 'core' and fail 'snap debug validate-seed'.
snap-tool included the following logic in the 'snap-tool info' when
determining snap bases:

    # Have "base" initialized to something meaningful.
    if self.is_core_snap():
        snap_data["snap"]["base"] = ""
    elif snap_data["snap"].get("base") is None:
        snap_data["snap"]["base"] = "core"

The snap store does not return a base if the base is core which makes
this necessary. This patch looks for the base in 'snap info' output
and if none is found (and the snap is not snapd or core) it assumes the
base is 'core' and installs it. This restores the behavior lost in the
migration from snap-tool to snap cli.

ec954a8... by Robert C Jennings on 2020-02-22

Use snap cli rather than custom snap-tool (LP: #1864252)

snap-tool was added to support a deprecate cohort-key feature of the
snap store. Recent changes in snap assertions have added additional
fields which snap-tool is not retrieving. This resulted in snap install
failures on first boot.

This patch removes snap-tool and returns to using the snap cli.
This ensures snap downloads will function without odd incompatibilities.

d516e68... by Steve Langasek on 2020-02-27

Stop building per-pi-flavor images and only build a pi generic image for core18. (LP: #1861520)

e2dd084... by Łukasz Zemczak on 2020-01-24

releasing package livecd-rootfs version 2.525.39

fcaa6d4... by Łukasz Zemczak on 2020-01-24

Ensure seed part. is mounted; wait for getty