Compare commits

...

3802 Commits

Author SHA1 Message Date
Michael Hudson-Doyle
b1604eadc4 releasing package livecd-rootfs version 25.10.16 2025-08-13 10:34:53 +12:00
Michael Hudson-Doyle
af76e8089d do not completely delete the seed from the live layer 2025-08-13 10:32:03 +12:00
Michael Hudson-Doyle
5494522a14 Put the uc20-style system seed for TPM backed FDE in the live layer. 2025-08-13 10:32:03 +12:00
Utkarsh Gupta
e733e7b129 Update d/ch for 25.10.15 release 2025-08-12 19:37:11 +05:30
Utkarsh Gupta
793965ba6c Merge remote-tracking branch 'bryalex/bryalex/6.14-master' into ubuntu/master
* bryalex/bryalex/6.14-master:
  Add debian/changelog entry (LP: #2116199)
  feat(apparmor): Add missing components to 6.14 kernel apparmor features' preseeds
2025-08-12 19:36:17 +05:30
Dan Bungert
bcf7ded68e releasing package livecd-rootfs version 25.10.14 2025-08-07 16:21:33 -06:00
Dan Bungert
6c2b20e070 desktop TPMFDE: move most snaps to stable channels 2025-08-07 16:18:04 -06:00
Dan Bungert
e46416e873 Revert "Move back ubuntu classic to a standard model"
This reverts commit 1c631c99dc2a8fd5759e9c8f872610b1f2238ddf.

We're unfortunately not ready for the standard model yet.
2025-08-07 16:17:20 -06:00
Didier Roche
1c631c99dc
Move back ubuntu classic to a standard model
We don’t use edge anymore. The model still needs to be signed though.
2025-08-06 07:36:59 +02:00
Tim Andersson
3dd6f72a21
switch snaps back to stable now that the TPM FDE spike is over.
This was enabled for more rapid development on the snaps that go into
the live desktop image. Revert now that the spike is over.
2025-07-30 16:49:10 +01:00
Olivier Gayot
b706c97ac2 releasing package livecd-rootfs version 25.10.13 2025-07-24 17:37:44 -06:00
Olivier Gayot
a54084218f Build with multipath-tools-boot
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2025-07-24 00:34:44 +02:00
Bryan Alexander
88cd42efd1 Add debian/changelog entry (LP: #2116199) 2025-07-17 13:27:40 -07:00
Bryan Alexander
727e75341a feat(apparmor): Add missing components to 6.14 kernel apparmor features' preseeds
- Add the domain/disconnected.ipc component
 - Modified the policy/unconfined_restrictions/io_uring component
(LP: #2116199)
2025-07-17 13:25:12 -07:00
Didier Roche
30107ce354
releasing package livecd-rootfs version 25.10.12 2025-07-15 16:52:14 +02:00
Didier Roche
59e55cb364
Merge branch 'polkit-allow-snap-seeding' into ubuntu/master 2025-07-15 16:30:33 +02:00
Didier Roche
69f6b3795b
Allow the ubuntu-desktop-installer to request snap seeding state
This is used to only start the installer after all snaps have been
seeded.

Co-Authored-By: Dennis Loose <dennis.loose@canonical.com>
2025-07-15 16:24:10 +02:00
Zygmunt Krynicki
c4fbaf5d3b Use snap wait system seed.loaded to wait for snapd
We cannot use After=snapd.service as user services cannot synchronize
with system services. Using `snap system wait seed.loaded` should work,
except for the fact that it requires polkit authentication to perform
this operation.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
2025-07-14 11:15:50 +02:00
Didier Roche
9fbd9ba71e
releasing package livecd-rootfs version 25.10.11 2025-07-11 14:59:06 +02:00
Didier Roche
e672f5ca4c
Update debian/changelog 2025-07-11 14:58:47 +02:00
Didier Roche
8a70acb1ec
Make sure the system was seeded before starting the installer
The installer is a snap, and as such, the system needs to be seeded
first to avoid a race during live boot.
Fixes https://bugs.launchpad.net/ubuntu-desktop-provision/+bug/2114923
2025-07-11 13:05:08 +02:00
Adriano Cordova
56660131e3
Update changelog
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2025-07-01 09:15:22 -04:00
Adriano Cordova
4f0c09311d
ubuntu-cpc: enable cpc fixes for riscv
LXD is going to support launching riscv64 virtual machines,
and for riscv64 virtual machines to be usable the console
needs to be properly set. This and other fixes are currently
done in the hook 999-cpc-fixes.chroot, which was disabled for
riscv64 and which this commit enables.

Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2025-07-01 09:13:38 -04:00
Michael Hudson-Doyle
692f72bcee releasing package livecd-rootfs version 25.10.9 2025-06-17 22:23:21 +12:00
Michael Hudson-Doyle
2ea437c340 Merge branch 'nvidia-kernels' into ubuntu/master 2025-06-17 22:21:14 +12:00
Michael Hudson-Doyle
8ea3c69736 bump number in changelog, add bug ref 2025-06-17 22:21:06 +12:00
Dan Bungert
0c0c93a826 releasing package livecd-rootfs version 25.10.8 2025-06-13 12:00:26 -06:00
Dan Bungert
4c2baf9e58 server: fix hwe kernel layer having multiple kernels
LP: #2112501
2025-06-13 11:22:39 -06:00
Dan Bungert
8679885bc0 changelog 2025-06-13 11:21:32 -06:00
Dan Bungert
f33c8ba809 lb_binary_layered: second take on fixing mtimes 2025-06-13 11:19:18 -06:00
Dan Bungert
20820cc567 changelog 2025-06-13 10:55:31 -06:00
Didier Roche
231ee26831 Switch some TPM FDE components to edge channels
We want the firmware updater and security center pointing to edge too.
The model only allow to select it, but we need to invoke them by
default in snap prepare-image
2025-06-13 10:54:19 -06:00
Dan Bungert
60c2e90746 changelog 2025-06-13 10:39:23 -06:00
Didier Roche
a02700313a
Move snapd to edge for the TPM FDE snaps
We need edge on the live session too so that subiquity knows about
latest and greatest on TPM FDE support. We will revert that once snapd
is released to the stable channel.
2025-06-13 11:47:57 +02:00
Antoine Lassagne
208d53affc Allow to chose nvidia kernel instead of generic 2025-06-13 09:32:08 +02:00
Dan Bungert
08be218c82 releasing package livecd-rootfs version 25.10.7 2025-06-10 07:57:28 -06:00
Dan Bungert
75ad30fe5d Revert "lb_binary_layered: fix mtimes in layered squashfses"
This reverts commit eec13dad681c66f3a318600827f52dde55291f9f.
2025-06-10 07:55:37 -06:00
Dan Bungert
934a269424 releasing package livecd-rootfs version 25.10.6 2025-06-02 12:23:02 -06:00
Dan Bungert
eec13dad68 lb_binary_layered: fix mtimes in layered squashfses
layer construction involves rsync, and that process ignores times to
avoid some of the layers being larger than they would otherwise where
the only difference is times.  This saves a small amount of space,
around 14MiB, but results in files in the layers having non-intended
time values.  Ensure mtime and atime in the source chroot match what is
found in the destination chroot.
2025-06-02 12:23:02 -06:00
Dan Bungert
9092fd30e9 releasing package livecd-rootfs version 25.10.5 2025-05-28 10:27:49 -06:00
Dan Bungert
a0d948f17b desktop: TPMFDE snapd from latest/edge 2025-05-28 10:03:56 -06:00
Dan Bungert
27e3f982e7 releasing package livecd-rootfs version 25.10.4 2025-05-25 23:19:01 -06:00
Dan Bungert
37dd412bfa desktop: TPMFDE kernel from 25.10/candidate 2025-05-23 19:50:34 -06:00
Dan Bungert
d053e12a68 releasing package livecd-rootfs version 25.10.3 2025-05-23 12:59:43 -06:00
Dan Bungert
dde90dfb79 desktop: cherry-pick pc-kernel from different channel
To get 25.10 Desktop ISOs with TPMFDE bits, we need matching pc-kernel
and snapd otherwise we get errors like so when running
`snap prepare-image`:

WARNING: the kernel for the specified UC20+ model does not carry
assertion max formats information, assuming possibly incorrectly the
kernel revision can use the same formats as snapd
error: snapd 2.68+ is not compatible with a kernel containing snapd
prior to 2.68

Use the "dangerous" model, which allows overriding the channel, and pick
up the matching pc-kernel which is not yet on 25.10/stable, where the
non-dangerous model would expect to find it.
2025-05-23 09:53:18 -06:00
Dan Bungert
83022a6ebe desktop: add notes about generation of a signed model 2025-05-22 10:29:05 -06:00
Dan Bungert
237595f90a desktop: no long skip 020-ubuntu-enhanced-sb.binary 2025-05-14 16:14:28 +02:00
Dan Bungert
f472f1e437 desktop: update TPMFDE model for questing 2025-05-14 16:14:28 +02:00
Dan Bungert
d1d6c1b181 releasing package livecd-rootfs version 25.10.2 2025-05-06 08:24:12 +02:00
Dan Bungert
5dc5cd082a desktop: skip 020-ubuntu-enhanced-sb.binary 2025-05-05 15:06:53 +02:00
Dan Bungert
40737df2b1 releasing package livecd-rootfs version 25.10.1 2025-04-28 09:53:36 -06:00
Dan Bungert
8c4996cce7 server: provide network config direct to netplan 2025-04-28 09:26:35 -06:00
Dan Bungert
5f5a686760 desktop: no longer involve cloud-init in early networking
LP: #2107225
2025-04-23 16:23:19 -06:00
Tomáš Virtus
78c855a08c
releasing package livecd-rootfs version 25.04.26 2025-04-10 17:26:04 +02:00
Tomáš Virtus
60641d7411
ubuntu-cpc: Restore UseDomains=true
Also see https://bugs.launchpad.net/cloud-images/+bug/2106729.

Since Oracular[1]:

    Ubuntu’s systemd-networkd no longer sets UseDomains=true for managed
    network interfaces. In effect, this means that search domains
    configured in DHCP leases will not be reflected in /etc/resolv.conf
    by default. This change aligns Ubuntu’s default behavior with that
    of upstream. System administrators may choose to override this
    default on a global, or per-interface basis. See systemd.network 4
    for details.

The default in systemd is UseDomains=false. From systemd.network(5)[2]:

    DHCP=

        Furthermore, note that by default the domain name specified
        through DHCP is not used for name resolution. See option
        UseDomains= below.

    UseDomains=

        It is recommended to enable this option only on trusted
        networks, as setting this affects resolution of all hostnames,
        in particular of single-label names. It is generally safer to
        use the supplied domain only as routing domain, rather than as
        search domain, in order to not have it affect local resolution
        of single-label names.

It has been reported to us by few clouds that this breaks local name
resolution. For instance, in Google Cloud Compute, users can no longer
reach instances in the same zone[3] nor Google Cloud services[4] by
their names.

Arguably, the security concerns for having this option disabled are not
valid in cloud environments. As one of our partners said:

    IIUC, the motivation to disable UseDomains by default is that a
    laptop might be used on an untrusted network where the domains
    provided by DHCP can be a security issue, directing users to places
    they don't intend.

    But it's not possible for a cloud instance to be connected to an
    untrusted network (barring a breached account).

    The way I'm looking at this is that DHCP option 119 exists for the
    express purpose of allowing a network administrator to configure the
    DNS search path for computers on that network. I understand there's
    a security concern if that network isn't a datacenter. But in the
    cloud there's no concern (in some clouds, it's not even possible for
    DHCP response packets to come from anywhere but the cloud's own
    DHCP).

We should restore this setting in cloud images.

[1] https://discourse.ubuntu.com/t/oracular-oriole-release-notes/44878
[2] https://manpages.ubuntu.com/manpages/plucky/en/man5/systemd.network.5.html
[3] https://cloud.google.com/compute/docs/internal-dns
[4] https://cloud.google.com/compute/docs/metadata/overview
2025-04-10 17:25:16 +02:00
Dave Jones
a237a63bf0
releasing package livecd-rootfs version 25.04.25 2025-03-20 17:29:08 +00:00
Dave Jones
8add8daa49
ubuntu-image: Avoid filling tmpfs-based /tmp 2025-03-20 17:22:32 +00:00
Dan Bungert
d79eb2cb9c releasing package livecd-rootfs version 25.04.24 2025-03-13 17:17:31 -06:00
Dan Bungert
c1d898ed2c desktop: update tpmfde model for pc-kernel channel
* Updated model to move pc-kernel to channel 25.04/stable
* Move model from heredoc to a file
2025-03-13 11:03:10 -06:00
Jess Jang
43d1478298 Add debian/changelog entry 2025-03-12 21:31:08 -05:00
Jess Jang
fa00c36419 feat: Add 6.14 kernel apparmor features' preseeds 2025-03-12 21:05:01 -05:00
Dan Bungert
043ad264d4 releasing package livecd-rootfs version 25.04.22 2025-03-11 09:16:05 -06:00
Dan Bungert
20590f0dbf ubuntu-desktop: update model for 25.04 and components
This model intentionally uses pc-kernel from a branch, for components
testing purposes.  We'll have to update this again before release when
the desired pc-kernel is on a stable channel.
2025-03-11 09:14:18 -06:00
Dan Bungert
b79160bf08 server: delete the initrd but not initrd.img symlink
The initrd is recreated later.  Leave the symlink.
2025-03-10 16:27:45 -06:00
Dan Bungert
a768818bea releasing package livecd-rootfs version 25.04.21 2025-03-05 08:18:59 -07:00
Dan Bungert
d2050181d4 subiquity: easier bridge kernel setup
For subiquity installs, make it easier to enable bridge kernel, just a
boolean to set true/false.  Don't enable yet though.
2025-03-04 15:50:15 -07:00
Michael Hudson-Doyle
362c5d1f19 releasing package livecd-rootfs version 25.04.20 2025-02-27 20:34:21 +13:00
Michael Hudson-Doyle
e814e02bf4 Again in ubuntu-server builds, configure LAYERFS_PATH in the kernel layer and ensure the initrd is freshly regenerated in that layer. LAYERFS_PATH was being set to the layer below the kernel layer, which meant that the live session did not get access to all the modules in the case that the kernel had not been installed in the base layer, which in turn means that installs fail. (LP: #2100148)
* Again in ubuntu-server builds, configure LAYERFS_PATH in the kernel layer
  and ensure the initrd is freshly regenerated in that layer. LAYERFS_PATH
  was being set to the layer below the kernel layer, which meant that the
  live session did not get access to all the modules in the case that the
  kernel had not been installed in the base layer, which in turn means that
  installs fail. (LP: #2100148)
* While we're at it, delete any initrd from any other layer than a kernel
  layer, as they just waste space on the ISO.
2025-02-27 20:32:56 +13:00
Michael Hudson-Doyle
ff331b2d94 In ubuntu-server builds, install the first kernel in the base layer, not the "ga" kernel (which may not be installed at all, as is the case in e.g. the arm64+largemem builds). 2025-02-27 20:31:38 +13:00
Michael Hudson-Doyle
cc1654bb22 set changelog back to UNRELEASED 2025-02-27 16:00:58 +13:00
Adriano Cordova
949f980646 riscv: add SUBARCH 'jh7110'
Add SUBARCH 'jh7110' for jh7110-based boards.
2025-02-25 15:28:36 -03:00
Thomas Bechtold
c9f4659b16
add debian/changelog entry 2025-02-25 13:21:23 +01:00
John Chittum
e85f367421
feat(ubuntu-cpc): sbom generation everywhere
patch create_manifest to produce an sbom when called by an ubuntu-cpc
project. Patch all the ubuntu-cpc hooks and series files to include the
newly generated manifests, filelists, and sboms. Generates a number of
new artifacts in the builds. the snap utilized, cpc-sbom, is an open
source repo and a provided via a hidden snap. there is no intention of
publisizing the snap or how we generate sboms, however partners require
the ability to audit if required.

defensively checks if the snap is already installed, in the case of
multiple hooks being called in a single build (thus sharing a build
host), and only if called in an ubuntu-cpc project.

(cherry picked from commit 7c7b7df89dc96169db1f255d6bba901ebb63a43c)
2025-02-25 13:18:55 +01:00
Michael Hudson-Doyle
bfdfba31b8 releasing package livecd-rootfs version 25.04.18 2025-02-20 10:25:50 +13:00
Simon Poirier
7f5b9374b2 fix: increase ppc64el disk size to 2.4Gib
ppc64el was and still is a bit low compared to other ubuntu-cpc archs
and started running out of space.
2025-02-19 16:12:28 -05:00
Simon Quigley
2b638d3321 Add debian/files to .gitignore 2025-02-19 11:52:25 -06:00
Simon Quigley
00b7f2dc35 Correct back to sh from previous commit for now 2025-02-19 02:18:53 -06:00
Simon Quigley
818af83d4d Add support for multiple pools (/var/lib/{livefs,preinstalled}-pool/). 2025-02-19 02:15:04 -06:00
Simon Quigley
e71a331e82 Update Standards-Version to 4.7.0, no changes needed. 2025-02-18 22:54:07 -06:00
Simon Quigley
784c7d3060 Make the package completely Lintian-clean except for no-dep5-copyright. 2025-02-18 22:53:52 -06:00
Simon Quigley
87c2e08669 Update debhelper compat to 13, no changes needed. 2025-02-18 22:26:29 -06:00
Simon Quigley
29ee4398e8 Move from http://ppa.launchpad.net to https://ppa.launchpadcontent.net when specifying EXTRA_PPAS. 2025-02-18 22:22:10 -06:00
Michael Hudson-Doyle
5fb3d42d36 Pre-emptively include the override to not try to build HWE kernel layer in post .2 server riscv64 ISOs. 2025-02-17 11:17:35 +13:00
Michael Hudson-Doyle
c3a74a4641 releasing package livecd-rootfs version 25.04.17 2025-02-14 17:25:55 +13:00
Michael Hudson-Doyle
99f61b2ad7 live-build/ubuntu-mini-iso/hooks/01-mini-iso.chroot_early: Fix paths that should have been adjusted when code moved from binary to chroot hook. 2025-02-14 11:02:21 +13:00
Michael Hudson-Doyle
11f1a1dc84 live-build/ubuntu-mini-iso/hooks/01-mini-iso.binary: Drop the assumption that the uncompressed part of the initrd is unpacked to a directory called "main". 2025-02-14 11:01:45 +13:00
Dan Bungert
9930bcd9b4 changelog 2025-02-13 13:11:17 -07:00
Dan Bungert
bf17ce99e1 build: fix FLAVOUR set for lowlatency
similar to: 06fd5dacc34d018142e8fa713b6eba6011ababfc
(cherry picked from commit 2a9992ad7d538567a6449059d998bfc8c6d3103f)
2025-02-13 13:00:16 -07:00
Utkarsh Gupta
59ea05ea90 Fix d/ch entry 2025-02-14 00:20:10 +05:30
Simon Poirier
787428ea4d changelog 2025-02-13 13:44:19 -05:00
Simon Poirier
1ee581ca0c fix(buildd): add udev to buildd images. (LP: #2092196)
On 24.10 forward, networkd relies on udev for interface setup. This addresses
forever pending interfaces in networkd on buildd lxd images.
2025-02-13 13:42:50 -05:00
Thomas Bechtold
ba529b0d80
Add debian/changelog entry 2025-02-13 12:15:14 +01:00
Thomas Bechtold
5c61d04183
Add 6.12 kernel apparmor features preseeds
Plucky is currently on kernel 6.12 so preseeding fails with a apparmor
feature mismatch given that the live-build/apparmor/generic tree is
used. Adding a 6.12 tree (which is identical with the 6.11 tree)
solves this.
2025-02-13 12:12:35 +01:00
Dan Bungert
5c18a9e496 releasing package livecd-rootfs version 25.04.14 2025-02-11 12:17:59 -07:00
Dan Bungert
e3355e29d8 ubuntu-server: default-layer.conf in casper pass
default-layer.conf needs to be done in the casperization pass or we
don't get that file.
2025-02-11 08:30:38 -07:00
Chris Peterson
15b069883f releasing package livecd-rootfs version 25.04.13 2025-02-05 17:43:56 -08:00
Chris Peterson
03f95a7c04 ubuntu-core-installer: update install-sources.yaml with kernel 2025-02-05 13:58:18 -08:00
Chris Peterson
86506c838d write_kernel_yaml: quote the default argument 2025-02-05 13:58:10 -08:00
Michael Hudson-Doyle
20356ce4cb releasing package livecd-rootfs version 25.04.12 2025-02-05 15:26:29 +13:00
Michael Hudson-Doyle
e7153d9d3d Similar changes for ubuntu-mini-iso build. 2025-02-05 11:24:25 +13:00
Michael Hudson-Doyle
8d7efb4d15 Move configuration of casper in ubuntu-serve:live builds to a "chroot early" hook for the installer layer and remove the now unnecessary update-initramfs from the binary hook that breaks because mkinitramfs now requires that /sys is mounted. (LP: #2097280) 2025-02-05 11:23:58 +13:00
Michael Hudson-Doyle
bdd7d035e2 Stop producing a rootfs tarball for the ubuntu-mini-iso builds. 2025-02-05 11:20:18 +13:00
Michael Hudson-Doyle
47333c22a7 releasing package livecd-rootfs version 25.04.11 2025-01-29 08:52:19 +13:00
Michael Hudson-Doyle
c17a99bc1f Allow snapd to re-exec in installer environment (the issues between snapd, overlayfs and apparmer that meant re-execing caused problems were fixed in snapd a long time ago). 2025-01-29 06:39:25 +13:00
Heinrich Schuchardt
0c5b7dfd0c riscv: correct installation path of dtbs
U-Boot with distroboot has:

efi_dtb_prefixes=/ /dtb/ /dtb/current/

So we should install the device-trees into dtb/ and not dtbs/ on the EFI
system partition.

Fixes: 365435ad2dbe ("riscv: copy device trees to the ESP")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2025-01-27 13:49:26 +01:00
Adriano Cordova
365435ad2d riscv: copy device trees to the ESP
Commit f9c5020200ce ("riscv: directly copy device trees to /boot/dtbs")
incorrectly copied devicetrees into /boot/dtbs/$kvers instead of /boot/efi/dtbs,
inside the ESP and where U-boot expects them. This commit fixes this path.

Fixes: f9c5020200ce ("riscv: directly copy device trees to /boot/dtbs")
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2025-01-24 11:16:32 +13:00
Didier Roche
2adb738584
releasing package livecd-rootfs version 25.04.9 2025-01-22 10:23:51 +01:00
Didier Roche
420545f892
Update reference to wsl-setup now in /usr/lib/wsl/
Microsoft expects this binary to be under that path.
2025-01-22 10:22:18 +01:00
Adriano Cordova
f9c5020200 riscv: directly copy device trees to /boot/dtbs
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2024-12-20 08:55:21 -03:00
Didier Roche
74a86b18ca
releasing package livecd-rootfs version 25.04.7 2024-12-09 14:36:14 +01:00
Didier Roche
f213d88801
Update changelog for new Microsoft image format 2024-12-09 14:35:23 +01:00
Didier Roche
8a0f0357b5
Create wsl-distribution.conf for WSL images
This file is required in the new Microsoft WSL package format.

Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira@canonical.com>
2024-12-09 14:29:28 +01:00
Didier Roche
42f3b442e9
Create livecd-roots tarball as a .wsl extension
Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira@canonical.com>
2024-12-09 14:29:27 +01:00
Didier Roche
b53628564c
Keep a single wsl rootfs upgrade policy
We are removing our different variants of wsl rootfs with the new
Microsoft format. We only keep one following the distribution policy:
- lts to lts
- intermediate release to next one

Co-authored-by: Carlos Nihelton <carlos.santanadeoliveira@canonical.com>
2024-12-09 14:29:22 +01:00
Michael Hudson-Doyle
23a6547dfc releasing package livecd-rootfs version 25.04.6 2024-12-06 18:59:47 +13:00
Michael Hudson-Doyle
524c0f5c4e Refer to LB_DISTRIBUTION, not SUITE, in the ubuntu-mini-iso binary hook. 2024-12-06 09:56:55 +13:00
Michael Hudson-Doyle
e2c2b1c2cb releasing package livecd-rootfs version 25.04.5 2024-12-04 13:34:03 +13:00
Michael Hudson-Doyle
c59b2165fd fix ubuntu-mini-iso build
replace reliance on cd-boot-images-amd64 with direct use of debian-cd sccripts.
2024-12-04 12:50:25 +13:00
Loïc Minier
9a27af4f83 Release 25.04.4 to plucky 2024-11-26 13:49:37 +00:00
Loïc Minier
9f0bc6a17c Merge remote-tracking branch 'rmartin013/rename-tegra-igx' into ubuntu/master
Fix typo in live-build/auto/config
2024-11-26 13:49:19 +00:00
Simon Quigley
bf0cfce5e0 Upload to Plucky 2024-11-23 13:52:17 -06:00
Simon Quigley
3c39128f16 Add optional Dracut support for installed images, enable it for Lubuntu. 2024-11-23 13:49:04 -06:00
Simon Quigley
c73b51ec43 Switch Lubuntu to stacked squashfses, and split apart the common functionality to avoid Subiquity-specific commands. 2024-11-23 13:48:02 -06:00
John Chittum
9fc87851f3 changelog 2024-11-08 10:49:04 +13:00
Remy MARTIN
a666bf4110
Add tegra-jetson subarch,model,variant
The previous Tegra kernel metapackage implementation (linux-nvidia-tegra-igx)
was initially planned to apply both for Jetson devices and IGX systems. It turned
out recently (LP: #2069179) that we now need to reserve the metapackage name
linux-nvidia-tegra-igx for IGX systems, and use the new linux-nvidia-tegra-jetson
metapackage for Jetson devices. For the sake of clarity, the image name, model,
sub-arch, variant should align with the kernel metapackage name.
2024-11-06 15:47:23 +01:00
John Chittum
e128704c77
fix(buildd): create buildd homedir
LP:2083240

starting in noble, adduser no longer creates a homedir for system users.
The buildd user then does not have a home directory, causing snaps to be
unable to run, as well as possibly other issues from a missing assumed
homedir. Explicitly create /home/buildd
2024-11-06 07:17:16 -05:00
Dan Bungert
ceec72cd59 releasing package livecd-rootfs version 25.04.1 2024-10-17 08:23:27 -06:00
Dan Bungert
5219913642 changelog 2024-10-16 12:40:44 -06:00
Dan Bungert
dbfe42ad25 live-server: omit kernel-meta-package file 2024-10-16 12:40:44 -06:00
Dan Bungert
76ee7808ea lb_chroot_layered: omit kernel-meta-package file 2024-10-16 12:40:44 -06:00
Dan Bungert
2096eccd67 lb_binary_layered: use kernel.yaml 2024-10-16 12:40:44 -06:00
Dan Bungert
2f103f886c config: output kernel.yaml fragment 2024-10-16 12:40:44 -06:00
Dan Bungert
9b42f898bf update-source-catalog: support version 2 scheme
Version 1 of install-sources.yaml is a top-level list of the sources to
be offered.
Version 2 extends this by placing the list under a top-level key
`sources`, adding a `version` field, and adding a `kernel` field which
supplants the current kernel-meta-package file.  `kernel.default` is
read to know which kernel to use - unless we need to fallback to the
bridge kernel.
2024-10-14 17:13:39 -06:00
Łukasz 'sil2100' Zemczak
9b1ea66dc8 Add comment re: the cohort key in prepare-image 2024-10-08 13:30:36 +01:00
Łukasz 'sil2100' Zemczak
40d0f57a8a releasing package livecd-rootfs version 24.10.27 2024-10-08 13:18:01 +01:00
Łukasz 'sil2100' Zemczak
293ec25aba Use cohort key for prepare-image. 2024-10-08 13:08:14 +01:00
Łukasz 'sil2100' Zemczak
86f57d78a7 releasing package livecd-rootfs version 24.10.26 2024-10-04 12:53:26 +02:00
Heinrich Schuchardt
e5977a2e2b riscv: use generic kernel flavor for Nezha D1 and LicheeRV Dock
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-10-04 12:11:47 +02:00
Michael Hudson-Doyle
e69728f173 releasing package livecd-rootfs version 24.10.25 2024-10-04 12:21:44 +13:00
Michael Hudson-Doyle
3f44a55392 Update the model used for TPM FDE installs, yet again. 2024-10-04 11:53:16 +13:00
Dan Bungert
0ad935a358 releasing package livecd-rootfs version 24.10.24 2024-10-02 15:18:21 -06:00
Dan Bungert
5e990020e5 desktop: remove references to subiquity snap
No subiquity snap is present on Desktop isos, these are cruft.
2024-10-02 08:20:34 -06:00
Michael Hudson-Doyle
0737221b36 releasing package livecd-rootfs version 24.10.23 2024-10-02 19:07:06 +13:00
Michael Hudson-Doyle
e5ef431598 Update the model used for TPM FDE installs, again, hopefully working this time. 2024-10-02 19:05:26 +13:00
Utkarsh Gupta
6746078386 Update d/ch for 24.10.22 release 2024-09-30 16:20:25 +05:30
Utkarsh Gupta
e8d5fde9e2 Revert "Update the model used for TPM FDE installs."
This reverts commit c4e69348aed2e89bdef0187afe79da18d855eb8c as
the more debugging is needed for autopkgtest failures and is
therefore blocking apparmor fixes for cloud images.
2024-09-30 16:15:08 +05:30
Utkarsh Gupta
b5d00fae13 Add 6.11 kernel apparmor features' preseeds 2024-09-25 13:41:12 +05:30
Michael Hudson-Doyle
c4e69348ae Update the model used for TPM FDE installs. 2024-09-25 13:51:08 +12:00
Dan Bungert
17e5802c2b releasing package livecd-rootfs version 24.10.20 2024-09-20 12:36:44 -06:00
Chad Smith
c567b71239 fix(functions): cloud-init.service renamed cloud-init-network.service
In cloud-init version 24.3, single process mode where a shared python
systemd service cloud-init-main. In that release, cloud-init.service was
renamed cloud-init-network.service to better clarify cloud-init's
systemd unit names relative to the cloud-init boot stages.

This rename only applies to Oracular and newer releases.

See: https://discourse.ubuntu.com/t/announcement-cloud-init-perfomance-optimization-single-process/47505

functions drops in a complete override for cloud-init.service. That
override in /etc/systemd/system needs to be renamed and refreshed to
latest single process configuration.

LP: #2081325
2024-09-20 10:41:57 -06:00
Chris Peterson
160cca31da releasing package livecd-rootfs version 24.10.19 2024-09-17 21:12:56 -07:00
Chris Peterson
ed1844eda1 live-{server,desktop}: USE_KDUMP=0 only live layer
kdump-tools uses ucf for config file management and naively
modifying the config file meant for the target system directly
will cause the file hash to not get updated in the ucf database.
This will then cause later modifications to fail because
"there's nothing to do". Although actually doing the modification
to the ucf database is messy. Let's just modify the file in the live
layer to get the behavior we want there.
2024-09-17 21:01:36 -07:00
Chris Peterson
c16a2fda9b releasing package livecd-rootfs version 24.10.18 2024-09-16 17:34:58 -06:00
Chris Peterson
7f1c726441 ubuntu: disable kdump-tools by default
We install the kdump-tools package to minimal layer via inclusion in the
desktop-minimal seed, but it is enabled by default. Include a new chroot
hook to set USE_KDUMP=0 to make sure it's disabled by default and let
the installer decide to enable it or not.
2024-09-16 09:48:27 -07:00
Chris Peterson
67df97f099 ubuntu-server: disable kdump-tools by default
We install the kdump-tools package to minimal layer via inclusion in the
server-minimal seed, but it is enabled by default. Include a new chroot
hook to set USE_KDUMP=0 to make sure it's disabled by default and let
the installer decide to enable it or not.
2024-09-16 09:46:33 -07:00
Dan Bungert
9509ef415a releasing package livecd-rootfs version 24.10.17 2024-09-12 15:30:37 -06:00
Dan Bungert
db0a0f0462 desktop & many flavors: kernel in minimal layer 2024-09-12 14:24:33 -06:00
Dan Bungert
c02b2224b7 releasing package livecd-rootfs version 24.10.16 2024-09-11 12:30:36 -06:00
Dan Bungert
c9df34c340 live-server: fix looking for ga variant 2024-09-11 12:29:35 -06:00
Dan Bungert
2154b4fe1f releasing package livecd-rootfs version 24.10.15 2024-09-10 17:00:56 -06:00
Dan Bungert
8acf29a786 live-server: place kernel in the minimal layer
By placing the kernel in minimal, we can achieve the following
improvements:

1. Space savings - there are redundant packages present in the ship-live
   pool and in the live layer.  Adding the kernel to minimal means that
   the kernel is already in the live layer, and we don't then also need
   it in the pool.
2. Time savings - informal vm testing suggests more than a minute
   improvement to have the kernel preinstalled over installing it at
   runtime.

As always, there is a cost tradeoff:

1. If a different kernel is desired, we need to be able to remove this
   preinstalled kernel.  Relevant curtin and subiquity changes are
   already landed.
2. When installing that other kernel, it'll take longer than today due
   to still needing to install a kernel at runtime + the time cost of
   removing the preinstalled kernel.
2024-09-10 17:00:56 -06:00
Michael Hudson-Doyle
09199d5fee releasing package livecd-rootfs version 24.10.14 2024-09-10 16:12:04 +12:00
Michael Hudson-Doyle
529d2cce97 add changelog for ubuntu-core-desktop -> ubuntu-core-installer change 2024-09-10 16:11:27 +12:00
Sergio Costas Rodriguez
d8fa3db5dc
Integrate Core Desktop 24 as a Core subproject
This patch updates Core Desktop to version 24, and also makes
it a subproject of Core, so it shares nearly the whole project
files and simplifies maintenance. It is based on a proposal from
Michael Hudson-Doyle. https://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs/commit/?id=94cb68d47530a564060155f985f963f59786809f
2024-09-05 13:06:32 +02:00
Dan Bungert
ee0a30b589 releasing package livecd-rootfs version 24.10.13 2024-09-04 14:27:29 -06:00
Dan Bungert
df279c8292 autopkgtest: change workdir
As seen in LP: #2078980, the default workdir under /tmp may be mounted
nodev, so create our own.
2024-09-04 14:24:32 -06:00
Chris Peterson
9d57bd093e Release packaging livecd-rootfs version 24.10.12 2024-08-26 17:03:38 -07:00
Chris Peterson
7f25e9cad5 Refresh ubuntu-classic-2404-amd64 model
Update the ubuntu-classic-2404-amd64.model definition in the
ubuntu hooks after changes in [1] to update snap tracks.

[1] d864558b66
2024-08-26 12:39:51 -07:00
Utkarsh Gupta
bd5ca6e0b5 Update d/ch for 24.10.11 release 2024-08-22 04:59:09 +05:30
Simon Poirier
df4017bf10 disk-image-uefi: Fix regression with partition sizing on arm
The sgdisk arguments for arm got mistakenly reordered, with the second
partition starting at offset 0.
2024-08-21 18:44:30 -04:00
Simon Poirier
60a5c1a779 Update changelog 2024-08-20 19:13:23 -04:00
Simon Poirier
61f1b20a5a disk-image-uefi.binary: shift down boot number to 13
Support some systems which don't handle partition numbers
higher than 15. (LP: #2072929)
Partition 16 was added for /boot to enable cloud FDE (commit a8b2a9b01)
2024-08-20 18:57:07 -04:00
Utkarsh Gupta
1a6895d2ba Update d/ch for 24.10.9 release 2024-08-14 18:02:48 +05:30
Cody Shepherd
eecd0191ec
fix: remove ec2-version hook for cpc images 2024-08-09 13:25:06 -07:00
Steve Langasek
eb075b35ec releasing package livecd-rootfs version 24.10.8 2024-07-25 11:12:54 -07:00
Steve Langasek
776d9c18c3 Merge remote-tracking branch 'ubuntustudio-dev/ubuntu/master' into ubuntu/master 2024-07-25 11:12:45 -07:00
Łukasz 'sil2100' Zemczak
c78d87d638 releasing package livecd-rootfs version 24.10.7 2024-07-24 16:13:02 +01:00
Heinrich Schuchardt
5fda764262 riscv64: preinstalled image for Microchip PIC64GX Curiosity Kit
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-07-22 15:24:21 +02:00
Erich Eickmeyer
adb8e34261 Fix version after rebase 2024-07-19 12:26:49 -07:00
Erich Eickmeyer
27191e873b Update changelog 2024-07-19 12:23:17 -07:00
Erich Eickmeyer
8f33879432 Add a minimal installation for Ubuntu Studio
Ubuntu Studio wants to add a minimal installation. The individual tasks
are metapackages that can be installed by the ubuntustudio-desktop task.

With that in mind, we would like to reintroduce
ubuntustudio-desktop-core as a minimal installation. This is made much
easier with the layered images compared to the package removal format
used by ubiquity. This also means ubuntustudio-desktop-core becomes the
base seed.

If I'm missing anything, please advise.
2024-07-19 12:21:16 -07:00
Dan Bungert
8c254c25f0 releasing package livecd-rootfs version 24.10.6 2024-07-18 15:58:56 -06:00
Chad Smith
97dd81183b functions: proper cloud-init.service full unit override in etc
System override drop-ins cannot redact dependencies (Before or After) and
thus require a full unit override. Avoid writing the unit file delivered
by cloud-init deb package in /lib/systemd/system/cloud-init.service because
it will generate warnings fron debsums -c about modified files.

The correct place to provide a full unit override is in
/etc/systemd/system/cloud-init.service in order to drop
Before=sysinit.target from the packaged cloud-init.service file.

Note vigilance will be needed across cloud-init SRU boundaries to ensure
we sync any cloud-init.service unit changes that are introduced to
stable releases because livecd-rootfs is overriding the whole file.

LP: #2069391
2024-07-16 10:58:09 -06:00
Łukasz 'sil2100' Zemczak
fcbde8a452 releasing package livecd-rootfs version 24.10.5 2024-07-11 13:02:09 +02:00
Łukasz 'sil2100' Zemczak
c9fc7f390d Add changelog, fix typo. 2024-07-11 13:01:44 +02:00
Łukasz 'sil2100' Zemczak
b6135788ba Build qcow2 images for non-SUBARCH core images for lxd purposes. 2024-07-05 11:36:42 +02:00
Łukasz 'sil2100' Zemczak
60d79eebdc Tweak changelog. 2024-06-27 09:26:20 +02:00
Zhai Zhaoxuan
f189a4e680
support specify sector size in ubuntu-image
Signed-off-by: Zhai Zhaoxuan <zhai.zhaoxuan@canonical.com>
2024-06-27 09:58:59 +08:00
Erich Eickmeyer
782d564441 Update changelog 2024-06-19 15:54:01 -07:00
Erich Eickmeyer
adcbbe388d Switch ubuntustudio to generic kernel
The lowlatency kernel will eventually undergo deprecation. Rather than
wait for such a time to happen and be reactive, Ubuntu Studio would
rather be proactive about this now that the generic kernel can act as a
lowlatency kernel with certain command line parameters as outlined by
https://discourse.ubuntu.com/t/fine-tuning-the-ubuntu-24-04-kernel-for-low-latency-throughput-and-power-efficiency/44834.

As such, we have modified our `ubuntustudio-lowlatency-settings`
package, which installs `/etc/default/grub.d/ubuntustudio.cfg` with the
following line:

-GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT threadirqs"
+GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT preempt=full
nohz_full=all threadirqs"

Additionally, that same file used to set "GRUB_FLAVOUR_ORDER" which is
no longer needed.
2024-06-19 15:53:52 -07:00
Utkarsh Gupta
e3dbb76a27 Update d/ch for 24.10.4 release 2024-06-19 22:03:18 +05:30
Utkarsh Gupta
a8991217d3 Merge branch 'drop-unminimize' into ubuntu/master
* drop-unminimize:
  Drop unminimize spit out by livecd-rootfs
2024-06-19 22:02:17 +05:30
Utkarsh Gupta
34482819f0 Drop unminimize spit out by livecd-rootfs
And prefer the one that is packaged separately as
src:unminimize, which installs the package in
/usr/bin/unminimize
2024-06-19 21:59:31 +05:30
Utkarsh Gupta
7535bf7bc7 Use packaged unminimize in the ubuntu-server images
unminimize is currently present at /usr/local/sbin/unminimize,
which is spit out by livecd-rootfs currently. We'd like to switch
that to use the packaged unminimize, which will be at
/usr/bin/unminimize instead.
2024-06-19 21:51:50 +05:30
Philip Roche
1e8cdd60a8
Merge bugfix/LP-2069828-restore-unminimize-during-server-build into ubuntu/master [a=philroche] [r=sdeziel,utkarsh]
fix: Revert removal of unminimize call in server builds (LP: #2069828)

There was a change made by me in https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/466388
as part of LP: #2066905 to remove references to LXD in the unminimize scripts
but I also removed the calls to `unminimize` in error.

This still needs to run but without any references to LXD which no longer
needs to be `unminimized` via snap installation.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/467826
2024-06-19 16:46:32 +01:00
Philip Roche
f574fc8200
fix: Revert removal of unminimize call in server builds (LP: #2069828)
There was a change made by me in https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/466388
as part of LP: #2066905 to remove references to LXD in the unminimize scripts
but I also removed the calls to `unminimize` in error.

This still needs to run but without any references to LXD which no longer
needs to be `unminimized` via snap installation.
2024-06-19 15:47:18 +01:00
Michael Hudson-Doyle
07aded687c releasing package livecd-rootfs version 24.10.3 2024-06-11 11:51:50 +12:00
Michael Hudson-Doyle
216ad48bcf Merge branch 'ubuntu-core-installer' into ubuntu/master 2024-06-11 10:31:54 +12:00
Michael Hudson-Doyle
d6484f4de0 add a comment explaining what the ubuntu-core-installer project is 2024-06-07 19:38:41 +12:00
Michael Hudson-Doyle
abe1dec82f simplifications suggested in review 2024-06-07 19:38:41 +12:00
Michael Hudson-Doyle
61427da03f Add 'ubuntu-core-installer' project.
The ubuntu-core-installer image is an installer that installs ubuntu
core. The environment the installer runs in is similar to the server
installer but it has a source catalog entry that points to the model
created in ubuntu-core-installer/hooks/05-prepare-image.binary, which
subiquity knows how to install.
2024-06-07 19:38:16 +12:00
Brian Murray
5122c279aa Add a changelog entry for the last merge 2024-06-06 14:04:30 -07:00
Heinrich Schuchardt
6b3e2b5a97 riscv64: use earlycon=sbi on command line
With current kernel we need to specify the SBI driver
for the early console to work.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-06-06 16:19:24 +02:00
Philip Roche
789729be3b releasing package livecd-rootfs version 24.10.2 2024-05-24 12:04:21 +01:00
Philip Roche
05b66d0897 Merge bugfix/lxd-no-longer-seeded-unminimize-oracular into ubuntu/master [a=philroche] [r=paride,sdeziel,utkarsh,vorlon]
fix: No longer install LXD snap in unminimize script (LP: #2066905)

The LXD snap is no longer seeded in any images since Noble+ so the LXD related unminimize logic in
./live-build/auto/build?h=ubuntu/noble and ./live-build/ubuntu-server/hooks/01-unminimize.chroot_early
 is no longer required.

lxd-installer can remain installed.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/466316
2024-05-24 12:03:30 +01:00
Philip Roche
46c19dfa91 fix: No longer install LXD snap in unminimize script (LP: #2066905)
The LXD snap is no longer seeded in any images since Noble+ so the LXD related unminimize logic in
./live-build/auto/build?h=ubuntu/noble and ./live-build/ubuntu-server/hooks/01-unminimize.chroot_early
 is no longer required.

lxd-installer can remain installed.
2024-05-23 14:13:30 +01:00
Michael Hudson-Doyle
626dced7a2 Replace 'ubuntustudio-dvd' project with an almost identical 'ubuntustudio' project. 2024-05-12 11:23:46 +02:00
Phil Roche
52b244f4d5 Upload initial 24.10.1 for oracular 2024-05-06 15:59:19 +02:00
Phil Roche
eb0d0cdfce fix: Transition to ocular versioning for livecd-rootfs - initial version 24.10.1 2024-05-06 15:58:36 +02:00
Phil Roche
d63b16bdf0 Merge feature/re-enable-noble-hyperv-desktop-builds into ubuntu/master [a=philroche] [r=jchittum,jibel,vorlon]
fix(HyperV desktop): Re-enable ability to build HyperV desktop images (LP: #2064280)

We have not built Hyperv desktop images since Jammy and with the re-introduction of HyperV for Noble we have encountered build issues caused by refactoring and removals of code assumed to be redundant but the HyperV desktop images were actually using these code paths.

In bbedffe6 we split the building of cloud images and non cloud to using an ddisk-image-uefi.binary and disk-image-uefi-non-cloud.binary respectively. In e38264ca there was a change which meant that any attempt to build hyperv images would result in incorrect disk size and incorrect disk label.

This has been fixed by ensuring that the ubuntu:desktop-preinstalled $PROJECT:$SUBPROJECT matches and sets the correct disk size and correct disk label.

A change in 76d79466 changed the logic of how the image size for amd64 images were being set. This overrode the sizes set for the desktop images incorrectly.

This MP ensures that hyperv desktop images can now be built and successfully launched with hyperv manager.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/465288
2024-05-06 14:24:04 +02:00
Philip Roche
0945c40fb2 fix(Hyperv Desktop): remove redundant case statement match ubuntu
`ubuntu` will never match `${PROJECT:-}:${SUBPROJECT:-}` cases statement and can be safely removed.
2024-05-02 10:23:35 +01:00
Philip Roche
8fe26586cc fix(Hyperv Desktop): as we are using oem-config we do not need ubiquity-slideshow-ubuntu
As we are only using oem-config, oem-config-slideshow-ubuntu will suffice
2024-05-02 10:21:50 +01:00
Philip Roche
dc2d1318d2 fix(Hyperv Desktop): ubiquity-frontend-gtk is a dependency of the oem-config-gtk package so does not need to be added explicitly 2024-05-02 10:21:50 +01:00
Philip Roche
7895eb2240 d/ch update for 24.04.70 to re-enable ability to build HyperV desktop images (LP: #2064280) 2024-05-02 10:21:50 +01:00
Philip Roche
ff47664d8c feat(Hyperv Desktop): Disable cloud-init for Hyperv Desktop images (LP: #2064280)
For Ubuntu 24.04 and later cloud-init is included in desktop images. This is not applicable for Hyperv images so
we can disable cloud-init. This leaves the cloud-init package installed but disabled so users can still
use it if they want.

This is a documented way to disable cloud-init. See https://cloudinit.readthedocs.io/en/latest/howto/disable_cloud_init.html
2024-05-02 10:21:50 +01:00
Phil Roche
c459e5e5af fix(HyperV desktop): Ensure removed hyperv dependencies are present in HyperV builds (LP: #2064280)
A change in 8fb21808 also removed many of the dependencies that the hyperv images require.
This removal has been restored in this commit by adding them expliciltly in the hyperv hook.
2024-04-30 18:00:14 +01:00
Phil Roche
48aed40194 fix(HyperV desktop): Re-enable ability to build HyperV desktop images (LP: #2064280)
We have not built Hyperv desktop images since Jammy and with the re-introduction of HyperV for Noble we have encountered build issues caused by refactoring and removals of code assumed to be redundant but the HyperV desktop images were actually using these code paths.

In bbedffe6 we split the building of cloud images and non cloud to using an ddisk-image-uefi.binary and disk-image-uefi-non-cloud.binary respectively. In e38264ca there was a change which meant that any attempt to build hyperv images would result in incorrect disk size and incorrect disk label.

This has been fixed by ensuring that the ubuntu:desktop-preinstalled $PROJECT:$SUBPROJECT matches and sets the correct disk size and correct disk label.

A change in 76d79466 changed the logic of how the image size for amd64 images were being set. This overrode the sizes set for the desktop images incorrectly.

This commit ensures that any desktop image being created uses the correct image size.
2024-04-30 18:00:07 +01:00
Łukasz 'sil2100' Zemczak
e001491e47 Add changelog. 2024-04-24 10:54:35 +01:00
Łukasz 'sil2100' Zemczak
5e27db4e69 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu-core-desktop-noble 2024-04-24 10:51:45 +01:00
Dan Bungert
2c268fca31 releasing package livecd-rootfs version 24.04.69 2024-04-23 13:37:07 -06:00
Dan Bungert
9946962363 desktop: move udisks2-inhibit to service (LP: #2063192) 2024-04-23 09:57:57 -06:00
Dan Bungert
58d01c0d05 changelog 2024-04-23 09:06:29 -06:00
Łukasz 'sil2100' Zemczak
04c1fdc899 releasing package livecd-rootfs version 24.04.68 2024-04-23 15:25:57 +01:00
Łukasz 'sil2100' Zemczak
a8af6ce59e Rename the milk-v-mars SUBARCH to milkvmars 2024-04-23 15:22:36 +01:00
Łukasz 'sil2100' Zemczak
daf856277e Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu-core-desktop-noble 2024-04-23 11:22:04 +01:00
Łukasz 'sil2100' Zemczak
f56d59226b releasing package livecd-rootfs version 24.04.67 2024-04-22 13:45:35 +01:00
Łukasz 'sil2100' Zemczak
296d580564 Update the 24.04 models. 2024-04-22 13:45:06 +01:00
Łukasz 'sil2100' Zemczak
84dcd0ee53 Changelog entry. 2024-04-22 13:01:06 +01:00
Łukasz 'sil2100' Zemczak
4197aaefda Merge branch 'universe-wording' of git+ssh://git.launchpad.net/~juliank/livecd-rootfs into ubuntu/master 2024-04-22 13:00:29 +01:00
Julian Andres Klode
6b4c6fc422 Update wording for universe sources
As specified in US095, following discussions.
2024-04-22 11:40:41 +02:00
Łukasz 'sil2100' Zemczak
1cceeae5bd releasing package livecd-rootfs version 24.04.66 2024-04-22 09:14:08 +01:00
Łukasz 'sil2100' Zemczak
a7bd933154 Changelog entry. 2024-04-22 09:12:33 +01:00
Heinrich Schuchardt
a3a51beeaf riscv: add pre-installed image for Milk-V Mars
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-04-21 18:05:41 +02:00
Łukasz 'sil2100' Zemczak
0e0403e491 releasing package livecd-rootfs version 24.04.65 2024-04-18 19:37:07 +02:00
Łukasz 'sil2100' Zemczak
4f4bd8e4ed Add changelog 2024-04-18 19:36:35 +02:00
Łukasz 'sil2100' Zemczak
2c827660d7 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/~arraybolt3/livecd-rootfs into ubuntu/master 2024-04-18 19:35:39 +02:00
Łukasz 'sil2100' Zemczak
ce40dc102f releasing package livecd-rootfs version 24.04.64 2024-04-18 19:01:52 +02:00
Łukasz 'sil2100' Zemczak
d6443ce289 24.04 model assertion. 2024-04-18 18:58:17 +02:00
6617c4d779 Allow Multiverse packages in Kubuntu. 2024-04-18 11:42:50 -05:00
Łukasz 'sil2100' Zemczak
e575146fae Forward-port the ubuntu-core-desktop changes to noble. 2024-04-17 21:13:22 +02:00
Philip Roche
f89c096cbf Updating uploader in d/ch for release 24.04.63 2024-04-17 18:30:06 +01:00
Philip Roche
6dd4f23909 releasing package livecd-rootfs version 24.04.63 2024-04-17 18:27:03 +01:00
Philip Roche
16bce0a817 Merge simpoir-lp2062024_reenable_armhf_uefi into ubuntu/master [a=simpoir] [r=jchittum,philroche]
Re-enable armhf for disk-image-uefi building. (LP: #2062024)

MP: https://code.launchpad.net/~simpoir/livecd-rootfs/+git/livecd-rootfs/+merge/464543
2024-04-17 18:06:14 +01:00
Simon Poirier
1de327d78a Update d/ch for version 24.04.63 2024-04-17 18:05:25 +01:00
Simon Poirier
b4028cf53c Re-enable disk-image-uefi for armhf. (LP:#2062024)
This reverts commit 4f51ff45 (fix: Remove UEFI booting armhf, 2024-03-12).
2024-04-17 10:46:36 -04:00
Dan Bungert
21b02cd6d2 releasing package livecd-rootfs version 24.04.62 2024-04-15 22:40:45 -06:00
Steve Langasek
ef9f827922 Dedupe handling of catalog translations 2024-04-15 15:06:42 -07:00
Steve Langasek
f8660ee75e Move catalog handling into the common function 2024-04-15 15:06:40 -07:00
Steve Langasek
afd93b77bc Move seeded language handling into do_layered_desktop_image
This fixes a bug in Ubuntu Budgie which was actually failing to pick up the
English language seed
2024-04-15 15:06:20 -07:00
Steve Langasek
768f0e6bee Refactor task/package handling for new installer images
do_layered_desktop_image() is now the standard entry point for flavors using
ubuntu-desktop-bootstrap and handles minimal/standard/live layers in a
configurable and flavor-agnostic way to reduce code duplication.
2024-04-15 15:06:04 -07:00
Steve Langasek
92e6c54dc9 Invert check for whether to include casper since the "yes" list is now much shorter than the "no" list 2024-04-15 15:04:30 -07:00
Łukasz 'sil2100' Zemczak
1f2503f227 releasing package livecd-rootfs version 24.04.61 2024-04-11 10:46:03 +02:00
Łukasz 'sil2100' Zemczak
ac9fd8fd4c Fix the UC24 builds: use --snap instead of --extra-snaps. 2024-04-11 10:45:34 +02:00
Steve Langasek
85719db8b1 releasing package livecd-rootfs version 24.04.60 2024-04-08 21:35:49 -07:00
Steve Langasek
fa8046aab8 Drop use of 'laptop' for x13s as this is now migrated to generic. 2024-04-08 21:35:43 -07:00
Dan Bungert
aed3f70b29 releasing package livecd-rootfs version 24.04.59 2024-04-08 14:09:18 -06:00
Philip Roche
6e22e4d044 fix: Update d/ch for 24.04.59
This includes changes to address LP: #2060558
2024-04-08 14:06:23 -06:00
Catherine Redfield
3087627ce9 feat(apparmor): Add policy:unconfined_restrictions feature to 6.8 kernel (LP: #2060558)
Failing CPC tests show that the preseeded apparmor features don't
include policy:unconfined_restrictions for the 6.8 kernel.  This
change adds the feature preseed with values based on a successfully
booted instance.

Fixes: LP: #2060558
2024-04-08 14:05:50 -06:00
Dan Bungert
ff3cedb0b7 budgie: remove add_snap of ubuntu-budgie-installer, ubuntu-desktop-bootstrap is used instead. 2024-04-08 13:49:38 -06:00
Łukasz 'sil2100' Zemczak
e0274d1697 releasing package livecd-rootfs version 24.04.58 2024-04-08 19:02:06 +02:00
Łukasz 'sil2100' Zemczak
a907749a08 Add console-conf to UC24 extra snaps by default 2024-04-08 16:26:15 +02:00
Simon Quigley
7c9be14510 Ensure the proper hooks are copied for Ubuntu MATE (LP: #2058161). 2024-04-07 17:43:30 -05:00
Simon Quigley
9d1f478a76 Add a changelog entry 2024-04-07 17:39:11 -05:00
Dan Bungert
5be334018f releasing package livecd-rootfs version 24.04.56 2024-04-01 19:39:28 -06:00
Dan Bungert
12f5badcf8 Flavors: cloud-init needs to be present in Subiquity-based installers. 2024-04-01 19:35:58 -06:00
Dan Bungert
d15b6d4fd6 changelog 2024-04-01 17:45:19 -06:00
Dan Bungert
368f51bed8 config: show debootstrap.log 2024-04-01 17:45:19 -06:00
Steve Langasek
65de90a1b4 releasing package livecd-rootfs version 24.04.55 2024-03-30 11:26:04 -07:00
Steve Langasek
e29c91207e No-change rebuild for CVE-2024-3094 2024-03-30 11:25:59 -07:00
Dan Bungert
e3365c7b16 releasing package livecd-rootfs version 24.04.54 2024-03-28 11:49:56 -06:00
Steve Langasek
2ba029ab9d Drop dkms from the riscv64 lichee images.
This was added for licheerv-rtl8723ds-dkms which is now dropped from
the archive (LP: #2059151).
2024-03-28 11:43:56 -06:00
Erich Eickmeyer
c76196b7e7 Update changelog 2024-03-28 11:43:28 -06:00
Erich Eickmeyer
fe6d785fa6 Add ubuntu-mate symlink for chroot_early 2024-03-28 11:36:06 -06:00
Dan Bungert
92ee910f19 releasing package livecd-rootfs version 24.04.53 2024-03-28 11:34:47 -06:00
Łukasz 'sil2100' Zemczak
4476f60b9b Add support for building Ubuntu Core 24 images. 2024-03-28 12:11:06 +01:00
Steve Langasek
64b811ac88 releasing package livecd-rootfs version 24.04.52 2024-03-27 12:03:06 -07:00
Steve Langasek
2bf710b4af Move from hwe-22.04 to hwe-24.04 throughout, hwe-22.04 is obsolete and to be dropped from the release pocket imminently. 2024-03-27 12:03:02 -07:00
Sebastien Bacher
ca4d39835e releasing package livecd-rootfs version 24.04.51 2024-03-25 11:47:01 +01:00
Sebastien Bacher
a2ebc11be0 Rename the casper.gschema override to livecd-rootfs.override
to try to avoid conflicts with the override generated in casper
2024-03-22 11:59:46 +01:00
Utkarsh Gupta
a3fb125bb9 Update d/ch for 24.04.50 release 2024-03-21 01:30:24 +05:30
Utkarsh Gupta
c86e4eff1a Add NOW env variable in autopkgtest
It was found out that autopkgtests didn't pass the NOW env variable
which is generally provided by the launchpad-buildd build and thus
the autpkgtests fail.
2024-03-20 03:32:05 +05:30
Dan Bungert
5ac0d924ce copy include.* directories for subiquity desktop install ISOs
ubuntu/include.* are the master location for these files.
Copy them over for projects with similar needs, while skipping ones that
are incorrect.

LP: #2055077
2024-03-18 20:05:24 -06:00
Dan Bungert
e4b938adbf changelog 2024-03-18 16:54:58 -06:00
Steve Langasek
4299e5fe5b releasing package livecd-rootfs version 24.04.49 2024-03-18 13:18:58 -07:00
Steve Langasek
f4daceb61d changelog 2024-03-18 13:18:52 -07:00
Erich Eickmeyer
10e718a019 Switch Ubuntu MATE to layered image
Ubuntu MATE is switching to a layered image in preparation to
use ubuntu-desktop-provision. Luckily, their seed structure is
already well-structured for layering, so this is easily done.
2024-03-18 12:48:39 -07:00
Utkarsh Gupta
e18fd763ea Update d/ch for 24.04.48 release 2024-03-13 18:44:15 +05:30
Utkarsh Gupta
9000cfd8e1 Fix bash synxtax for index parameter expansion 2024-03-13 18:43:48 +05:30
Utkarsh Gupta
5b06864cea Update d/ch for 24.04.47 release 2024-03-13 18:28:41 +05:30
Utkarsh Gupta
cebc2f85d5 Merge branch 'add-buildinfo-file' into ubuntu/master
* add-buildinfo-file:
  Drop the second parameter passed to configure_oci
  Add build_name metadata to build.info file for OCI and Base images
2024-03-13 18:26:45 +05:30
Utkarsh Gupta
3bc9857bc7 Drop the second parameter passed to configure_oci
This has become moot now that the code block has been
moved out from live-build/functions to live-build/auto/build
so passing the argument is not needed anymore.
2024-03-13 18:26:31 +05:30
Utkarsh Gupta
45692d4300 Add build_name metadata to build.info file for OCI and Base images
Presence of this field helps in determining if the image is an
unminimized image, which then can be leveraged in the unminimize
script to easily determine the image type.
2024-03-13 18:26:31 +05:30
John Chittum
edb396d45b
changelog entry
drop support for armhf uefi booting vm images (LP: #2057776)
2024-03-13 08:43:49 -04:00
John Chittum
4f51ff4521
fix: Remove UEFI booting armhf
short-term fix, as grub2 for armhf has issues. we are investigating if
we still need an armhf VM, as there is no armhf server hardware
available.
2024-03-12 09:15:12 -04:00
Steve Langasek
a580abfcff releasing package livecd-rootfs version 24.04.46 2024-03-06 18:31:16 -08:00
Steve Langasek
7c4db57e7e changelog 2024-03-06 18:31:11 -08:00
Steve Langasek
de9cb48be0 Merge remote-tracking branch 'feng-kylin/ubuntu/master' into ubuntu/master 2024-03-06 18:05:48 -08:00
Dan Bungert
5787be2b0c ubuntu-mini-iso: remove hardcoded dependencies 2024-03-05 16:50:26 -07:00
handsome_feng
34fb57e362 Ubuntu Kylin ship to new installer 2024-03-05 19:35:45 +08:00
Utkarsh Gupta
35bf43889b Update d/ch for 24.04.45 release 2024-03-05 12:50:22 +05:30
Jess Jang
369806013f fix: Add changelog
Changelog to describe change
2024-03-04 16:30:02 -06:00
Jess Jang
70e7c5f1d2 fix: Missing apparmor feature for 6.8 kernel
apparmor features for 6.8 have been missing after
new kernel rolled out. Created 6.8 directory
to build with correct version feature.
2024-03-04 14:44:29 -06:00
Chad Smith
0c53dae35d functions: cloud-init clean script needs to declar interpreter
LP: #2055729
2024-03-01 15:23:02 -07:00
Łukasz 'sil2100' Zemczak
db991ce7d9 releasing package livecd-rootfs version 24.04.44 2024-03-01 12:10:44 +01:00
Łukasz 'sil2100' Zemczak
0e4eec7adb Use ubuntu-image from candidate. 2024-03-01 12:10:31 +01:00
Philip Roche
6ec3931471 releasing 24.04.43 2024-02-23 15:09:25 +00:00
Philip Roche
fe6b9ef9f8 fix d/ch for 24.04.41
Incorrect spacing on author name and lowercase lp instead of LP
2024-02-23 15:08:48 +00:00
Philip Roche
6ce3374ab6 Merge bugfix/ubuntu-cpc-lp-2054103-grub-pc-debconf into ubuntu/master [a=philroche] [r=mkukri,utkarsh]
fix: Set the required debconf settings to allow for non interactive grub updates in cloud images (LP: #2054103)

As part of addressing LP: #2054103 [1] an update to grub-pc added a feature to be able to ensure that grub-pc
installation can happen noninteractively on cloud images.

This change is equivalent to running

```
debconf-set-selections grub-pc grub-efi/cloud_style_installation boolean true
debconf-set-selections grub-pc grub-pc/cloud_style_installation boolean true
```

These were introduced optionally to determine the install device using
`grub-probe` dynamically instead of having to fill the `grub-pc/install-devices`
debconf entry.

[1] https://bugs.launchpad.net/cloud-images/+bug/2054103

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/461062
2024-02-23 15:07:52 +00:00
Philip Roche
e65a499069 fix: Set the required debconf settings to allow for non interactive grub updates in cloud images (LP: #2054103)
As part of addressing LP: #2054103 [1] an update to grub-pc added a feature to be able to ensure that grub-pc
installation can happen noninteractively on cloud images.

This change is equivalent to running

```
debconf-set-selections grub-pc grub-efi/cloud_style_installation boolean true
debconf-set-selections grub-pc grub-pc/cloud_style_installation boolean true
```

These were introduced optionally to determine the install device using
`grub-probe` dynamically instead of having to fill the `grub-pc/install-devices`
debconf entry.

[1] https://bugs.launchpad.net/cloud-images/+bug/2054103
2024-02-23 13:54:44 +00:00
Brian Murray
75d2ea1c1a releasing package livecd-rootfs version 24.04.42 2024-02-22 17:52:23 -08:00
Brian Murray
ac706d517e xubuntu: Fix description 2-line indentation. 2024-02-22 17:52:10 -08:00
Sean Davis
007e26d80e
xubuntu: Fix description 2-line indentation 2024-02-22 17:04:38 -05:00
Philip Roche
16e4a7e442 releasing package livecd-rootfs version 24.04.41 2024-02-22 17:46:31 +00:00
Philip Roche
bd51502c75 Merge simpoir-buildd_unpin_backports into ubuntu/master [a=simpoir] [r=philroche,utkarsh]
Unpin backports priority for buildd images.

There was a time historically where Launchpad buildd might have relied
on that behaviour, but this shouldn't be the case anymore as it sets
priority manually when building backports.
Meanwhile any other builds using buildd images (e.g. snapcraft)
shouldn't default to backports unless required. (lp: #2009871)
Refs:
- [1] https://git.launchpad.net/launchpad-buildd/commit?id=c2ebcb6752

MP: https://code.launchpad.net/~simpoir/livecd-rootfs/+git/livecd-rootfs/+merge/460194
2024-02-22 17:27:23 +00:00
Simon Poirier
1ac8e6dcec Update changelog. 2024-02-22 12:03:58 -05:00
Simon Poirier
5b4402f359 Unpin backports priority for buildd images.
There was a time historically where Launchpad buildd might have relied
on that behaviour, but this shouldn't be the case anymore as it sets
priority manually when building backports.
Meanwhile any other builds using buildd images (e.g. snapcraft)
shouldn't default to backports unless required. (lp: #2009871)

Refs:
- [1] https://git.launchpad.net/launchpad-buildd/commit?id=c2ebcb6752
2024-02-22 12:01:57 -05:00
Brian Murray
3ff34303ec releasing package livecd-rootfs version 24.04.40 2024-02-21 17:07:09 -08:00
Sean Davis
d9a37fa351
xubuntu: Fix the variable KERNEL_FLAVOURS 2024-02-20 17:32:13 -05:00
Łukasz 'sil2100' Zemczak
da41618121 releasing package livecd-rootfs version 24.04.39 2024-02-20 17:07:24 +01:00
Łukasz 'sil2100' Zemczak
cf5124e912 Fix changelog version. 2024-02-20 17:06:44 +01:00
Łukasz 'sil2100' Zemczak
ace66cbb52 Attempt building netboot tarballs for largemem arm64 server images. 2024-02-20 17:05:10 +01:00
Steve Langasek
db5f662019 Also move the definition next to where it is used 2024-02-18 12:14:20 -08:00
Steve Langasek
bf5a799935 Pare down 'BASE_SEED' handling to only those flavors which still use it.
Per the comments, BASE_SEED was initially used to identify the seed in the
flavor to use for identifying preseeded snaps, and later was also used to
identify which "minimal-remove" seed to apply to an image.

The first usage is now obsolete after a refactor; we now correctly detect
snaps from any of the included seeds without needing an explicit
declaration.

The second usage only applies to installer images that are NOT using layered
squashfs, since for these images 'minimal' is a separate squashfs layer
rather than a list of packages to remove after the fact.

Refactor this code to eliminate pointless definitions of BASE_SEED and
define it only for the subset of flavors today that:
 - have a 'minimal-remove' seed
 - are not using layered squashfs.
2024-02-18 10:28:41 -08:00
Steve Langasek
f64c281a3f releasing package livecd-rootfs version 24.04.38 2024-02-18 09:14:24 -08:00
Steve Langasek
45521e71cd Fix overlooked syntax error 2024-02-18 09:14:19 -08:00
Steve Langasek
5fc0c52a00 releasing package livecd-rootfs version 24.04.37 2024-02-18 09:08:54 -08:00
Steve Langasek
3c00114e32 changelog 2024-02-18 09:08:46 -08:00
Sean Davis
5d23ea3d83
Smarter layering (thanks vorlon) 2024-02-18 06:40:11 -05:00
Sean Davis
dabcbc0d28
Ensure only one default catalog 2024-02-17 16:01:18 -05:00
Sean Davis
1972d27866
Only generate minimal.live when building minimal 2024-02-17 15:01:26 -05:00
Sean Davis
dea479a2b1
Better laying of tasks 2024-02-17 14:47:01 -05:00
Sean Davis
ea16e4ef5a
Minimize duplication 2024-02-17 06:39:49 -05:00
Sean Davis
ba38059b0b
Copy ubuntu-cinnamon setup 2024-02-17 06:35:13 -05:00
Julian Andres Klode
1c31fa10ff
releasing package livecd-rootfs version 24.04.36 2024-02-16 22:04:12 +01:00
Julian Andres Klode
eb7773f43a live-build/buildd/hooks/00-mirror.binary: Patch all sources files 2024-02-16 22:03:51 +01:00
Didier Roche
4b3b721d49
releasing package livecd-rootfs version 24.04.35 2024-02-16 11:12:12 +01:00
Didier Roche
d813325da7
Update changelog 2024-02-16 11:11:46 +01:00
Didier Roche
0d5ce6daa6
Ensure ubuntu-wsl images can be published in cloud-images again.
The cloud-images logic is now special case for ubuntu-wsl to not require
ending with project_prefix. Readd it first, which will allow us to
ensure backward compability on cloud-images.ubuntu.com
2024-02-16 11:08:47 +01:00
Steve Langasek
77036593d7 Drop references to ubuntu-gnome which is not a current flavor. 2024-02-15 14:20:46 -08:00
Michael Hudson-Doyle
40991b3832 releasing package livecd-rootfs version 24.04.34 2024-02-16 10:18:13 +13:00
Michael Hudson-Doyle
363eaf823e Update changelog for Ubuntu Cinnamon change 2024-02-16 10:16:58 +13:00
Michael Hudson-Doyle
f8bdf50724 Merge remote-tracking branch 'ubuntucinnamon-dev/ubuntu/master' into ubuntu/master 2024-02-16 10:15:56 +13:00
Erich Eickmeyer
3fc80105d5 Add symlink for 020-ubuntu-live.chroot_early 2024-02-15 12:39:15 -08:00
Michael Hudson-Doyle
0636a5bad4 Hooks and other things need to go in live-build/$PROJECT and $PROJECT for Ubuntu Studio is ubuntustudio-dvd, not ubuntustudio. 2024-02-16 09:33:22 +13:00
Erich Eickmeyer
3ec5c06b4f Copy configs 2024-02-15 09:13:15 -08:00
Erich Eickmeyer
e950cb2aa8 Change Ubuntu Cinnamon to layered image
Ubuntu Cinnamon now uses the new installer and therefore needs to be a layered image to accommodate the minimal install option.
2024-02-15 09:08:39 -08:00
Steve Langasek
637e814f2e releasing package livecd-rootfs version 24.04.33 2024-02-14 09:42:11 -08:00
Steve Langasek
afbe3e53e6 bug link 2024-02-13 08:20:12 -08:00
Michael Hudson-Doyle
9e42d66ed5 Merge branch 'copy-hooks-more' into ubuntu/master 2024-02-13 13:26:40 +13:00
Michael Hudson-Doyle
810458d2a4 Edubuntu, Ubuntu Studio and Ubuntu Budgie have hooks in live-build/${PROJECT}/hooks now but they need to be copied to config/ to do anything. 2024-02-13 13:19:22 +13:00
Julian Andres Klode
7b83391a7f
releasing package livecd-rootfs version 24.04.32 2024-02-12 21:55:47 +01:00
Julian Andres Klode
000621b1cc Merge branch 'deb822-sources' into ubuntu/master 2024-02-12 21:55:23 +01:00
Julian Andres Klode
04d1f1af25 Setup preinstalled pool in preinstalled-pool.sources
Also Use Signed-By: /etc/apt/keyrings/preinstalled-pool.gpg and
make sure we only update from that .sources file as we did before.

This code may all be dead, who can say.

FIXME: We should figure out how to do an armored export of that key
and then embed it in the signed-by field instead of using a keyring
file.
2024-02-12 21:54:53 +01:00
Julian Andres Klode
8a0a5a7e4a Switch from sources.list to ubuntu.sources
Template is based on the specification with some rewording for
Ubuntu Pro as agreed.

v2:
- Enabled backports by default (I did not see that!)
- Enabled restricted, multiverse security updates
- Replaced tweaked with adjusted

v3:
- Insert an explanatory sources.list

LP: #2048129
2024-02-12 21:54:53 +01:00
Sebastien Bacher
9480b91abc releasing package livecd-rootfs version 24.04.31 2024-02-12 21:32:16 +01:00
Sebastien Bacher
fdf1a22b92 Use the ubuntu-desktop-bootstrap snap as the Ubuntu Desktop installer 2024-02-12 21:31:58 +01:00
Łukasz 'sil2100' Zemczak
790d183622 releasing package livecd-rootfs version 24.04.30 2024-02-12 17:08:10 +01:00
Łukasz 'sil2100' Zemczak
3ce13b0e2a Add changelog. 2024-02-12 17:07:46 +01:00
Łukasz 'sil2100' Zemczak
fd3864acfe Merge branch 'u-boot-starfive' of git+ssh://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2024-02-12 17:02:42 +01:00
Didier Roche
8bf6ad05f1
releasing package livecd-rootfs version 24.04.29 2024-02-12 11:01:59 +01:00
Didier Roche
f49ce9e3d8
Ensure ubuntu-wsl image can be published in cloud-images.
The publisher for cloud-images.ubuntu.com expects that artefacts
finishes with: file_url.endswith(project_prefix + suffix).
Now that we integrate app_id to the image name, we need thus to put it
before project_prefix and not between project_prefix and suffix.
2024-02-12 10:59:27 +01:00
Simon Quigley
859bca6fed Upload to Noble. 2024-02-09 13:32:47 -06:00
Simon Quigley
c6a66eaa8d Add missing mkdir invocation from 24.04.26 (LP: #2052617). 2024-02-09 13:32:33 -06:00
Heinrich Schuchardt
c34e3dccd7 riscv: install u-boot-starfive on VisionFive 2 preinstalled image
The StarFive VisionFive 2 board can boot from SPI flash or SD-card.
Install U-Boot to the SD card.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-02-08 11:24:51 +01:00
Didier Roche
b4cf5a1b2c
releasing package livecd-rootfs version 24.04.27 2024-02-07 17:54:52 +01:00
Didier Roche
e5d6d07bad
Enable systemd as part of image creation
Microsoft offically support systemd now and our Pro service relies on
it. This option is enabled by default via our launcher (Windows-side) on
first run for quite a while.
Remve this file creation from it, don’t ship it in a package as the
file may be altered by the user to add additional options and ship it as
part of the rootfs.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2024-02-07 16:58:45 +01:00
Didier Roche
602463592a
Create different WSL tarball depending on upgrade policy
On WSL, we have multiple applications with the same rootfs, but
different upgrade policy:
Ubuntu: should always track latest LTS and offer upgrade.
Ubuntu-<Version>: should never offer upgrade and will stick to Version
Ubuntu-Preview: current in development version.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2024-02-07 16:58:44 +01:00
dann frazier
6559222079 releasing package livecd-rootfs version 24.04.26 2024-02-01 11:10:54 -07:00
dann frazier
3a00ad5263 Use flock to avoid races with systemd-udevd
The race causes loop device partitions to briefly disappear. LP: #2045586.
2024-01-31 15:12:42 -07:00
Steve Langasek
20a43b540d Merge remote-tracking branch 'vorlon/common-hooks-for-layered-images' into ubuntu/master 2024-01-30 23:16:33 -08:00
Łukasz 'sil2100' Zemczak
e195b7fda5 Import Debian version 24.04.25
livecd-rootfs (24.04.25) noble; urgency=medium
.
  * live-build/auto/config: for ubuntu-server, consider the actual kernel
    flavor when dealing with netboot layers - even if we don't really care.
2024-01-30 23:08:17 -08:00
Łukasz 'sil2100' Zemczak
3a99b297d4 For ubuntu-server, consider the actual kernel flavor when dealing with netboot layers - even if we don't really care in the end. 2024-01-30 11:29:50 +01:00
Utkarsh Gupta
d58a31e130 Merge remote-tracking branch 'utkarsh/drop-python3-systemd' into ubuntu/master
* utkarsh/drop-python3-systemd:
  Update d/ch for 24.04.20 release
  Drop python3-systemd from our minimized builds
2024-01-29 22:21:14 +05:30
Utkarsh Gupta
e37253418b Merge remote-tracking branch 'virtustom/mount-partnum-param' into ubuntu/master
* virtustom/mount-partnum-param:
  feat: mount_disk_image: Add rootpart parameter
2024-01-29 22:19:20 +05:30
Michael Hudson-Doyle
3bf0f98ca1 releasing package livecd-rootfs version 24.04.23 2024-01-29 14:54:03 +13:00
Michael Hudson-Doyle
ffe99d4008 Remove magic-proxy and all references to it as it is not used by any builds of any release newer than 18.04. 2024-01-29 14:51:54 +13:00
Łukasz 'sil2100' Zemczak
37d450ca57 releasing package livecd-rootfs version 24.04.22 2024-01-25 12:00:06 +01:00
Łukasz 'sil2100' Zemczak
54100874a4 Merge branch 'noble-64k' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2024-01-25 11:59:25 +01:00
Michael Hudson-Doyle
7464467cc9 releasing package livecd-rootfs version 24.04.21 2024-01-25 10:31:13 +13:00
Michael Hudson-Doyle
57592e6dc1 live-build/functions: avoid losetup -P as it appears to race with udev and do it a bit more by-hand instead. (LP: #2045586) 2024-01-25 10:26:19 +13:00
Michael Hudson-Doyle
4d17ae31b3 releasing package livecd-rootfs version 24.04.20 2024-01-25 07:57:56 +13:00
Michael Hudson-Doyle
2414cd0aef remove spurious changelog entry 2024-01-25 07:56:45 +13:00
Philip Roche
200bde50cc fix: return 0 instead of return if the intent is not to exit build
If the previous if statement checking if PASSES_TO_LAYERS is true,
then the last return code be non-zero and a return statement with no
argument will return the error code of the if statement thus exiting
the script. This is  not our intent. So we need to return 0 here when
layer name as already been registered
2024-01-24 18:08:42 +00:00
Philip Roche
e1ab57301f fix: Fix calls to unminimize if lxd-installer package not present (LP: #2049723)
The unminimize script will try to install the lxd snap using the shim script
`/usr/sbin/lxd` from the lxd-installer package.

Previously `unminimize` was using `snap`
to install `lxd` directly which was being diverted by diverting the `snap` command.

This is no longer the case so we can remove `/usr/sbin/lxd` from the lxd-installer package
if it exists and then redirect any calls to `/usr/sbin/lxd` to `/bin/true`

This is a cherry pick forward port from Jammy livecd-rootfs version 2.765.37.

(cherry picked from commit 8b83212372e0c1adb1dbdf7ead234f93c52a189e)
2024-01-24 18:04:35 +00:00
Tomáš Virtus
dab1f8c765
feat: mount_disk_image: Add rootpart parameter
mount_disk_image function expects root partition to be at number 1. But
some images require the root partition to be at other some other number.
For example, EKS Anywhere images for bare metal are used with Tinkerbell
deployment with a default configuration that expects the root device to
be found at /dev/sda2. The knowledge of the root device path is needed
to modify certain files in the root filesystem (e.g. cloud-init configs)
for the machine to join Kubernetes cluster control plane.

The partition number can be changed in the hook by "sgidsk --transpose".
Allow the hook to use mount_disk_image with custom root partition number
by making it an optional third parameter that defaults to 1.
2024-01-24 13:53:24 +01:00
Łukasz 'sil2100' Zemczak
4399b709e0 Add bug number, for tracking. 2024-01-22 16:56:11 +01:00
Łukasz 'sil2100' Zemczak
f65a6dafc2 Add changelog entry. 2024-01-22 15:02:19 +01:00
Łukasz 'sil2100' Zemczak
8c4ebae358 Add a largemem subarch that ships a 64k kernel variant by default. 2024-01-22 15:00:58 +01:00
Utkarsh Gupta
e9d27dafb6 Update d/ch for 24.04.20 release 2024-01-22 18:02:29 +05:30
Utkarsh Gupta
a0ebea19a8 Drop python3-systemd from our minimized builds
This package was once needed by ubuntu-advantage-tools for cloud images.
However, u-a-t have finally dropped this entirely in their v30 release.
cf: https://github.com/canonical/ubuntu-pro-client/issues/2692
cf: https://github.com/canonical/ubuntu-pro-client/pull/2717
cf: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2038417
2024-01-22 18:01:45 +05:30
Steve Langasek
471f45101e releasing package livecd-rootfs version 24.04.19 2024-01-18 11:03:58 -08:00
Steve Langasek
7de5d67bf7 live-build/auto/config: don't repeatedly add the same pass name to the list of layers. 2024-01-18 11:03:53 -08:00
Steve Langasek
240affbaca Share live-build/ubuntu/hooks/020-ubuntu-live.chroot_early across all flavors using new-style layered squashfs, removing need for kernel commandline options in debian-cd. 2024-01-17 16:20:54 -08:00
Utkarsh Gupta
6174e4c424 Update d/ch for 24.04.18 release 2024-01-17 14:17:42 +05:30
Thomas Bechtold
706a05b851 update debian/changelog 2024-01-16 13:07:52 +01:00
Thomas Bechtold
f82fb62222 fix: add kernel 6.6 apparmor features tree
Noble moved to the 6.6 kernel now and the preseeding optimization
doesn't work anymore given that the apparmor features used during
preseeding do not match the apparmor features used on a running system
with kernel 6.6 .
2024-01-16 13:03:34 +01:00
Utkarsh Gupta
9cda078671 Update d/ch for 24.04.17 release 2024-01-11 15:55:10 +05:30
Utkarsh Gupta
795927c48c unminimize: Use lxd-installer to install LXD itself (LP: 2036725)
By invoking LXD, lxd-installer will install LXD from the right
place, thereby make it simpler for us to not hardcode the
channel and manually snap install it.
2024-01-09 08:26:21 +05:30
Steve Langasek
de9c5ed37e releasing package livecd-rootfs version 24.04.16 2024-01-03 23:38:55 -08:00
Steve Langasek
650815889f Fix overlooked syntax error in live-build/auto/config. 2024-01-03 23:38:50 -08:00
Steve Langasek
a566a8173a releasing package livecd-rootfs version 24.04.15 2024-01-03 23:26:07 -08:00
Steve Langasek
fc6a8a7b94 But include a sensible error message for wrong usage of .live layers
Instead of just returning 'EXPLODE: command not found', heh
2024-01-03 23:03:56 -08:00
Steve Langasek
cdcb44ebf9 include a sanity check that no layered image has more than one "live" layer
This would cause undefined behavior with the LAYERFS_LIVE handling in the
hook.
2023-12-20 22:02:30 -08:00
Steve Langasek
80cd4153e1 check for glib-compile-schemas presence before calling from the ubuntu hook
This makes the hook ok to use cross-flavor.

We could also move glib-compile-schemas to a separate hook, to ensure we never
silently fail because glib-compile-schemas is broken/missing.
2023-12-20 19:47:14 -08:00
Steve Langasek
6680b3be8d generalize live-build/ubuntu/hooks/020-ubuntu-live.chroot_early
apply this to any layer ending in '.live' so it can be reused across flavors
2023-12-20 19:46:22 -08:00
Steve Langasek
5d6c97415a releasing package livecd-rootfs version 24.04.14 2023-12-20 11:40:05 -08:00
Steve Langasek
b45cad12b4 Ship static files instead of generating in a hook
When the files we're creating in the live layer have static content, ship
them in live-build/ubuntu/includes.chroot.minimal.standard.live instead of
generating them from live-build/ubuntu/hooks/020-ubuntu-live.chroot_early.

Also fixes the fact that
live-build/ubuntu/hooks/020-ubuntu-live.chroot_early was incorrectly writing
to /root in the previous upload instead of /usr.
2023-12-20 11:39:38 -08:00
Steve Langasek
915a6910fc releasing package livecd-rootfs version 24.04.13 2023-12-20 08:15:36 -08:00
Steve Langasek
25d1aa42a1 move code here from scripts/casper-bottom/61desktop_canary_tweaks
this should be done statically at image build time, not at boot.
2023-12-19 12:22:05 -08:00
Steve Langasek
5cc9bbcdd9 Merge branch 'raspi-only-arm64' into ubuntu/master 2023-12-15 23:17:34 -08:00
91ea9f1fca Add a changelog entry and release 24.04.12. 2023-12-15 14:43:51 -06:00
Erich Eickmeyer
e8e6f967b8 Add casper to minimal.standard.live seed
Without casper in the minimal.standard.live seed for flavors using the
new ubuntu-desktop-installer (or derivitives thereof), casper cannot
create a live user. Without this live user, Ubuntu Studio has been
experiencing the inability to login automatically from either the GUI or
manually from a TTY. This leaves the boot at a black screen with a mouse
cursor. This commit is an attempt to avoid the same situation. Previous
assessments of omitting casper from this line appear to have been
incorrect.
2023-12-15 14:42:27 -06:00
Erich Eickmeyer
0b4fd8b4c0 Fix comment, edubuntu task build, yaml name 2023-12-15 14:42:27 -06:00
Erich Eickmeyer
8fd9a84b92 Switch Edubuntu to new installer 2023-12-15 14:42:27 -06:00
Steve Langasek
4a44b56857 Drop support for building armhf+raspi images; as of noble these are arm64-only. 2023-12-08 18:38:40 -08:00
Steve Langasek
942b6d9201 releasing package livecd-rootfs version 24.04.11 2023-12-08 18:34:13 -08:00
Steve Langasek
cec2e89119 Explicitly add_package linux-$KERNEL_FLAVOURS in Ubuntu Studio. 2023-12-08 18:33:59 -08:00
Steve Langasek
4fad0b0ca0 releasing package livecd-rootfs version 24.04.10 2023-12-08 15:07:43 -08:00
Steve Langasek
6ce675b57d Project name for Ubuntu Studio needs to be 'ubuntustudio-dvd' throughout, not 'ubuntustudio'. 2023-12-08 15:07:34 -08:00
Steve Langasek
770125af8c Merge branch 'default-locale-everywhere' into ubuntu/master 2023-12-07 21:21:44 -08:00
Michael Hudson-Doyle
62b0be2d85 releasing package livecd-rootfs version 24.04.9 2023-12-08 15:43:21 +13:00
Michael Hudson-Doyle
17499ca901 add changelog 2023-12-08 15:41:45 +13:00
Michael Hudson-Doyle
c75f6b3db4 Merge remote-tracking branch 'xypron/umount' into ubuntu/master 2023-12-08 15:41:09 +13:00
Steve Langasek
b97c9fb1f6 releasing package livecd-rootfs version 24.04.8 2023-12-07 15:36:32 -08:00
Steve Langasek
84e27d0de2 Merge branch 'subarch-manifest' into ubuntu/master 2023-12-06 08:40:50 -08:00
Steve Langasek
323ffd735c Also add support for riscv64 builds with 'generic' subarch
CPC team builds use null subarch but ubuntu-cdimage builds use 'generic'
subarch

https://launchpad.net/~ubuntu-cdimage/+livefs/ubuntu/noble/cpc/+build/542136
2023-12-06 08:38:33 -08:00
Steve Langasek
94082a6601 And support riscv64 builds with no subarch
such as https://launchpad.net/~cloudware/+livefs/ubuntu/noble/cpc/
2023-12-06 00:04:28 -08:00
Steve Langasek
573cde58cd Remove *-dvd glob handling for live layers; Ubuntu Studio is the only remaining "DVD" flavor, and with the move to the new installer this bit is also now incorrect. 2023-12-05 21:18:13 -08:00
Steve Langasek
afdd23e548 Fixup: ubuntustudio task name is ubuntustudio-dvd-live, not ubuntustudio-live 2023-12-05 21:14:53 -08:00
Steve Langasek
6f4cef9bff changelog 2023-12-05 21:12:45 -08:00
Erich Eickmeyer
6d7797eb95 Remove cloud-init, fix add_task line 2023-12-05 15:40:28 -08:00
Erich Eickmeyer
a514428a9c Remove unnecessary lines 2023-12-05 13:12:00 -08:00
Erich Eickmeyer
72746413df Fixes to add minimal seed 2023-12-05 12:48:40 -08:00
Erich Eickmeyer
f668208cf8 Fixes per vorlon 2023-12-05 11:20:20 -08:00
Erich Eickmeyer
154a932dc7 Switch Ubuntu Studio to new installer 2023-12-05 10:28:42 -08:00
Steve Langasek
a6844722a8 releasing package livecd-rootfs version 24.04.7 2023-12-03 21:38:31 -08:00
Steve Langasek
220e563de3 live-build/functions: add additional debugging to mount_image() on failure since we again have loop partitions failing to be block devices. 2023-12-03 21:38:20 -08:00
Steve Langasek
a2e35e06d8 Merge remote-tracking branch 'simpoir/lp2007419_add_resolved_to_buildd' into ubuntu/master 2023-12-03 21:26:30 -08:00
Steve Langasek
4fb141bbec Merge remote-tracking branch 'dbungert/adt-hang-vagrant' into ubuntu/master 2023-12-03 21:20:22 -08:00
Steve Langasek
df83a7afed Set C.UTF-8 locale in /etc/default/locale for all images; originally intended to be landed in the cosmic cycle.. 2023-12-03 21:07:54 -08:00
Steve Langasek
5728443d00 Merge remote-tracking branch 'jibel/germinate_with_updates' into ubuntu/master 2023-12-03 19:59:07 -08:00
Dave Jones
5d8dd4c95d changelog 2023-11-28 16:03:56 +00:00
Dave Jones
2a415654a5 Use oem-config-prepare package
Remove this hook; it's only for pre-installed desktop images and
8fb2180842c452ff08dd41a5746c00bfd69521cf already removed the other bits
for pre-installed desktop images.
2023-11-28 16:00:42 +00:00
Philip Roche
2d12330484 Merge ankushpathak-fix/launchpad_bug_2044154 into ubuntu/master [a=ankushpathak] [r=philroche,vorlon]
fix: Re-enable universe for pre-installed images (LP: #2044154)

MP: https://code.launchpad.net/~ankushpathak/livecd-rootfs/+git/livecd-rootfs/+merge/455996
2023-11-21 17:11:36 +00:00
Ankush Pathak
19bceac8b3 fix: Re-enable universe for pre-installed images (LP: #2044154) 2023-11-21 11:31:06 -05:00
Michael Hudson-Doyle
b701208893 releasing package livecd-rootfs version 24.04.5 2023-11-17 17:20:47 +13:00
Michael Hudson-Doyle
d6069b41c9 add changelog entry 2023-11-17 17:18:59 +13:00
Yao Wei (魏銘廷)
02a7faaa43 ubuntu-oem: add dummy files in order not to fail make-hooks 2023-11-15 13:06:41 +01:00
Steve Langasek
95b96df6db releasing package livecd-rootfs version 24.04.4 2023-11-05 16:42:22 +02:00
Steve Langasek
8fb2180842 Drop cargo-culted code for "preinstalled" images.
Somewhere along the line, we started trying to add packages to the live
environment of flavor "preinstalled" images.  But:

- we don't build preinstalled images for any flavors
- the preinstalled images for projects like cloud images and wsl are
  explicitly excepted from this code
- the only desktop project we do produce preinstalled images for, Ubuntu
  on Raspberry Pi, uses ubuntu-image for building so this code is never
  reached
2023-11-05 16:14:34 +02:00
Steve Langasek
99d2064f32 Drop a few remaining 'legacy' references. 2023-11-05 15:58:23 +02:00
Steve Langasek
ff23c153e8 releasing package livecd-rootfs version 24.04.3 2023-11-04 22:07:04 +02:00
Steve Langasek
74c1ee4bdf We no longer need to remove ubiquity from the Ubuntu live layer and install ubuntu-desktop-installer, this is now handled via the seeds. 2023-11-04 22:01:02 +02:00
Steve Langasek
5634c7e769 Drop the legacy images for both Ubuntu and Ubuntu Budgie. 2023-11-04 21:56:23 +02:00
Brian Murray
22a26cc97a Remove part of a comment which is incorrect 2023-10-31 00:01:48 -07:00
Philip Roche
cf8b696ec2 Merge bugfix/ubuntu-cpc-LP-2038957-ppc64el-vmlinux into ubuntu/master [a=philroche] [r=jchittum,vorlon]
fix: Enable snap preseeding with ppc64el images where /boot/vmlinux is used instead of /boot/vmlinuz. (LP: #2038957)

ppc64el still uses /boot/vmlinux so we need to determine the boot file name as non ppc64el use /boot/vmlinuz. This
is then used to determine the kernel major minor version installed so that the correct apparmor features can be used
during snap preseeding. This preseeding was failing for ppc64el for the mantic 6.5 kernel as the /boot/vmlinuz
being checked did not exist.

MP: https://code.launchpad.net/~philroche/livecd-rootfs/+git/livecd-rootfs/+merge/453306
2023-10-26 18:20:27 +01:00
Philip Roche
5d959b24da fix: Enable snap preseeding with ppc64el images where /boot/vmlinux is used instead of /boot/vmlinuz. (LP: #2038957)
ppc64el still uses /boot/vmlinux so we need to determine the boot file name as non ppc64el use /boot/vmlinuz. This
is then used to determine the kernel major minor version installed so that the correct apparmor features can be used
during snap preseeding. This preseeding was failing for ppc64el for the mantic 6.5 kernel as the /boot/vmlinuz
being checked did not exist.
2023-10-26 18:02:32 +01:00
Paride Legovini
3ebbe9d447 d/changelog: add LP bug reference
Gbp-Dch: ignore
2023-10-25 20:24:16 +02:00
Paride Legovini
4bd7d5d076 Update changelog for 24.04.1 release 2023-10-25 17:58:24 +02:00
Paride Legovini
1586916934 Merge remote-tracking branch 'xypron/armhf' into ubuntu/master 2023-10-25 17:57:14 +02:00
Heinrich Schuchardt
21321ac018 arm: fix console parameter for ARM cloud-images
On armhf and arm64 the QEMU virt machine provides the serial console as an
emulated AMBA PrimeCell UART which the kernel refers to as /dev/ttyAMA0.

Consider this when constructing GRUB_CMDLINE_LINUX_DEFAULT in file
/etc/default/grub.d/50-cloudimg-settings.cfg (LP: #2036730).

Reviewed-by: Gauthier Jolly <gauthier.jolly@canonical.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-10-18 10:20:28 +02:00
Steve Langasek
b85dd7d8e6 Adjust version number for new release cycle 2023-10-12 10:10:30 -07:00
Steve Langasek
0a3babb81a call ubuntu-image classic with --debug, because --verbose doesn't give us anything useful in the livefs build logs. 2023-10-11 18:03:30 -07:00
Utkarsh Gupta
14778d8aa8 Update d/ch for 23.10.55 release 2023-10-05 18:05:20 +05:30
John Chittum
5427e5ad6c
fix: Add 6.5 kernel apparmor feats
lp: #2037567. starting in kernel 6.5.0.1006, there's been an update to
apparmor features. Creates the 6.5 kernel directory, fully populates
with feats checked from a machine running 6.5.0.1006 installed from
proposed (as of 20230927).
2023-10-05 07:30:01 -05:00
Sebastien Bacher
00508edc13 releasing package livecd-rootfs version 23.10.54 2023-10-03 22:33:43 +02:00
Sebastien Bacher
51b7278c4b Update the desktop fde model to include firmware-updater 2023-10-03 21:13:03 +02:00
Dan Bungert
089e773f26 changelog 2023-10-03 10:43:38 -06:00
Dan Bungert
2cccd614a6 oem, budgie: kernel in the live layer 2023-10-03 10:43:35 -06:00
Steve Langasek
7b11e47acf releasing package livecd-rootfs version 23.10.52 2023-10-02 18:13:26 -07:00
Steve Langasek
fadeb495e3 remove ssl-cert "snakeoil" private keys from images, since this makes them not very private. LP: #2037869. 2023-10-02 18:06:26 -07:00
Steve Langasek
fdf0091580 Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-project-images-not-producing-all-expected-filelists-LP-2033751' into ubuntu/master 2023-10-02 17:00:28 -07:00
Steve Langasek
85606c8b9d Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-filelist-sort-LP-2033677' into ubuntu/master 2023-10-02 16:57:29 -07:00
Dan Bungert
42d5a97576 changelog for 23.10.51 2023-10-02 15:00:44 -06:00
Dimitri John Ledkov
dc7519a44a Create subiquity meta-package hint 2023-10-02 17:28:40 +01:00
Dimitri John Ledkov
deb31732db Ensure chroot_linux-image is only exectued on live layers
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-10-02 10:39:30 +01:00
Dimitri John Ledkov
d5e9651fe0 remove live-build/ubuntu/hooks/020-ubuntu-live.binary: handled elsewhere
Now that kernel names use expected -generic flavour, and kernels are
installed in the live layer, we can go back to stock behaviour of
auto/build noticing that binary hooks are called on a live layer and
executing the extraction & rename of the kernel flavours.

BTW we can even later expand that to support 2 generic abis, and
calling the bigger one the hwe generic such that can also remove
./live-build/ubuntu-server/hooks/04-kernel-bits.binary.

This fixes ubuntu arm64+x13s that is unable to find
ubuntu-x13s.kernel-laptop as due to this hook, which currently
produces ubuntu.kernel-generic in error which is not at all expected
by ubuntu-cdimage. Also this unbreaks producing oem & intel-iot
images, although we will build these in 24.04 only next.

This reverts ubuntu daily-live to use `--linux-flavours
laptop-generic-hwe-22.04` instead of `--linux-flavours none
--linux-packages=none --initramfs=none`, like it did in lunar and
pre-canary-image or images that install kernel in live layer.

Fixes: c00bbf3fb3 ("desktop: place kernel in the live layer")

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-10-02 10:39:29 +01:00
Dimitri John Ledkov
1180791b48 releasing package livecd-rootfs version 23.10.50 2023-09-29 21:36:12 +01:00
Dimitri John Ledkov
ecb60bd158 Merge remote-tracking branch 'xnox/fix-x13s-try2' into ubuntu/master 2023-09-29 21:35:52 +01:00
Dimitri John Ledkov
378322380e live-build/ubuntu/hooks: ensure kernel artifacts named with subarch
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-09-29 04:45:12 +01:00
Steve Langasek
546217868f releasing package livecd-rootfs version 23.10.49 2023-09-27 22:37:50 -07:00
Steve Langasek
9468c51c0f Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-LP-2037074-flashkernel-removal' into ubuntu/master 2023-09-27 14:20:14 -07:00
Steve Langasek
f9b299ec4d Another arm64 subarch about to land 2023-09-27 13:38:12 -07:00
Steve Langasek
c79ee20bae releasing package livecd-rootfs version 23.10.48 2023-09-27 12:49:06 -07:00
Steve Langasek
6c4b217a6b changelog 2023-09-27 12:49:00 -07:00
Steve Langasek
e5d3ec78f6 Merge remote-tracking branch 'xnox/X13s' into ubuntu/master 2023-09-27 12:46:01 -07:00
Philip Roche
cf15cc4810 fix: arm flash-kernel removal from ubuntu-cpc project cloud images (LP: #2037074)
With the migration from linux-kvm to linux-virtual/generic for the mantic minimal
images we can now start building arm64 minimal cloud images.

When building initial test images we noticed that the flash-kernel package was being
installed. This is not required for EFI images.

This commit removes the flash-kernel package from the cloud images arm installs

The only images built using the livecd-rootfs ubuntu-cpc project for arm64 and armhf
which are not cloud images (which therefore do not require flash-kernel) are the
raspi images. raspi does require flash-kernel. But the raspi images use the
`ubuntu-server-raspi` task to install the flash-kernel. As such this non raspi
flash-kernel package install can be completely removed.

It also means that initramfs-tools and dracut-install are installed as these are dependencies
of flash-kernel package.
2023-09-27 11:36:51 +01:00
Dimitri John Ledkov
f1ab0f33c8 lowercase
Gbp-Dch: ignore
2023-09-27 00:02:57 +01:00
Steve Langasek
4677659484 releasing package livecd-rootfs version 23.10.47 2023-09-26 15:04:13 -07:00
Dimitri John Ledkov
f3a33b7dce Add support for X13s subarch
Add mapping to use laptop-23.10 kernel. Ensure that
enhanced-secureboot is only setup on amd64 arch.

LP: #2037099

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-09-26 18:54:39 +01:00
Steve Langasek
9fce6428c3 alphabetize the list 2023-09-26 10:18:26 -07:00
Philip Roche
1a884c1427 fix: Ensure that grub/shim package installs do not install recommends for minimized ubuntu-cpc image builds (LP: #2037075)
minimized cloud image policy, introduced in version 23.10.16, is to not install recommends for any package
installs during build. This is to keep the image as small as possible. This also extends to
the grub related packages.

This solves the problems detailed in LP: #2037075 and aligns other arches more with amd64 install of
grub/shim packages for both minimized and non minimized ubuntu-cpc cloud image builds.
2023-09-26 18:08:09 +01:00
Steve Langasek
1f2523920d Add missing '|' 2023-09-26 09:46:16 -07:00
Michael Hudson-Doyle
94ea97758d add changelog for previous merge 2023-09-26 15:11:53 +13:00
Michael Hudson-Doyle
e349c38b77 Merge remote-tracking branch 'simpoir/lp2037338_var_scoping' into ubuntu/master 2023-09-26 15:10:46 +13:00
Simon Poirier
f3114e7fb5 fix: fix var used before declaration in snap_validate_seed
Fix use of variable declared in conditional branch and used in parent
scope in snap_validate_seed. This would affect binary for images without
kernel and using "set -u". (LP: #2037338)
2023-09-25 19:31:58 -04:00
Dan Bungert
1637ed0609 changelog for budgie sources 2023-09-25 13:57:40 -06:00
Dan Bungert
ad6f99a9bf budgie: include universe & multiverse 2023-09-25 09:53:48 -06:00
Steve Langasek
cec7b99665 live-build/auto/config: fail immediately on unknown arch/subarch.
When trying to make changes to refactor livecd-rootfs, it is difficult to
know what side effects a change may have because of the use of globs on
arch/subarch and the lack of an authoritative list of supported arch
combinations.

This assembles a list of all possible values for $ARCH:$SUBARCH by looking at
all existing uses of $SUBARCH in live-build/auto/config and combining with
etc/default-arches from ubuntu-cdimage:

$ grep + etc/default-arches |grep -vE '(trusty|xenial|bionic|focal)[[:space:]]|appliance'

It also includes a special-case *appliance* glob, because there are many
Ubuntu Core appliance builds and there may be more in the future, and we
don't want to have to update livecd-rootfs with a hard-coded list.

Otherwise, this includes all currently used / supported combinations.  The
amd64+kassel subarch is referenced in the code, but stopped being built a
while ago because "end of contract"; and there are some older no-longer-used
subarchs for particular raspi variants, which there is work to clean up
separately.  So this should be a no-op wrt buildability of any existing
images on mantic - and if not, that's important for us to know!
2023-09-22 22:34:04 -07:00
Steve Langasek
3f0ac95248 releasing package livecd-rootfs version 23.10.44 2023-09-22 10:59:00 -07:00
Steve Langasek
0b1caf70c5 Fix the subarch here as well 2023-09-22 10:58:48 -07:00
Steve Langasek
16450169d9 Fix the subarch used in the hook to identify images for sifive unmatched. LP: #2037060. 2023-09-22 10:58:47 -07:00
Utkarsh Gupta
ffb064925f Update d/ch for 23.10.43 release 2023-09-22 15:02:15 +05:30
Utkarsh Gupta
fdf8779e8d Get rid of all whitespaces in d/ch 2023-09-22 15:01:41 +05:30
Steve Langasek
5e38cbea1d Changelog 2023-09-22 02:13:53 -07:00
Utkarsh Gupta
12a2109c22 fix: install LXD snap from stable/ubuntu-<version> channel (LP: #2036725)
In the past, we'd directly snap install lxd which defaults to
the latest/stable channel. However, whilst working on enhancing
unminimize, it was observed that we install this snap from
the stable/ubuntu-<version> channel instead.

This was also noted as a failure when running the CTF tests:
`lxd installed from latest/stable, not stable/ubuntu-23.10`
2023-09-22 13:05:29 +05:30
Steve Langasek
2712c65939 word wrapping 2023-09-19 10:34:28 -07:00
Philip Roche
2e8544186b Update d/ch for 23.10.42 release 2023-09-19 17:03:50 +01:00
Philip Roche
a5c5883712 fix: Fix the missing fi with the recent changes in the unminimize script for ubuntu-cpc project (LP: #2036591)
Fixes bug introduced in commit 75db56ce

The missing if statement end `fi` caused build failures due to syntax errors.
2023-09-19 17:02:56 +01:00
Steve Langasek
308f52ecf0 releasing package livecd-rootfs version 23.10.41 2023-09-19 08:21:05 -07:00
Steve Langasek
6820ef310c Merge remote-tracking branch 'toabctl/boot-partition' into ubuntu/master 2023-09-19 08:20:12 -07:00
Utkarsh Gupta
e26b264b0d Update d/ch for 23.10.40 release 2023-09-19 14:06:13 +05:30
Utkarsh Gupta
75db56ce61 Merge branch 'enhance-minimize' into ubuntu/master
* enhance-minimize:
  Install linux-virtual to restore the stripped headers
  Enhance unminimize to transform into a base image for ubuntu-cpc
2023-09-19 14:05:13 +05:30
Steve Langasek
a7e4887525 releasing package livecd-rootfs version 23.10.39 2023-09-18 15:06:28 -07:00
Steve Langasek
9ff1479b4c Merge remote-tracking branch 'vorlon/lp.2036195' into ubuntu/master 2023-09-18 15:06:20 -07:00
Dan Bungert
a677bcd12c changelog for 23.10.38 2023-09-18 15:48:42 -06:00
Dan Bungert
41fbfd6bb6 desktop: construct minimal+tpmfde variation 2023-09-18 15:48:41 -06:00
Steve Langasek
1deccc2edd The chroot tmpfs mount should only be /var/lib/apt/lists, not /var/lib/apt; the latter breaks changes to /var/lib/apt/extended_states. LP: #2036195. 2023-09-16 17:27:45 -07:00
Steve Langasek
0542e9d218 Merge remote-tracking branch 'philroche/bugfix/ubuntu-cpc-LP-2036192-armhf' into ubuntu/master 2023-09-15 14:44:00 -07:00
Philip Roche
8333dbac7a fix: armhf flavour for 6.5+ kernel is now generic (LP: #2033677)
With the introduction of the 6.5 kernel for mantic on 13th September ago we are seeing image build failures
on the armhf builds. The build failure was `No kernel output for generic-lpae!`.

Introduced in the 6.4 kernel and therefore now also in 6.5 there is no generic-lpae flavor anymore. it's just generic now.

As such this commit updates the expected flavour for armhf to generic.
2023-09-15 12:00:15 +01:00
Philip Roche
0a1e1cc0a7 fix: ensure minimize-manual script uses passed in argument for all commands (LP: #2036198)
minimize-manual takes an argument of the path to the chroot but of the 3 commands that are run the argument
is only used twice and with the third hardcoding "chroot" as the path to the chroot.

Thankfully "chroot" has been the patch passed in for the current uses of minimize-manual but this
could cause issues later if that were to change.

This commit resolves the problem preventing future issues.
2023-09-15 11:59:12 +01:00
Gauthier Jolly
f35ff6d0d5 update d/c 2023-09-14 22:18:37 +02:00
Gauthier Jolly
51d4756700 ubuntu-cpc: increase arm64 image size
This is needed following the addition of the new boot partition. This
also gives us the opportunity to refactor the logic and use a case
statement instead of ifs
2023-09-14 22:18:31 +02:00
Gauthier Jolly
a8b2a9b01e ubuntu-cpc: create a partition for /boot on all UEFI images
In order to support better support Full Disk Encryption on the clouds,
the boot assets have to sit on an un-encrypted partition. We've tried
mounting the ESP on /boot before but it didn't work as /boot has to
support linking for DPKG to work and the ESP has to be FAT.
2023-09-14 09:50:27 +02:00
Gauthier Jolly
626e59b4e5 functions: add support for mounting boot partition
If the partition exists, we should mount it on /boot. Partition 16 was
chosen because it is not used anywhere else in livecd-rootfs yet.
2023-09-14 09:50:27 +02:00
Łukasz 'sil2100' Zemczak
e601fd6fc6 releasing package livecd-rootfs version 23.10.36 2023-09-13 11:48:41 +02:00
Łukasz 'sil2100' Zemczak
6c608be212 Fix recent build failures by changing kernel/initrd naming and adjust hook conditionals for the minimal layer re-addition. 2023-09-13 11:48:21 +02:00
Sebastien Bacher
d828932160 releasing package livecd-rootfs version 23.10.35 2023-09-12 13:13:34 +02:00
Sebastien Bacher
ac41893c14 Fix the minimal option for the oem mode config 2023-09-12 12:34:31 +02:00
Sebastien Bacher
faf88cbbe7 Restore a desktop minimal layer and use if by default 2023-09-12 11:11:22 +02:00
Utkarsh Gupta
940df6e060 Install linux-virtual to restore the stripped headers
In a minimized image, the linux headers are stripped, so when
unminimizing it, we should restore those stripped headers
by installing the linux-virtual package.
2023-09-12 12:29:25 +05:30
Utkarsh Gupta
4400dd37c6 Enhance unminimize to transform into a base image for ubuntu-cpc
The unminimize script previously just restored the system documentation
and translations, man pages, and installed ubuntu-minimal and ubuntu-standard
packages to provide the familiar Ubuntu minimal system. But such an image
never became an equivalent of base image.

Upon investigation and looking at how the base image is constructed -
https://git.launchpad.net/livecd-rootfs/tree/live-build/auto/config#n1108 -
we use the following things:
 - minimal task
 - standard task
 - cloud-image task (which involves ubuntu-server)
 - ubuntu-minimal package
 - server task if arch != amd64

OTOH, in the unminimize script, we use the following:
(https://git.launchpad.net/livecd-rootfs/tree/live-build/auto/build#n286)
 - ubuntu-minimal package
 - ubuntu-standard package

So upon running some tests, it was found that if we install ubuntu-server
(with --fix-policy flag), we get the resulting image equivalent to that
of a base image.

cf: https://warthogs.atlassian.net/browse/CPC-3033
2023-09-12 12:29:17 +05:30
Dan Bungert
4c6d5b0501 releasing 23.10.34 2023-09-08 08:58:12 -06:00
Dan Bungert
4c6bb3c386 Merge remote-tracking branch 'dbungert/lp-2026225-surely' into ubuntu/master 2023-09-07 21:31:20 -06:00
Steve Langasek
31847e264b changelog 2023-09-07 17:10:41 -07:00
Dan Bungert
07fec08555 changelog 2023-09-07 16:54:53 -06:00
Dan Bungert
c00bbf3fb3 desktop: place kernel in the live layer
Placing the kernel in the live layer allows for selecting at install
time which kernel to install.
2023-09-07 16:52:53 -06:00
Dave Jones
7fbe0825b7 Remove spam from boot mountpoint
The pi images contain redundant copies of cmdline.txt and config.txt in
the boot partition mount-point (which get hidden by the *actual* boot
partition). This commit removes those and simplifies the subarch check
(again, +raspi is the only subarch in use at this point on the Raspberry
Pi images)
2023-09-07 10:58:18 +01:00
Steve Langasek
61c1b9bacb Merge remote-tracking branch 'mwhudson/use-server-live-task' into ubuntu/master 2023-09-06 20:04:03 -07:00
Steve Langasek
867f5465d0 changelog 2023-09-06 18:28:30 -07:00
Michael Hudson-Doyle
2e1b092a0e auto/config: use the new server-live task to reduce the use of explicit calls to add_package and add_snap a bit. 2023-09-07 12:55:53 +12:00
Steve Langasek
6be1e868f0 Drop live-build/ubuntu-server/includes.chroot.ubuntu-server-minimal/etc/hosts
/etc/hosts in an installed system comes from one of several places:
- the netbase package which ships a sane default
- scripts/casper-bottom/18hostname, which is mostly identical to the netbase
  one but sets a hostname to the flavor name
- the installer which writes one to the target fs
- chroot includes in livecd-rootfs

A chroot include is only needed for images that don't include netbase (so
don't inherit from the minimal seed), don't boot casper, and don't run an
installer.

NONE of these conditions are true for the ubuntu-server live image.  And in
addition, the /etc/hosts here differs from the others.

So, remove it.
2023-09-06 17:55:43 -07:00
Steve Langasek
1e91885827 releasing package livecd-rootfs version 23.10.33 2023-09-06 15:51:15 -07:00
Steve Langasek
5a456417d2 Drop code only used for d-i based ubuntu-server images, no longer supported. 2023-09-06 15:40:55 -07:00
Steve Langasek
6d834be1bf More consolidation of duplicate configs 2023-09-06 15:39:55 -07:00
Steve Langasek
86917060b8 Remove dead code: is never 'amd64' 2023-09-06 15:35:40 -07:00
Steve Langasek
65157e0c13 Duplicate if condition 2023-09-06 15:16:01 -07:00
Steve Langasek
cd9c0e4bd7 More consolidation of duplicate configs 2023-09-06 15:13:01 -07:00
Steve Langasek
e501d7ab4c More consolidation of duplicate configs 2023-09-06 14:56:54 -07:00
Steve Langasek
76d133becf Remove unnecessary arch guarding of the UbuntuStudio kernel selection: we only build this image on amd64 (the arch checking is from i386 days), and the lowlatency kernel also exists on arm64. 2023-09-06 14:47:11 -07:00
Steve Langasek
d169cb531c ubuntukylin-default-settings is part of the task, don't hard-code the package. 2023-09-06 14:36:29 -07:00
Steve Langasek
a53fe72235 Drop references to kubuntu-dvd, obsoleted in 2012. 2023-09-06 14:34:36 -07:00
Steve Langasek
7c4ad85509 Merge some more live image definitions 2023-09-06 12:59:40 -07:00
Steve Langasek
214fee87ee generic is the default kernel flavor in live-build on Ubuntu; remove hard-coded cargo-culting of this setting. 2023-09-06 12:56:27 -07:00
Steve Langasek
5776828153 Parameterize and consolidate live image definitions for flavors using a common pattern 2023-09-06 12:04:45 -07:00
Steve Langasek
80d331ef9c Clearer changelogs about when things went obsolete 2023-09-06 11:59:53 -07:00
Steve Langasek
458f58bb7a Drop references to mythbuntu, obsolete after xenial. 2023-09-06 11:59:32 -07:00
Steve Langasek
f763efa40e Drop references to ubuntu-dvd, obsolete since precise. 2023-09-06 11:53:23 -07:00
Steve Langasek
d7e77d7acf Alphabetize for clarity 2023-09-06 11:49:28 -07:00
Steve Langasek
f2360a58c8 remove redundancy from case statement 2023-09-06 11:48:22 -07:00
Steve Langasek
f44c2aac8c merge redundant cases for seed/mirror handling 2023-09-06 11:43:11 -07:00
Steve Langasek
caace43cb9 ubuntu-unity-live task exists, use it also instead of hard-coded list of packages. 2023-09-06 11:36:18 -07:00
Steve Langasek
fc49fb286c Drop references to ubuntu-netbook, obsolete since Ubuntu 11.04. 2023-09-06 11:32:43 -07:00
Steve Langasek
e8a08ad084 Don't hard-code addition of xterm package on xubuntu, it's in the task already. 2023-09-06 11:28:50 -07:00
Steve Langasek
7c51e152f1 ubuntucinnamon-live task has existed for a while now, use it instead of hard-coded list of packages. 2023-09-06 11:26:58 -07:00
Steve Langasek
abc60bc135 Drop references to kubuntu-plasma5, obsolete since wily 2023-09-06 11:24:06 -07:00
Łukasz 'sil2100' Zemczak
d7f2a4f240 releasing package livecd-rootfs version 23.10.32 2023-09-06 18:24:28 +02:00
Łukasz 'sil2100' Zemczak
e38264ca7a Merge branch 'canary-as-default' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2023-09-06 18:23:07 +02:00
Steve Langasek
e5646cd530 releasing package livecd-rootfs version 23.10.31 2023-09-05 14:43:26 -07:00
Steve Langasek
7ae752357f mark the minimized autopkgtest as also allowing stderr, in the event of any error messages from blkid. 2023-09-05 14:40:35 -07:00
Steve Langasek
34e850d4a5 blkid is unreliable in mount_image(), but this blkid call is only here for debugging, so ignore any failures (even if we don't understand them). LP: #2034299. 2023-09-05 12:30:15 -07:00
Łukasz 'sil2100' Zemczak
76141ad5f3 Add changelog. 2023-09-05 19:23:32 +02:00
Łukasz 'sil2100' Zemczak
9b33f085c1 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-as-default 2023-09-05 19:00:32 +02:00
Simon Poirier
3729e2ae94 fix: add back systemd-resolved to buildd images.
systemd-resolved got moved out of the systemd package in kinetic and is
required for bootable buildd environement (as opposed to launchpad buildd)
(LP: #2007419)
2023-09-01 17:29:15 -04:00
Utkarsh Gupta
990e66dadd Update d/ch for 23.10.30 release 2023-09-02 02:30:13 +05:30
Utkarsh Gupta
78a98c6835 Fix unminimize to correctly list packages (LP: #1996489)
Prior to dpkg/1.21.0, there was a bug where dpkg -V/--verify
couldn't list all the correct packages correctly but with
that being fix and in archive since Jammy, this works perfectly
but the syntax to report the missing files have changed. It
just prints 'missing' now. With that new format, we can now
fix the regex to simply list the packages.

With this patch, the unminimize script works flawlessly
on a minimized image.
2023-09-02 00:39:41 +05:30
Philip Roche
ad7ac10fba Update changelog for livecd-rootfs 23.10.31 (LP: #2033751) 2023-09-01 12:24:59 +01:00
Philip Roche
57153243a6 fix: disk-image-non-cloud ubuntu-cpc build target now provides manifest and filelist (LP: #2033751)
These were being created so now they can be downloaded post launchpad image build
2023-09-01 12:21:39 +01:00
Philip Roche
7dd9b1bd84 fix: Create .filelist in ubuntu-cpc project binary hooks that do not use create_manifest shared function (LP: #2033751)
ubuntu-cpc project binary hooks were not all producing .filelist files as they were not using
the create_manifest shared function.

This commit ensures the disk-image-uefi, disk-image-ppc64el and disk-image-uefi-non-cloud hooks create
a filelist during build.
2023-09-01 12:21:34 +01:00
Philip Roche
c72d1a7f2b fix: Ensure any created .filelist is symlinked with expected prefix and correct permissions (LP: #2033751)
If a .filelist is present, use it as the filelist for the image by
symlinking with expected name and updating permissions
2023-09-01 12:21:12 +01:00
Philip Roche
f8bd628c83 fix: Sort filelists creating when building ubuntu-cpc images (LP: #2033677)
The image filelists created during ubuntu-cpc project image builds were not sorted.

Soring the filelists makes it easier to compare the filelists without needing to sort first.
2023-08-31 20:36:00 +01:00
Łukasz 'sil2100' Zemczak
322b822087 releasing package livecd-rootfs version 23.10.29 2023-08-31 15:25:05 +02:00
Łukasz 'sil2100' Zemczak
4a5af08b91 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-sync-tasks 2023-08-31 15:22:50 +02:00
Steve Langasek
459665593c releasing package livecd-rootfs version 23.10.28 2023-08-30 08:28:59 -07:00
Steve Langasek
8c3d3087d6 Allow stderr in the autopkgtest. 2023-08-30 08:28:51 -07:00
Łukasz 'sil2100' Zemczak
3a715d2fff Don't reset KERNEL_FLAVOURS for canary. 2023-08-30 16:47:21 +02:00
Łukasz 'sil2100' Zemczak
47a88df62f I suppose w don't need the 020-canary-live.binary hook anymore. 2023-08-30 14:25:26 +02:00
Łukasz 'sil2100' Zemczak
bbf7466695 Changelog entry. 2023-08-30 12:05:49 +02:00
Łukasz 'sil2100' Zemczak
0c6e4314e5 canary: switch to use the live task, try to use KERNEL_FLAVOURS instead of a manual kernel add_package. 2023-08-30 11:57:04 +02:00
Steve Langasek
6e30df92f2 releasing package livecd-rootfs version 23.10.27 2023-08-29 10:39:26 -07:00
Steve Langasek
b30e7e4146 lb_chroot_layered: if the unmount of the chroot mountpoint fails, dump mount information for debugging. 2023-08-29 10:39:21 -07:00
Steve Langasek
5a0909dd20 Add ubuntu to the list of targets we autopkgtest for on amd64, to ensure coverage of the lb_chroot_layered behavior. 2023-08-29 10:34:26 -07:00
Łukasz 'sil2100' Zemczak
4c5f394653 releasing package livecd-rootfs version 23.10.26 2023-08-28 15:48:38 +02:00
Łukasz 'sil2100' Zemczak
353d222c94 Merge branch 'seed.yaml-live' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2023-08-28 15:48:00 +02:00
Łukasz 'sil2100' Zemczak
4a2e30a3b3 Update enhanced-sb layer model assertion. 2023-08-28 12:23:30 +02:00
Michael Hudson-Doyle
6ab6066c05 Use a traditional seed.yaml style seed for the canary installer's live session. 2023-08-28 21:29:24 +12:00
Michael Hudson-Doyle
e00e189ad6 releasing package livecd-rootfs version 23.10.25 2023-08-28 14:03:04 +12:00
Michael Hudson-Doyle
b91452e7fe snap-seed-parse.py: fix builds with no snaps. 2023-08-28 14:02:51 +12:00
Michael Hudson-Doyle
0d35c7645f releasing package livecd-rootfs version 23.10.24 2023-08-28 12:49:08 +12:00
Michael Hudson-Doyle
db6f685b84 snap-seed-parse.py: Update to allow parsing uc20-style seeds. (LP: #2028984) 2023-08-28 11:30:11 +12:00
Michael Hudson-Doyle
3d5fd1120c Configure universe sources in canary ISO. (LP: #2033109) 2023-08-28 10:43:52 +12:00
Michael Hudson-Doyle
a83925b8ac update-source-catalog: Fix case where a variaton does not point at the base layer (i.e. most builds) (LP: #2033168) 2023-08-28 10:40:53 +12:00
Steve Langasek
57fb4b2b04 releasing package livecd-rootfs version 23.10.23 2023-08-26 16:34:30 -07:00
Steve Langasek
ac65e0b05c Remove obsolete comment. We do want this hook executed for non-canary builds! 2023-08-26 15:14:08 -07:00
Steve Langasek
21333e9889 Drop mke2fs.conf override, no longer needed. 2023-08-26 15:12:09 -07:00
Steve Langasek
cb3f3292b2 i386 foreign-arch support was added for the canary image before 23.04 released, but by mistake it was only added to the squashfs for the live session, and not the squashfs layer used as the source for installation. split the chroot hooks to add this to the standard.squashfs. LP: #2033170. 2023-08-26 15:06:14 -07:00
Michael Hudson-Doyle
809fbee16b releasing package livecd-rootfs version 23.10.22 2023-08-25 18:45:15 +12:00
Michael Hudson-Doyle
a945ef83a7 fix silly typo in update-source-catalog 2023-08-25 17:09:03 +12:00
Michael Hudson-Doyle
f354d76a83 Stop launching a gnome-terminal at startup of the canary live session. (LP: #2032647) 2023-08-25 15:22:02 +12:00
Michael Hudson-Doyle
9b75387648 update-source-catalog: work better when we want a variation to point at the base layer. 2023-08-25 15:15:02 +12:00
Michael Hudson-Doyle
5456e4e5e6 Undo preseeding in reset_snapd_state. 2023-08-25 14:50:08 +12:00
Steve Langasek
19c8076966 releasing package livecd-rootfs version 23.10.21 2023-08-23 10:31:51 -07:00
Michael Hudson-Doyle
e992090dca add an essay about rsync options 2023-08-23 22:30:44 +12:00
Steve Langasek
2b80fdecd2 No need to use rsync in hooks now to avoid file duplication since layer handling as a whole now uses rsync. 2023-08-23 22:21:41 +12:00
Steve Langasek
b43e3b84f4 Reset /var/lib/snapd in the upper layers before calling snap prepare-image 2023-08-23 22:21:41 +12:00
Steve Langasek
d3a75c9bec Consolidate canary layers to merge 'classic' back into 'standard' 2023-08-23 22:21:32 +12:00
Michael Hudson-Doyle
6890dfe5ca Deduplicate the layers just before creating the squashfs, to enable deduplication of the result of binary hooks as well. 2023-08-23 22:14:15 +12:00
Łukasz 'sil2100' Zemczak
caedce593b releasing package livecd-rootfs version 23.10.20 2023-08-22 17:16:00 +02:00
Łukasz 'sil2100' Zemczak
b1a118f4d7 Update canary model assertions.: 2023-08-22 17:15:36 +02:00
Utkarsh Gupta
13c3321bb8 Update d/ch for 23.10.19 release 2023-08-22 14:55:35 +05:30
Utkarsh Gupta
7b1b63147e Add python3-systemd to our minimized builds
This package is needed by ubuntu-advantage-tools for cloud images
only. u-a-t ultimately will drop this entirely in their next release.
(cf: https://github.com/canonical/ubuntu-pro-client/issues/2692)

So instead of putting this in the seeds and then having to deal
with the seed changes to Mantic (after its release) and SRU of
ubuntu-meta, I'd rather have changes in livecd-rootfs done. Once
python3-systemd dependency is dropped from u-a-t, we'll drop it
from livecd-rootfs in Mantic+, too.
2023-08-22 14:48:33 +05:30
Łukasz 'sil2100' Zemczak
139234da82 releasing package livecd-rootfs version 23.10.18 2023-08-18 18:00:47 +02:00
Łukasz 'sil2100' Zemczak
9d9a68d6bf Fix the 020-canary-* hooks referencing the wrong layer names after changes introduced in 23.10.17. 2023-08-18 18:00:24 +02:00
Łukasz 'sil2100' Zemczak
6eca613644 Refresh the canary model assertions. 2023-08-18 17:50:56 +02:00
Łukasz 'sil2100' Zemczak
8a9ba050c3 Make canary images default for Ubuntu. 2023-08-18 12:16:28 +02:00
Steve Langasek
121e5d8195 releasing package livecd-rootfs version 23.10.17 2023-08-17 09:39:48 -07:00
Steve Langasek
94ab5c0f7a Merge branch 'meta-squash-fs' into ubuntu/master 2023-08-17 08:16:49 -07:00
Philip Roche
3531a2b2b4 fix: Only close LP bug once in changelog entry
Indent related fixes under same bug heading
2023-08-17 12:41:46 +01:00
Philip Roche
a373fb527c fix: Install required package fuse3 when preseeding snaps (LP: #2031640)
fuse3 was previously installed through recommends but with minimized images we no longer install recommends packages.

It is only required when preseeding snaps so does not need to be present in all minimized images so does not
need to be in the cloud-minimal seed.
2023-08-17 11:50:20 +01:00
Philip Roche
294a65452d fix: Ensure required dependencies are installed before trying grub-install (LP: #2031640)
As a result of not installing recommended packages the packages required to run `grub-install`
are no longer installed by default.

To ensure we can successfully run `grub-install` we install both `grub-pc` and `grub2-common`
packages.
2023-08-17 11:49:11 +01:00
Philip Roche
711c5c291f fix: Remove dangling symlink /boot/initrd.img.old if exists (LP: #2031640)
As a result of not installing recommended packages we have dangling symlink `/boot/initrd.img.old`

As per the preceding `/boot/initrd.img` cleanup. Cleanup of `/boot/initrd.img.old`
only happens if it is a dangling symlink.

These `rm` commands also have `--verbose` flags now to make it easier when debugging logs
2023-08-17 11:48:22 +01:00
Philip Roche
d1ec6f8947 fix: Do not install recommends for ubuntu-cpc minimized project (LP: #2031640)
For minimized images we do not want to install any recommended packages.
We can do this by setting APT::Install-Recommends to false in apt config
or by passing --no-install-recommends to apt-get install.
2023-08-17 11:46:59 +01:00
Utkarsh Gupta
21fa212d12 Update d/ch for 23.10.15 release 2023-08-17 07:07:16 +05:30
Utkarsh Gupta
75e67290b6 Merge remote-tracking branch 'hammerstefan/fix-armhf' into ubuntu/master
* hammerstefan/fix-armhf:
  fix(armhf): Fix armhf kernel file detection
2023-08-17 07:06:15 +05:30
Dan Bungert
fcde591061 changelog 2023-08-16 17:21:37 -06:00
Dan Bungert
91641eeeec cpc/hooks: fix hang when running adt locally
While attempting to run autopkgtest locally, the test stops at the
following command:
ssh-keygen -t ed25519 -C ubuntu_vagrant_insecure_key -b 4096 -f
/tmp/tmp.VuAfnsBv1G/vagrant_insecure_key

This is found in live-build/ubuntu-cpc/hooks.d/base/vagrant.binary

It appears to be waiting for a passphrase, as running that outside of
adt gives a more helpful "Enter passphrase" prompt.

Explicitly set the passphrase to empty with the `-N` argument.
2023-08-16 17:20:54 -06:00
Steve Langasek
6f1fc57ebc Merge the minimal and standard layers on the Ubuntu Desktop images (both daily-live and canary), now that there is no separate minimal install target. 2023-08-16 14:35:27 -07:00
Dan Bungert
51dcf5f115 changelog for 23.10.14 2023-08-15 18:05:50 -06:00
Dan Bungert
e03d43e069 canary: drop minimal install source 2023-08-15 18:03:45 -06:00
Dan Bungert
16c1c3499e canary: fix lang layers generation 2023-08-15 18:03:27 -06:00
Dan Bungert
2d33c8de61 canary: fix layer for "classic" variation 2023-08-15 18:01:44 -06:00
Dan Bungert
592f753e26 canary: +dctrl-tools, subiquity uses it 2023-08-15 18:01:12 -06:00
Utkarsh Gupta
61ae209071 Update d/ch for 23.10.13 release 2023-08-10 01:44:53 +05:30
Stefan Hammer
08db5c2418 fix(armhf): Fix armhf kernel file detection
Armhf images install the `generic-lpae` kernel, while other ARCHes use the
standard `generic` kernel when building the "virtual" image flavour.
Code was looking for a kernel binary ending with -generic in armhf
builds, and failed. Add a special condition to handle armhf builds'
kernel ending with `generic-lpae`

References:
[1] https://bugs.launchpad.net/cloud-images/+bug/2029527
2023-08-09 10:09:22 -05:00
Jess Jang
5e96ff013e fix: bind correct apparmor feature for validating snap seed
During Realtime kernel image build, there was an error during
validating snap seed which derivative images copied 5.19
apparmor feature and can't validate when Realtime kernel (5.15)
installed [0].

To prevent this, bind correct apparmor feature with kernel
version.

[0] https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2024639

(cherry picked from commit 6b54faa6be6286017eb2dc701534cf780ae462ce)
2023-08-08 10:12:27 -05:00
Utkarsh Gupta
774b7c6c5a Update d/ch for 23.10.12 release 2023-08-08 15:45:56 +05:30
Utkarsh Gupta
7647b027b9 Merge branch 'drop-more-packages' into ubuntu/master
* drop-more-packages:
  Avoid purging packages for ubuntu-cpc
2023-08-08 15:44:33 +05:30
Utkarsh Gupta
ca84320688 Avoid purging packages for ubuntu-cpc
With the switch to the ubuntu-cloud-minimal seed, we
don't really need to purge anything now. On the contrary,
the purging of packages if not installed, fails with the
exit code of 100.
2023-08-08 15:17:02 +05:30
Michael Hudson-Doyle
fb465e6921 releasing package livecd-rootfs version 23.10.11 2023-08-08 13:58:15 +12:00
Michael Hudson-Doyle
4f6f63dd6b Remove additional dependencies from subiquity units as they are now interfering with the boot process. (LP: #2028862) 2023-08-08 13:02:08 +12:00
Łukasz 'sil2100' Zemczak
494ef427e8 Merge branch 'canary-locale' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2023-08-07 11:31:02 +02:00
Dan Bungert
3522847a77 changelog 2023-08-03 21:39:19 -06:00
Dan Bungert
aa2d04bd9d revert KERNEL_FLAVORS=none 2023-08-03 21:39:04 -06:00
Łukasz 'sil2100' Zemczak
4fc64be673 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-locale 2023-08-03 12:51:12 +02:00
Łukasz 'sil2100' Zemczak
4cc5d37900 Fix changelog version and whitespace. 2023-08-03 12:48:47 +02:00
Dan Bungert
95b37dcb8c budgie: KERNEL_FLAVOURS=none 2023-08-02 16:06:31 -06:00
Dan Bungert
6010b5de5e desktop: KERNEL_FLAVOURS=none
no need to include the kernel directly, it is installed at
runtime (LP: #2026225)
2023-08-02 16:06:31 -06:00
Michael Hudson-Doyle
101e5b6f19 releasing package livecd-rootfs version 23.10.8 2023-08-02 13:19:51 +12:00
Michael Hudson-Doyle
cf75120068 lb_chroot_layered: use rsync to make more minimal overlay layers. (LP: #2028213) 2023-08-02 13:18:03 +12:00
Michael Hudson-Doyle
276d577722 add changelog entry for vf2_edk2 merge 2023-08-02 13:16:55 +12:00
Heinrich Schuchardt
fd75a28558 risc-v: increase loader 2 partition for VF2
EDK II is available for the StarFive VisionFive 2 board. As it is larger
than U-Boot we need to increase the size of the loader 2 partition to
accommodate it.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-08-01 16:06:00 +02:00
Michael Hudson-Doyle
cb1a24a5fb releasing package livecd-rootfs version 23.10.7 2023-07-30 09:18:36 +12:00
Michael Hudson-Doyle
d3dfb12f85 Actually fix live-build/ubuntu-cpc/hooks.d/base/disk-image.binary to not call force_boot_without_initramfs on s390x rather than disk-image-uefi.binary which obviously would never run on s390x. 2023-07-29 13:02:56 +12:00
Michael Hudson-Doyle
41f4783f19 releasing package livecd-rootfs version 23.10.6 2023-07-29 07:56:41 +12:00
Michael Hudson-Doyle
37341541b4 live-build/ubuntu-cpc/hooks.d/base/disk-image.binary: Do not call force_boot_without_initramfs on s390x. 2023-07-29 07:34:35 +12:00
Michael Hudson-Doyle
c42f2ef3b1 live-build/ubuntu-cpc/hooks.d/base/disk-image-*.binary: Fix invocations of force_boot_without_initramfs to pass "mountpoint" and not "${mountpoint}" (which actually worked on most arches for VERY BAD reasons but fails on s390x). 2023-07-29 07:33:22 +12:00
Michael Hudson-Doyle
777fe1f699 releasing package livecd-rootfs version 23.10.5 2023-07-28 11:05:57 +12:00
Michael Hudson-Doyle
0595a12093 add changelog entry for previous merge 2023-07-28 11:03:44 +12:00
Michael Hudson-Doyle
ee2b6290bc Merge remote-tracking branch 'utkarsh/ubuntu-cloud-minimal' into ubuntu/master 2023-07-28 11:01:41 +12:00
Łukasz 'sil2100' Zemczak
09cec13e37 canary: attempt to enable locale support for canary layers. 2023-07-19 17:15:57 +02:00
Utkarsh Gupta
06defc4348 Use ubuntu-cloud-minimal metapackage in minimized CPC images
Now that we have the cloud-minimal seed for minimized cloud
image builds, we should drop all the workarounds and hacks
we once needed when we were using the server seed. We can
directly use the new metapackage and get rid of the tasks and
other autoremoves, et al.
2023-07-19 16:36:35 +05:30
Łukasz 'sil2100' Zemczak
f045e9d376 releasing package livecd-rootfs version 23.10.4 2023-07-19 11:07:08 +02:00
Łukasz 'sil2100' Zemczak
9d9f7a71a5 canary: use 23.10 models. 2023-07-19 11:06:40 +02:00
Loïc Minier
8cd0c5a852 Depend on devscripts
classic ubuntu-image builds will build the gadget from a repository
using make, and the reference pc-gadget snap uses chdist to pull the
latest GRUB/shim from the proper series x pocket; NB: chdist was used
instead of the more convenient pull-lp-debs as devscripts is in main
while ubuntu-dev-tools is in universe. It's inelegant for livecd-rootfs
to pick up dependencies needed to build gadgets, even if it's for the
official ones as other gadgets might want other dependencies, rather
this should be expressed as part of the build contract of the gadget, or
livecd-rootfs should only consume pre-built gadgets built in a standard
way (e.g. snap build, deb build etc.).
2023-07-16 10:47:29 +00:00
Dimitri John Ledkov
e1eab51d3a
releasing package livecd-rootfs version 23.10.2 2023-07-14 13:42:08 +01:00
Dimitri John Ledkov
7ae6dbbb8e
Set gbp dch vendor to debian for correct new changelog version.
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-14 13:40:56 +01:00
Dimitri John Ledkov
c18d3f75ad
Fixup up two more places with kvm removal.
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-14 13:16:05 +01:00
Dimitri John Ledkov
5cd0542da5
releasing package livecd-rootfs version 23.10.1 2023-07-14 00:27:00 +01:00
Dimitri John Ledkov
433a79d5a9
Merge remote-tracking branch 'origin/xnox/virtual-armhf' into ubuntu/master 2023-07-14 00:24:43 +01:00
Dimitri John Ledkov
731a0b49e3
Merge remote-tracking branch 'origin/xnox/deprecate-kvm' into ubuntu/master 2023-07-14 00:24:36 +01:00
Yao Wei (魏銘廷)
1038f94330 feat: add ubuntu-oem project for oem images 2023-07-12 11:10:40 +08:00
Michael Hudson-Doyle
448defa7f3 Merge branch 'revert/cpc/esp_on_boot' into ubuntu/master 2023-07-10 22:26:38 +12:00
Michael Hudson-Doyle
9fbf523b47 update version number 2023-07-10 22:26:33 +12:00
gauthier
f3afd862d5 update d/c 2023-07-10 12:05:38 +02:00
Sebastien Bacher
7164bf9d68 releasing package livecd-rootfs version 2.898 2023-07-07 07:42:10 +02:00
Sebastien Bacher
a67777a41f Remove the catalog entry for minimal Ubuntu desktop 2023-07-06 20:35:31 +02:00
Gauthier Jolly
2929ff092e Revert "ubuntu-cpc: Make the ESP 2GiB and mount it to /boot"
Revert this change for now as /boot then becomes a FAT partition which
breaks DPKG requirements[1]. This change is going to be re-evaluated and
maybe introduced in a different way.

This is not a clean revert because of 3282efb ("ubuntu-cpc: cleanup
disk-images-uefi.binary") which we want to keep.

[1] https://wiki.debian.org/Teams/Dpkg/FAQ#Q:_What_are_the_filesystem_requirements_by_dpkg.3F

This reverts commit 6a66666e0a5ab1ad96cb0e388f278aafbd012ffe.
2023-07-06 11:12:01 +02:00
Gauthier Jolly
a3307ebdb7 Revert "ubuntu-cpc: disable kernel and initramfs symlinks in /boot"
This reverts commit b20e894a9878837ed84f9db71997f68476d632b5.
2023-07-06 11:04:20 +02:00
Łukasz 'sil2100' Zemczak
7c302dc436 releasing package livecd-rootfs version 2.897 2023-07-06 09:58:02 +02:00
Łukasz 'sil2100' Zemczak
370f0f5f9c Changelog entry. 2023-07-05 21:01:36 +02:00
Heinrich Schuchardt
af577c87b2 RISC-V: handle kernel flavour allwinner
Package linux-allwinner has a kernel with the generic flavour as
dependency. Add this translation to our code checking the correct
installation.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-05 14:52:54 +02:00
Heinrich Schuchardt
476e202403 Revert RISC-V: sunset allwinner kernel flavour
According to the kernel team the Linux Meta package linux-allwinner shall
continue to be supplied. It will depend on generic packages.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-05 14:51:08 +02:00
Michael Hudson-Doyle
1a3980ec6c releasing package livecd-rootfs version 2.896 2023-07-05 13:24:17 +12:00
Michael Hudson-Doyle
b5387cb32b Disable the orphan_file ext4 feature in the canary live environment so that the installed system can be handled by the e2fsck in the extant kernel snap (cf. bug 2025339). 2023-07-05 11:41:44 +12:00
Michael Hudson-Doyle
7d0aa68826 live-build/ubuntu/hooks/033-disk-image-uefi.binary: update to point at ubuntu-cpc/hooks.d/base/disk-image-uefi-non-cloud.binary, fixing canary build. 2023-07-05 10:13:38 +12:00
Dimitri John Ledkov
dc59fe83ca Deprecate linux-kvm usage
Remove kvm-image altogether.

Previously for minimal image replace_kernel function replaced virtual
images with kvm, and called force_boot_without_initramfs. Now simply
call force_boot_without_initramfs for minimal image without replacing
kernel flavour.

This also means minimal images can now be built for arm64 and armhf.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-04 12:58:03 +01:00
Dimitri John Ledkov
1b6bfda382 Switch armhf from generic-lpae to virtual
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-07-04 12:51:39 +01:00
Steve Langasek
13db048c9d releasing package livecd-rootfs version 2.895 2023-07-03 17:29:23 -07:00
Steve Langasek
9e9d3d627e Changelog 2023-07-03 12:35:31 -07:00
Steve Langasek
aa59c86540 Merge remote-tracking branch 'gjolly/ubuntu-cpc/uefi_cleanup' into ubuntu/master 2023-07-03 12:34:34 -07:00
Łukasz 'sil2100' Zemczak
93122043c5 releasing package livecd-rootfs version 2.894 2023-07-03 16:34:08 +02:00
Łukasz 'sil2100' Zemczak
4329753fa4 Changelog entry for previous commit. 2023-07-03 16:33:30 +02:00
Heinrich Schuchardt
2e9201952f RISC-V: sunset allwinner kernel flavour
The Nezha D1 and LicheRV Dock now use the generic kernel.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-07-03 13:01:43 +02:00
Loïc Minier
9390fdaa0a Update changelog 2023-06-28 10:15:10 +00:00
Gauthier Jolly
3282efb287 ubuntu-cpc: cleanup disk-images-uefi.binary
Remove all the logic that is not related to cloud-images. Non
cloud-images should use disk-image-uefi-non-cloud.binary
2023-06-28 12:03:42 +02:00
Loïc Minier
ea8564afe2 Add channel override for ubuntu-image channel 2023-06-28 09:26:29 +00:00
Loïc Minier
430ec27308 Use ubuntu-image for pre-installed Tegra images 2023-06-28 09:22:56 +00:00
Loïc Minier
b6c9a4d711 Add support for tegra-igx (similar to tegra) 2023-06-28 09:21:03 +00:00
Loïc Minier
a239256c06 Set MODEL=tegra for arm64+tegra 2023-06-28 09:16:03 +00:00
Loïc Minier
8bf4d3500f Use image definition path rather than making a copy 2023-06-28 09:15:49 +00:00
Loïc Minier
262d0f3170 Offer overrides for ubuntu-images definitions 2023-06-28 09:15:41 +00:00
Łukasz 'sil2100' Zemczak
16571fe97e releasing package livecd-rootfs version 2.892 2023-06-28 10:45:49 +02:00
Łukasz 'sil2100' Zemczak
99189cc727 Merge branch 'cpc/riscv/install_grub' of git+ssh://git.launchpad.net/~gjolly/livecd-rootfs into ubuntu/master 2023-06-28 10:45:13 +02:00
Łukasz 'sil2100' Zemczak
01879eb72f Add changelog entry. 2023-06-28 10:43:39 +02:00
Łukasz 'sil2100' Zemczak
95d6a004a6 Some minor tweaks to the changes done by xypron. 2023-06-28 10:42:27 +02:00
Heinrich Schuchardt
e14379f405 RISC-V: use GRUB on Unmatched board
Up to now we have used u-boot-menu for preinstalled images for the SiFive
HiFive Unmatched and Unleashed boards and GRUB for all other RISC-V images.
The choice was made because RISC-V GRUB was not available when the SiFive
boards where released.

Let the Unmatched and Unleashed board preinstalled images use GRUB.
Simplify the code.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-06-27 14:02:37 +02:00
Łukasz 'sil2100' Zemczak
c956d081b3 Add changelog entry for previous merge. 2023-06-26 16:49:02 +02:00
Łukasz 'sil2100' Zemczak
52549de72d Merge branch 'cpc/non-cloud' of git+ssh://git.launchpad.net/~gjolly/livecd-rootfs into ubuntu/master 2023-06-26 16:47:13 +02:00
Heinrich Schuchardt
bcfd8645f5 changelog: fix email address with comma
Avoid lintian error bogus-mail-host-in-debian-changelog.

The name part of an email address containing a comma must
be enclosed in double quotation marks.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-06-23 16:34:58 +02:00
Gauthier Jolly
bbedffe6ec ubuntu-cpc: fix images for hardware devices
Canonical Public Cloud's project seems a bad place to build images for
hardware devices however this is how things were done a we now need to
maintain this.
The recent change to mount the ESP on /boot breaks those images, instead
of adding more hacky things in the hook, create a dedicated target for
those images and use a different hook to build UEFI images.
2023-06-23 13:55:59 +02:00
Gauthier Jolly
7d7afb8abf update d/c 2023-06-23 13:28:50 +02:00
Gauthier Jolly
946c5cf90c ubuntu-cpc: install grub-efi on riscv images
grub-efi-riscv64 is in the archive and edk2 support for riscv is being
merged upstream.
2023-06-23 13:28:50 +02:00
Łukasz 'sil2100' Zemczak
775a2a718d releasing package livecd-rootfs version 2.891 2023-06-19 10:06:56 +02:00
Łukasz 'sil2100' Zemczak
ed8d11d25b Follow up fix to the CHANNEL handling for subiquity images 2023-06-19 10:06:10 +02:00
Dan Bungert
d702ed08a6 remove debian/files cruft 2023-06-16 11:16:17 -06:00
Dan Bungert
eecf65218e releasing package livecd-rootfs version 2.890 2023-06-16 11:05:45 -06:00
Dan Bungert
d34c2f5d8f Changelog entry for snap channel changes 2023-06-16 11:02:37 -06:00
Dan Bungert
3397098ff8 Allow choosing snap channel on subiquity ISOs 2023-06-16 11:02:37 -06:00
Steve Langasek
761dc8f9b2 releasing package livecd-rootfs version 2.849 2023-06-15 12:18:50 -07:00
Gauthier Jolly
f7b3182214 update d/c 2023-06-15 12:50:56 +02:00
Gauthier Jolly
b20e894a98 ubuntu-cpc: disable kernel and initramfs symlinks in /boot
This is required by the new UEFI binary hook as we mount the ESP on
/boot and the ESP filesystem doesn't support symlinks.
We keep symlinks for s390x images which do not use UEFI anyway.
2023-06-15 12:50:56 +02:00
Gauthier Jolly
6a66666e0a ubuntu-cpc: Make the ESP 2GiB and mount it to /boot
This is driven by online encryption scenarios. In order to efficiently
encrypt the root filesystem without modifying the partition layout, the
kernel should sit in an un-encrypted /boot partition.  Instead of
creating a new partition that would change the default partition layout,
we mount the ESP on /boot. We also need to then bind mount /boot on
/boot/efi because that's where Grub expects the ESP to be located.
2023-06-13 10:48:35 +02:00
Łukasz 'sil2100' Zemczak
e1f18982e6 releasing package livecd-rootfs version 2.848 2023-06-07 13:35:45 +02:00
Łukasz 'sil2100' Zemczak
38891ad4ef Add changelog for the budgie changes. 2023-06-07 13:35:18 +02:00
Łukasz 'sil2100' Zemczak
127f524068 The ubuntu-budgie installer snap is called ubuntu-budgie-installer, not ubuntu-budgie-desktop-installer. 2023-06-07 11:29:09 +02:00
Łukasz 'sil2100' Zemczak
9ef33dd59f Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into add-new-budgie 2023-06-07 11:27:55 +02:00
Łukasz 'sil2100' Zemczak
48fd86d762 releasing package livecd-rootfs version 2.847 2023-06-05 17:03:52 +02:00
Łukasz 'sil2100' Zemczak
40a1fdd60a Add boot-managed-by-snapd preinstalled for canary installs 2023-06-05 17:03:06 +02:00
Łukasz 'sil2100' Zemczak
d6c79b3ff6 releasing package livecd-rootfs version 2.846 2023-06-01 11:42:16 +02:00
Łukasz 'sil2100' Zemczak
95971f6b8f Make mtools arch-dependent. 2023-06-01 11:41:56 +02:00
Łukasz 'sil2100' Zemczak
2e8e87fb2a releasing package livecd-rootfs version 2.845 2023-05-31 17:09:52 +02:00
Łukasz 'sil2100' Zemczak
fef989b0fe Add the mtools dependency. 2023-05-31 17:09:32 +02:00
Łukasz 'sil2100' Zemczak
c7382d765e releasing package livecd-rootfs version 2.844 2023-05-31 15:17:25 +02:00
Łukasz 'sil2100' Zemczak
cf1c564854 Changelog entry. 2023-05-31 15:16:47 +02:00
Łukasz 'sil2100' Zemczak
a027e767d2 Explicitly use the snap binary for ubuntu-image. 2023-05-31 15:14:55 +02:00
Łukasz 'sil2100' Zemczak
157e4b2ac2 Better support for ubuntu-image artifact handling. 2023-05-31 15:08:35 +02:00
Łukasz 'sil2100' Zemczak
fdf685fc5e Be more verbose when using ubuntu-image, use the ubuntu-image stable snap. 2023-05-31 14:38:53 +02:00
Łukasz 'sil2100' Zemczak
381a8febb2 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ui-by-default 2023-05-31 14:34:27 +02:00
Steve Langasek
99f54dd2b6 releasing package livecd-rootfs version 2.843 2023-05-26 13:51:21 -07:00
Steve Langasek
6fac77b481 Revert "Revert "Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM."""
This reverts commit 1931bbcb194febe241aa82f03a6730ba82a84409.
2023-05-26 09:41:41 -07:00
Steve Langasek
9db14f7dee Merge remote-tracking branch 'origin/always-enable-i386' into ubuntu/master 2023-05-26 09:39:35 -07:00
Łukasz 'sil2100' Zemczak
8eba29578e Fix small typo 2023-05-24 16:41:14 +02:00
Łukasz 'sil2100' Zemczak
8b6085bb67 Some initial work on getting Ubuntu Budgie building new installer images. 2023-05-24 15:31:04 +02:00
Łukasz 'sil2100' Zemczak
f343191384 releasing package livecd-rootfs version 2.842 2023-05-24 11:09:34 +02:00
Łukasz 'sil2100' Zemczak
9f6f689b6d Add changelog entry for recent reverts. 2023-05-24 11:09:08 +02:00
Łukasz 'sil2100' Zemczak
1931bbcb19 Revert "Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM.""
This reverts commit ada1f09b39332ec828369e0a30f2870df5c4dc3e.
2023-05-24 11:06:56 +02:00
Łukasz 'sil2100' Zemczak
4dbd985231 Revert "Try to use udevadm settle after losetup to resolve race in riscv64 image builds."
This reverts commit ef146db89529fc7fbc48052e0b684f7cb95f34ee.
2023-05-24 11:05:47 +02:00
Steve Langasek
25b92777a0 releasing package livecd-rootfs version 2.841 2023-05-17 23:51:01 -07:00
Steve Langasek
5157d775f9 The base seed for edubuntu is desktop-gnome, not desktop. LP: #2019060. 2023-05-17 23:50:51 -07:00
Michael Hudson-Doyle
3e5931c19b releasing package livecd-rootfs version 2.840 2023-05-18 11:34:21 +12:00
Michael Hudson-Doyle
628134dfe7 auto/config: alter check for unexpectedly seeded snaps in ubuntu-cpc:minimized build. As the build no longer implicitly seeds the snaps from the server seed, we can just assert no snaps are seeded. This fixes an autopkgtest regression but also cleaner. 2023-05-18 11:21:58 +12:00
Michael Hudson-Doyle
35a56a5e03 auto/config: switch ubuntucinnamon and ubuntu-unity builds to use add_task to get their desktop packages. Previously most (all?) flavour builds got the snaps from that flavour's "desktop" seed implicitly added, but now an explicit add_task is needed. 2023-05-18 09:33:48 +12:00
Steve Langasek
e8ea466483 releasing package livecd-rootfs version 2.839 2023-05-17 09:28:03 -07:00
Steve Langasek
d377e535b2 Drop use of --removable flag to grub-install from buildd/hooks
This now matches the cloud images (7c760864fdcb278ca37396f06f5e3f297428d63d)
fixing bootloader updates in the buildd images, but also fixing
compatibility with using devtmpfs for losetup.
2023-05-17 09:27:08 -07:00
Michael Hudson-Doyle
51fe90d31e releasing package livecd-rootfs version 2.838 2023-05-17 15:54:01 +12:00
Michael Hudson-Doyle
cafbd6f7d6 actual content change to drop edubuntu referencing ubuntu-desktop-minimal task 2023-05-17 15:53:46 +12:00
Michael Hudson-Doyle
8704aafecc live-build/expand-task: handle seeding of classic snaps correctly. 2023-05-17 15:49:41 +12:00
Michael Hudson-Doyle
7c4fb6b804 auto/config: Do not include the ubuntu-desktop-minimal task in edubuntu. Cross flavour task references do not work with the approach expand-task takes, and the ubuntu-desktop-minimal package is part of the edubuntu-desktop-gnome task already. 2023-05-17 15:48:24 +12:00
Michael Hudson-Doyle
734da44d00 live-build/expand-task: Fix expansion of tasks with non-flavour specific name (e.g. "minimal") when building a non-Ubuntu flavour. 2023-05-17 15:45:12 +12:00
Michael Hudson-Doyle
01b851e162 auto/config: Set FLAVOUR appropriately for flavours added since the expand-task branch was created. 2023-05-17 15:41:54 +12:00
Michael Hudson-Doyle
6b92be9504 releasing package livecd-rootfs version 2.837 2023-05-15 09:36:46 +12:00
Michael Hudson-Doyle
a65c181596 auto/config: Rewrite add_task to use a Python script that cribs the logic from lp:ubuntu-archive-publishing's generate_extra_overrides.py. This means we can avoid some dubious hacks around seeding snaps and no longer depend on the Task headers in the archive. 2023-05-12 13:19:47 +12:00
Dan Bungert
db029cd387 releasing package livecd-rootfs version 2.836 2023-05-11 19:16:53 -06:00
Dan Bungert
55ecac3ca7 canary: include cryptsetup in the live layer 2023-05-11 19:07:20 -06:00
Dan Bungert
11e3de7847 releasing package livecd-rootfs version 2.835 2023-05-10 16:02:39 -06:00
Dan Bungert
56952ad06d rev changelog 2023-05-10 09:22:00 -06:00
Dan Bungert
6bc353602f canary: fix systems directory 2023-05-10 07:29:37 -06:00
Steve Langasek
6d66b8d602 releasing package livecd-rootfs version 2.834 2023-05-09 19:06:53 -07:00
Steve Langasek
cfbcf2d690 Use the correct seed base for edubuntu. LP: #2019060. 2023-05-09 19:06:48 -07:00
Steve Langasek
66f22e1730 releasing package livecd-rootfs version 2.833 2023-05-08 15:47:12 -07:00
Steve Langasek
ef146db895 Try to use udevadm settle after losetup to resolve race in riscv64 image builds. 2023-05-08 15:47:04 -07:00
Steve Langasek
ada1f09b39 Revert "Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM."
This reverts commit 7b07db91110a3dda2723bc853a43f81c4e2a2f75.
2023-05-02 15:27:41 +02:00
Łukasz 'sil2100' Zemczak
a418f52bd4 Switch canary desktop installer model. 2023-04-26 13:40:17 +02:00
Łukasz 'sil2100' Zemczak
fba9d176a6 Add cinnamon, unity and edubuntu to the workaround list. 2023-04-18 10:24:07 +01:00
Łukasz 'sil2100' Zemczak
2d234ac689 Changelog entry. 2023-04-18 10:19:30 +01:00
Łukasz 'sil2100' Zemczak
7b07db9111 Revert the recent kpartx->losetup changes, as we need to put some other changes on top. Let's try to re-introduce this for MM. 2023-04-18 10:10:28 +01:00
Steve Langasek
2f2eb7b5f3 releasing package livecd-rootfs version 2.832 2023-04-17 18:50:26 -07:00
Steve Langasek
1e0daf6af9 Clean up some remaining references to /dev/mapper. 2023-04-17 18:50:08 -07:00
Steve Langasek
a631afcb7f Unconditionally enable i386 in the chroot for Ubuntu Desktop; the new installer doesn't handle enabling this at install time, and late enablement also misses us some recommends. 2023-04-17 16:52:23 -07:00
Steve Langasek
863883793c releasing package livecd-rootfs version 2.831 2023-04-17 16:11:57 -07:00
Steve Langasek
6b40317404 Use the correct path for the loop device. 2023-04-17 16:11:50 -07:00
Steve Langasek
bdc2037bd1 releasing package livecd-rootfs version 2.830 2023-04-17 12:22:21 -07:00
Steve Langasek
a130ee17c3 Call losetup -d properly. 2023-04-17 12:22:17 -07:00
Steve Langasek
fa29b73130 releasing package livecd-rootfs version 2.829 2023-04-17 08:22:25 -07:00
Steve Langasek
a40d9de803 changelog 2023-04-17 08:22:18 -07:00
Steve Langasek
eb8fb32591 Retain dependency on kpartx - not used by us but by cpc sauce. 2023-04-17 08:20:49 -07:00
Steve Langasek
5e4b2d3cc3 Use losetup instead of kpartx to set up loopback partitions
kpartx on riscv64 appears to be racy.  Rather than trying to debug these
fraught races somewhere between udev and libdevmapper, we can use losetup
which should be simpler and less error-prone.
2023-04-17 08:20:49 -07:00
Steve Langasek
4112488a44 Merge remote-tracking branch 'lool/add-tegra-liver-server' into ubuntu/master 2023-04-14 16:45:08 -07:00
Loïc Minier
9f3b345b06 Initial support for NVIDIA Tegra
live-build/auto/config:
- for Ubuntu Server live images and the arm64+tegra full arch, build a
  tegra variant with linux-nvidia-tegra as the flavor and
  linux-nvidia-tegra as the kernel meta-package
- default to nvidia-$SUBARCH as the kernel flavor for all images using
  arm64+tegra as full arch

hooks/03-kernel-metapkg.chroot_early:
- use linux-nvidia-tegra as kernel meta-package for the nvidia-tegra
  flavor
2023-04-14 23:21:43 +00:00
Łukasz 'sil2100' Zemczak
22152cfad5 releasing package livecd-rootfs version 2.828 2023-04-14 17:42:29 +02:00
Dave Jones
18955e31bb changelog 2023-04-14 11:18:50 +01:00
Dave Jones
b6f1f7b7b3 Remove redundant creation of oem user 2023-04-14 11:18:20 +01:00
Łukasz 'sil2100' Zemczak
bfcf01f9d3 releasing package livecd-rootfs version 2.827 2023-04-13 19:44:44 +02:00
Łukasz 'sil2100' Zemczak
ac8f964b19 Fix for netboot tarballs generation. 2023-04-13 19:41:16 +02:00
Łukasz 'sil2100' Zemczak
b540ca7806 releasing package livecd-rootfs version 2.826 2023-04-13 14:48:44 +02:00
Łukasz 'sil2100' Zemczak
97f3799289 Do not reset seeds for canary. 2023-04-13 14:48:09 +02:00
Łukasz 'sil2100' Zemczak
6fcdd3b01a releasing package livecd-rootfs version 2.825 2023-04-13 11:48:16 +02:00
Łukasz 'sil2100' Zemczak
735db252ed For canary images, actually consider moving the seed listed snaps from both minimal and standard layers to the classic layer. 2023-04-13 11:47:47 +02:00
Łukasz 'sil2100' Zemczak
fc69c546de releasing package livecd-rootfs version 2.824 2023-04-13 09:45:31 +02:00
Łukasz 'sil2100' Zemczak
b8649c321f Add default values to PASS in canary hooks. 2023-04-13 09:45:04 +02:00
Steve Langasek
44d5591113 releasing package livecd-rootfs version 2.823 2023-04-12 10:40:58 -07:00
Steve Langasek
a13f729927 Make PROPOSED=1 builds work with NotAutomatic (lunar and later). LP: #2016022. 2023-04-12 10:40:53 -07:00
Steve Langasek
9fc5d2ce13 Update infinite_scream URL to mastodon 2023-04-12 09:38:00 -07:00
Steve Langasek
b88d4e62de releasing package livecd-rootfs version 2.822 2023-04-10 08:37:37 -07:00
John Chittum
d49cd0e373
changelog entry 2023-04-10 07:35:56 -05:00
John Chittum
c0af2ca443
fix: riscv64 efi conditional
missing a && between icicle and visionfive, led to /boot/efi still being
in place, and grub-install running instead of exiting the func.
fixes LP:2015750
2023-04-10 07:33:08 -05:00
Dan Bungert
38cb20bd88 changelog entry for i386 fix 2023-04-07 17:25:00 -06:00
Dan Bungert
a7d66f6bc4 d/control: fix uninstallability - rsync vs i386 2023-04-07 17:24:00 -06:00
Chad Smith
3d8d08015a releasing package livecd-rootfs version 2.821 2023-04-07 17:11:48 -06:00
Chad Smith
bec2406475 changelog entry 2023-04-07 17:11:48 -06:00
Chad Smith
9a82720f1c cloud-init: prefer netplan to handle all network manager config
Cloud-init cannot write directly to
/etc/NetworkManager/system-connections because subiquity may
need to emit config to /etc/netplan/00-installer.yaml and call
netplan apply for autoinstall.network use-cases.

When cloud-init's config is written directly to
/etc/NetworkManager, neither netplan nor subiquity has knowledge of
this config and this results in namespace collisions in NetworkManager
due to `netplan-` named connections and `cloud-init` connection ids
fighting over which config own a given interface name.

Deleting this config overlay allows subiquity to manage all network
setup when it needs to with netplan directly.

Subiquity already has logic to rename any unwanted netplan
configuration when it intends to write cfg and run netplan apply[1].
This should allow subiquity full control of network config when needed.

[1] https://github.com/canonical/subiquity/blob/
    92ac6544cdfedfd332d8cd94dbcfad0aab994575/subiquitycore/
        controllers/network.py#L267

LP: #2015605
2023-04-07 17:09:11 -06:00
Łukasz 'sil2100' Zemczak
fce09c0e05 releasing package livecd-rootfs version 2.820 2023-04-06 21:43:35 +02:00
Łukasz 'sil2100' Zemczak
1dd00d9795 Add the includes as well. 2023-04-06 21:42:12 +02:00
Łukasz 'sil2100' Zemczak
3ec8601feb Ok, early hooks do not have the environment. Just case on canary being the only one using hooks for now. 2023-04-06 19:25:44 +02:00
Łukasz 'sil2100' Zemczak
0ca404dd14 Missing dependency for gadget priming. 2023-04-06 17:22:26 +02:00
Łukasz 'sil2100' Zemczak
3752ea7cf1 Add -eu to the early hook as well. 2023-04-06 16:47:59 +02:00
Łukasz 'sil2100' Zemczak
edc6a7d576 SUBPROJECT is not defined by default in chroot_early hooks. 2023-04-06 16:45:58 +02:00
Łukasz 'sil2100' Zemczak
6a2cb2be27 Fix using the wrong branch name for ubuntu-image. 2023-04-06 16:05:32 +02:00
Łukasz 'sil2100' Zemczak
1fe8f8f178 Another missed change - pass IMAGEFORMAT further down. 2023-04-06 12:40:51 +02:00
Łukasz 'sil2100' Zemczak
59f12263ed Some missing changes for image definition handling. 2023-04-06 10:05:40 +02:00
Łukasz 'sil2100' Zemczak
4997edb190 Use never model assertion. 2023-04-06 09:21:27 +02:00
Łukasz 'sil2100' Zemczak
959011d5fc Some fixes per review - thanks Dan! 2023-04-06 09:19:29 +02:00
Łukasz 'sil2100' Zemczak
7673c4f98f For now, don't build the base images with ubuntu-image. 2023-04-05 22:20:46 +02:00
Łukasz 'sil2100' Zemczak
dc89df7ee2 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into ui-by-default 2023-04-05 22:20:10 +02:00
Łukasz 'sil2100' Zemczak
2508d5add3 Use ubuntu-image from a snap (candidate for now). Only build raspi images with ubuntu-image 3.0 for now. 2023-04-05 22:14:30 +02:00
Łukasz 'sil2100' Zemczak
0518f73a7f Changelog entry. 2023-04-05 20:51:42 +02:00
Łukasz 'sil2100' Zemczak
4e49b4df60 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into canary-build 2023-04-05 20:50:27 +02:00
Łukasz 'sil2100' Zemczak
11a583d619 Initial implementation of canary image builds. 2023-04-05 20:49:16 +02:00
Łukasz 'sil2100' Zemczak
3e2b71fafa releasing package livecd-rootfs version 2.819 2023-04-05 20:15:27 +02:00
Łukasz 'sil2100' Zemczak
6ba7d53be5 Sync the uncommitted direct upload to lunar. 2023-04-05 20:15:10 +02:00
Łukasz 'sil2100' Zemczak
8824af2ad8 releasing package livecd-rootfs version 2.818 2023-04-05 17:37:10 +02:00
Łukasz 'sil2100' Zemczak
b713f7c622 Add changelog entry. 2023-04-05 17:23:17 +02:00
Heinrich Schuchardt
d42c7c5989 Add image for StarFive VisionFive 2
SUBARCH=visionfive2 is used to build images for the StarFive VisionFive 2
boards. For the device-tree we assume board revision 1.3B.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-04-05 15:08:04 +02:00
Steve Langasek
e1090424bb Update URL to point to ubuntu-archive-team.ubuntu.com. 2023-04-03 13:15:48 -07:00
William Wilson
a52543341c Only set up oem-config if the user doesn't already exist 2023-03-30 09:14:46 -04:00
Dave Jones
b3641074f1 changelog 2023-03-28 16:01:19 +01:00
Dave Jones
1f497fe04f Get rid of growfs option in fstab 2023-03-28 16:00:38 +01:00
Dave Jones
021960a5ab changelog 2023-03-28 14:55:33 +01:00
Dave Jones
6a804b7b2c Don't add 01-network-manager-all.yaml to preinstalled desktop images 2023-03-28 14:55:33 +01:00
Dave Jones
da4481d013 changelog 2023-03-28 14:39:09 +01:00
Dave Jones
a312ab11a7 Remove the mkswap and swapfile units
These will be provided by the ubuntu-raspi-settings-desktop in future
2023-03-28 14:38:22 +01:00
Steve Langasek
6d1b422a3f releasing package livecd-rootfs version 2.817 2023-03-27 12:11:21 -07:00
Steve Langasek
45335a719b Merge remote-tracking branch 'jchittum/lunar-revert-ipc-removal' into ubuntu/master 2023-03-27 12:10:58 -07:00
Dan Bungert
140385c10c Update changelog 2023-03-24 18:39:17 -06:00
Chad Smith
fba5be17fd cloud-init.service: systemd ordering after after NetworkManager
Autoinstall directives can be provided on the grub cmdline to
cloud-init via kernel parameters like the following:
 autoinstall 'ds=nocloud-net;s=http://somedomain/'

In order to support DNS resolution for NoCloud datasource at
datasource discovery time, cloud-init.service needs to be
orderered after NetworkManager.service and
NetworkManager-wait-online.service
which will have brought up applicable NICs.

Since NetworkManager is After=dbus.service, the cloud-init.service
avoids systemd ordering cycles by also dropping
Before=sysinit.target when it adds, After=NetworkManager.service and
After=NetworkManager-wait-online.service

Add this file overlay for /lib/systemd/system/cloud-init.service
because systemd drop-in files can only add constraints and not
drop prexisting service constraints.

Also add an AUTOMATION_HEADER comment to any generated files to
add discoverability in the event of future bugs/concerns.

LP: #2008952
2023-03-23 17:05:30 -06:00
Łukasz 'sil2100' Zemczak
e1d6746467 releasing package livecd-rootfs version 2.815 2023-03-23 11:09:08 +01:00
Łukasz 'sil2100' Zemczak
cfcb023f28 Adjust changelog. 2023-03-23 11:08:55 +01:00
Łukasz 'sil2100' Zemczak
279b9473d8 Add zstd dep for mini-iso + minor fixes to get it building on livefs builders. 2023-03-23 10:57:26 +01:00
John Chittum
0be258fa8d
open 2.815 2023-03-21 14:06:28 -05:00
John Chittum
20bb504bb3
Revert "fix: remove ipc from apparmor features in 6.1"
This reverts commit 075e7a0eb4d59625f265f05dc44ceb7d9f52fdb4.
2023-03-21 14:03:24 -05:00
Dan Bungert
41acfaa911 changelog 2023-03-20 15:09:54 -06:00
Dan Bungert
2cec504334 zstd is ok for reading the journal from core22 2023-03-20 15:00:50 -06:00
Dan Bungert
b1db77eaa2 no-compact systemd conf: journal backwards compat 2023-03-20 15:00:50 -06:00
Steve Langasek
857fcbeca4 releasing package livecd-rootfs version 2.813 2023-03-18 08:25:07 -07:00
Steve Langasek
a6d7181cc1 No new dependencies on i386 (xorriso). 2023-03-18 08:25:01 -07:00
Łukasz 'sil2100' Zemczak
19ef20f0bb Fix typo. 2023-03-17 12:35:49 +01:00
Łukasz 'sil2100' Zemczak
85f93d836a Add intel-iot server image support to devel. 2023-03-17 12:15:05 +01:00
Łukasz 'sil2100' Zemczak
3ad215e3f1 Forward port some intel-iot changes. 2023-03-17 11:54:46 +01:00
Łukasz 'sil2100' Zemczak
ccd8441a64 releasing package livecd-rootfs version 2.812 2023-03-14 15:47:51 +01:00
Łukasz 'sil2100' Zemczak
c335e6ed8b Merge branch 'cloud-init-and-u-d-i' of git+ssh://git.launchpad.net/~dbungert/livecd-rootfs into ubuntu/master 2023-03-10 12:21:22 +01:00
Dimitri John Ledkov
4a883c26f7
releasing package livecd-rootfs version 2.811 2023-03-09 18:10:28 +00:00
Dimitri John Ledkov
173d22dce6
Merge branch 'lunar-fix-apparmor-for-6.1' of git+ssh://git.launchpad.net/~jchittum/livecd-rootfs into ubuntu/master 2023-03-09 18:09:57 +00:00
Łukasz 'sil2100' Zemczak
e7f2ecaa89 releasing package livecd-rootfs version 2.810 2023-03-07 14:13:11 +01:00
Łukasz 'sil2100' Zemczak
e88307eae8 Revert changelog to UNRELEASED, for now. 2023-03-07 10:51:23 +01:00
John Chittum
0dcada3904
open 2.810 release 2023-03-06 14:25:04 -06:00
John Chittum
075e7a0eb4
fix: remove ipc from apparmor features in 6.1
ipc was dropped as an apparmor feature. checked by grabbing the latest
lunar VM, installing the latest kernel, doing a reboot, and comparing
directories and files. compared all files and the only diff is the ipc
posix_mqueue
2023-03-06 14:04:27 -06:00
Dan Bungert
0d61fce909 Add ubuntu-mini-iso project 2023-03-06 08:21:29 -07:00
Łukasz 'sil2100' Zemczak
f53e528de9 releasing package livecd-rootfs version 2.809 2023-03-06 13:07:40 +01:00
Łukasz 'sil2100' Zemczak
912e15c7fc Explicitly define the kernel flavor for ubuntucinnamon. 2023-03-06 13:06:29 +01:00
Łukasz 'sil2100' Zemczak
0b2eedb0fc Changelog adjustments. 2023-03-06 11:48:44 +01:00
Łukasz 'sil2100' Zemczak
73f0355304 cinnamon: don't use the live task as well. 2023-03-06 11:43:47 +01:00
Łukasz 'sil2100' Zemczak
7798221957 Do not use the ubuntucinnamon-desktop task for cinnamon builds, it doesn't seem to be present in the archive yet. Use the metapackage instead, which seems like a better way forward anyway. 2023-03-06 11:28:30 +01:00
Łukasz 'sil2100' Zemczak
b2008366b7 releasing package livecd-rootfs version 2.808 2023-03-03 15:08:55 +01:00
Łukasz 'sil2100' Zemczak
f10fd68124 Add ubuntucinnamon to the seed-determination switch-case. 2023-03-03 15:08:09 +01:00
Dimitri John Ledkov
95adff2ba1
releasing package livecd-rootfs version 2.807 2023-03-02 18:18:35 +00:00
Dimitri John Ledkov
63317374e5
auto/config: Add support for ubuntu core arm64 generic images
LP: #2009067

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-03-02 18:11:24 +00:00
Steve Langasek
381a5b956e releasing package livecd-rootfs version 2.806 2023-02-28 08:00:12 -08:00
Steve Langasek
33e7560e1f Changelog 2023-02-28 08:00:03 -08:00
Sean Davis
91e1771b03 Remove snap base seed for xubuntu:minimal 2023-02-28 05:26:51 -05:00
Heinrich Schuchardt
1b6b3db5ed functions: fix unmounting for local builds
When building locally using the auto/build script unmounting fails.

Avoid mounting via bind. Mount mountpoint/dev as devtmpfs file system and
mountpoint/dev/pts as devpts file system.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-28 09:57:02 +00:00
Michael Hudson-Doyle
91d635d844 releasing package livecd-rootfs version 2.805 2023-02-27 21:49:46 +13:00
Michael Hudson-Doyle
573422e46f add changelog 2023-02-27 21:49:22 +13:00
Michael Hudson-Doyle
1ecd1320d6 Merge remote-tracking branch 'xypron/required_partition' into ubuntu/master 2023-02-27 21:47:54 +13:00
Steve Langasek
bd0749c905 releasing package livecd-rootfs version 2.804 2023-02-24 21:12:00 -08:00
Steve Langasek
b4190c7b97 Clarified with Erich that edubuntu should install ubuntu-desktop-minimal task. 2023-02-24 21:11:53 -08:00
Steve Langasek
0b0eb5a583 releasing package livecd-rootfs version 2.803 2023-02-24 21:05:50 -08:00
Steve Langasek
d4fe8aedc1 Fix edubuntu build: ubuntu-minimal is not a task and minimal is already declared. 2023-02-24 21:05:46 -08:00
Steve Langasek
6a6ac87e24 Fix wrong task name for xubuntu-minimal. 2023-02-24 20:57:00 -08:00
Steve Langasek
722b4d33d7 releasing package livecd-rootfs version 2.802 2023-02-24 17:47:58 -08:00
Steve Langasek
4dbeba4ba3 Address the fact that debootstrap doesn't follow Recommends and as a result we're missing several Recommends that should be installed by default and are on upgrades but not on new installs. This is not applied to minimized images, which don't follow Recommends; but does get separately applied to the ubuntu-server full squashfs. 2023-02-24 17:47:51 -08:00
Dimitri John Ledkov
3fa9d74b79
releasing package livecd-rootfs version 2.801 2023-02-24 12:20:14 +00:00
Dimitri John Ledkov
88f8976e64
Terrible hack workaround for clearing out the non-offline apt cache for desktop related images. 2023-02-24 12:19:26 +00:00
Dimitri John Ledkov
957f157b4a
ubuntu-cpc: set default ext4 mount option commit=30 (LP: #2006511) 2023-02-24 12:02:02 +00:00
Dimitri John Ledkov
ef072ea77a
Merge branch 'tune2fs' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2023-02-24 12:01:43 +00:00
Łukasz 'sil2100' Zemczak
1ec696a842 Add ubuntucinnamon. 2023-02-23 19:32:10 +01:00
Łukasz 'sil2100' Zemczak
e2fdac3b95 Add changelog. 2023-02-23 16:28:45 +01:00
Łukasz 'sil2100' Zemczak
1123aaa6f5 Merge branch 'watchdog_thresh' of git+ssh://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2023-02-23 16:27:56 +01:00
Didier Roche
c02c5e43da
releasing package livecd-rootfs version 2.800 2023-02-20 12:00:19 +01:00
Didier Roche
199644871f
WSL: do not depend on standard anymore.
Evolve the seed to only ship the specific part useful to WSL users. This
allows to trim down the image size.

Co-authored-by: Jean-Baptiste Lallement <jean-baptiste@ubuntu.com>
2023-02-20 11:58:07 +01:00
Steve Langasek
af442dd1aa releasing package livecd-rootfs version 2.799 2023-02-14 15:55:47 -08:00
Steve Langasek
d95b3badf0 Changelog 2023-02-14 15:55:38 -08:00
Steve Langasek
202ad011c1 Merge remote-tracking branch 'edubuntu-dev/ubuntu/master' into ubuntu/master 2023-02-14 15:55:20 -08:00
Steve Langasek
4a1ddcedaa releasing package livecd-rootfs version 2.798 2023-02-13 21:07:33 -08:00
Steve Langasek
a1598f767b Changelog 2023-02-13 21:07:23 -08:00
Steve Langasek
d7d2c1fbfd Merge remote-tracking branch 'xubuntu-dev/xubuntu-core' into ubuntu/master 2023-02-13 21:06:42 -08:00
Heinrich Schuchardt
eea1308301 RISC-V: avoid soft lockup Radeon GPUs with u-boot-menu
For the SiFive HiFive Unmatched board we create a pre-installed image using
u-boot-menu. Increase the watchdog threshold in this case too.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-13 22:05:22 +00:00
Erich Eickmeyer
55c7d5720d Bring back Edubuntu 2023-02-12 10:03:13 -08:00
Heinrich Schuchardt
0924d50aee RISC-V: avoid soft lockup Radeon GPUs with GRUB
With Radeon GPUs and kernel 5.19 a soft lockup was observed.
Increase the watchdog threshold.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-10 20:55:11 +00:00
Heinrich Schuchardt
ee843c14de RISC-V: rename cmdline.cfg to 10_cmdline.cfg
Using numbered configuration fragments makes the order of application
easier to track

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-02-10 20:55:11 +00:00
Dimitri John Ledkov
dc3f8a6ea0
ubuntu-cpc: set default ext4 mount option commit=30
This allows to consolidate linux-kvm and linux-generic kernel
flavours. This brings the perfomance benefit of linux-kvm flavour to
all cloud and pre-installed images. It does trade data-safety.

LP: #2006511

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-02-07 20:58:53 +00:00
Steve Langasek
e2c06f9109 releasing package livecd-rootfs version 2.797 2023-02-01 07:44:39 -08:00
Steve Langasek
fb57bd4bea Drop dependency on rsync, not used in a very long time and lets us drop rsync on i386. 2023-02-01 07:43:20 -08:00
Sean Davis
6cf691e25b Make xubuntu minimal a subproject 2023-01-21 11:51:20 -06:00
Heinrich Schuchardt
536cd09b73 riscv64: set attribute required partition for firmware
According to the EBBR specification the GPT partitions for firmware should
have attribute bit 0 (Required Partition) set.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-01-16 21:52:36 +01:00
Sean Davis
cf6104b94e Rename task to xubuntu-desktop-minimal 2023-01-13 07:37:30 -05:00
Łukasz 'sil2100' Zemczak
e04a19d595 releasing package livecd-rootfs version 2.796 2023-01-09 14:21:59 +01:00
Łukasz 'sil2100' Zemczak
85cbc6abcd Add changelog. 2023-01-09 14:11:28 +01:00
Heinrich Schuchardt
71308d500b riscv64: adjust U-Boot installation for Nezha D1 and LicheeRV
Since version 2022.10 U-Boot SPL and U-Boot are installed onto the same partition.
Package nezha-boot0 is not needed anymore.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-01-09 11:52:44 +01:00
Sean Davis
c72e5c8d03 Rename Xubuntu Core > Xubuntu Minimal 2023-01-08 00:19:56 -05:00
Sean Davis
fa81e76cbe Enable xubuntu-core 2023-01-07 22:47:49 -05:00
Steve Langasek
a91b0cfda5 releasing package livecd-rootfs version 2.795 2023-01-05 22:07:21 -08:00
Steve Langasek
c532387635 Don't depend on python3-launchpadlib on i386. This breaks ppa-enabled builds on i386, but avoids pulling in a large dependency tree that's not otherwise needed on i386. 2023-01-05 22:07:15 -08:00
Łukasz 'sil2100' Zemczak
c56e7aab04 Minor code-duplication removal. 2022-12-16 11:13:42 +01:00
Łukasz 'sil2100' Zemczak
4bcc0f2d52 Get rid of some unneeded dependencies. 2022-12-15 10:25:01 +01:00
Łukasz 'sil2100' Zemczak
beada31662 Use ubuntu-image image definitions for riscv, raspi and ubuntu-base builds. 2022-12-15 10:22:06 +01:00
Łukasz 'sil2100' Zemczak
90067f99e2 releasing package livecd-rootfs version 2.794 2022-12-08 15:41:24 +01:00
Łukasz 'sil2100' Zemczak
7649091f2b Add changelog for latest changes. 2022-12-08 15:36:33 +01:00
Sebastien Bacher
12846905fd Change the desktop build to let canary be the default 2022-11-23 17:15:15 +01:00
Łukasz 'sil2100' Zemczak
88ce5fe010 releasing package livecd-rootfs version 2.793 2022-11-16 13:27:59 +01:00
Łukasz 'sil2100' Zemczak
d0dd1d48eb Add changelog entry. 2022-11-16 13:26:52 +01:00
Heinrich Schuchardt
c6ad92c0f4 riscv64: use efi=debug earlycon
RISC-V boards tend to boot slowly.
We should provide progress information when booting.

Use 'efi=debug earlycon' on the Linux command line via new file
/etc/default/grub.d/cmdline.cfg.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-11-14 14:04:42 +01:00
Utkarsh Gupta
953fccaedb Update d/ch for 2.792 release 2022-11-14 15:28:38 +05:30
Utkarsh Gupta
e04ea00f1f Remove whitespaces 2022-11-14 15:28:02 +05:30
Samir Akarioh
8b8ad2e0ac feat: Add Ubuntu user
We add a ubuntu user inside the image because we
want to have a operational nonroot user and also
be aligned with the other Ubuntu images.

Signed-off-by: Samir Akarioh <samir.akarioh@canonical.com>
2022-11-08 12:01:35 +01:00
Samir Akarioh
105acdebc7 feat: Add metadata on ubuntu-oci image
Add a file build.info on etc/cloud
with the serial information

Signed-off-by: Samir Akarioh <samir.akarioh@canonical.com>
2022-10-27 09:03:38 +02:00
Brian Murray
f45167691b releasing package livecd-rootfs version 2.791 2022-10-17 13:09:09 -07:00
Brian Murray
89b6412946 Merge remote-tracking branch 'simpoir/kinetic-update-apparmor-feat' into ubuntu/master 2022-10-17 13:06:50 -07:00
Brian Murray
151f73e8b0 Finish the rename of FK_FORCE_CONTAINER into FK_FORCE. (LP: #1989194) 2022-10-17 13:01:45 -07:00
Brian Murray
d06b5bdd20 Finalize the changelog as that didn't get done 2022-10-17 12:55:42 -07:00
Simon Poirier
50e4844634 release 2.791 2022-10-17 09:37:37 -04:00
Simon Poirier
7813938d17 fix: add apparmor ipc feature to the chroot 2022-10-17 09:37:29 -04:00
Łukasz 'sil2100' Zemczak
e8938fc610 Add an additional subdir. 2022-10-14 10:49:25 +02:00
Łukasz 'sil2100' Zemczak
a2a341a8b2 Merge branch 'allwinner-initrd' of git+ssh://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2022-10-14 10:39:32 +02:00
John Chittum
652a33ae03
release 2.789 2022-10-13 12:42:39 -05:00
John Chittum
e11d091106
Revert "Disable the snap-preseed"
This reverts commit 31d42bfd2ff86d175f389ee5bbed6f275597c185.

Disable the snap-preseed calls in the interest of
getting images built for the 22.10 beta. (LP: #1990884)"
2022-10-13 12:39:17 -05:00
Heinrich Schuchardt
2869890eaf Update changelog for release 2.789
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-10-13 08:05:47 +02:00
Heinrich Schuchardt
b39824539c riscv: reduce initrd size for Nezha and LicheeRV boards
The Nezha and the LicheeRV boards do not have enough memory for an initrd
with most modules. Therefore the number of included modules has to be
reduced.

Create file /etc/initramfs-tools/conf.d/modules_list.conf
to set MODULES=list.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-10-13 08:05:47 +02:00
Heinrich Schuchardt
1555f5f46b riscv: remove invalid redirections
Remove redirections of type

    command &1>2

Executing the command in the background and creating and empty file '2'
was never intended.

As the messages are information only redirecting to stderr would not make
sense either.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-10-13 08:05:47 +02:00
Łukasz 'sil2100' Zemczak
a9c46eed3f releasing package livecd-rootfs version 2.788 2022-10-12 16:53:10 +02:00
Alexandre Ghiti
c946fbd65f Update changelog
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-10-12 14:17:11 +02:00
Alexandre Ghiti
6838060860 riscv: Install dkms by default on the LicheeRV board
So that people without network access can download the package and
install it using a usb drive for example.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-10-12 14:15:46 +02:00
Alexandre Ghiti
79e36dd7df Revert "riscv: Install Wifi driver by default for the LicheeRV"
This reverts commit d5a7d6655f2fa653c8bc0f316613f37f58a9c2cc.

The Wifi driver package is in universe and can't be promoted in time for
the release, so revert this.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-10-12 14:15:46 +02:00
Utkarsh Gupta
805a4f9241 Update d/ch for 2.787 release 2022-09-29 13:56:42 +05:30
Utkarsh Gupta
acf76bb3c7 Merge remote-tracking branch 'samirakarioh/fix-oci-bug' into ubuntu/master
* samirakarioh/fix-oci-bug:
  fix: build OCI image failed to build
2022-09-29 13:54:27 +05:30
Samir Akarioh
8fca716ca3 fix: build OCI image failed to build
Fix the bug added by this commit [0]. The bug added
is that the build livefs for a OCI image file failed
see Jenkins logs [1] and buildlog [2]. This commit
permit to fix this issue.

Refs: [0] https://git.launchpad.net/livecd-rootfs/commit/?id=2b5e8a81e57ae89b9ebed9bab20423d2e61d80d0
      [1] https://jenkins.canonical.com/devel-cloud-images/view/OCI/job/22.10-UbuntuOCI-Build-Images/73/ARCH=amd64,NODE=kinetic/console
      [2] https://launchpad.net/~cloud-images-release-managers/+livefs/ubuntu/kinetic/ubuntu-oci/+build/375833

Signed_by: Samir Akarioh and Tomas Virtus
2022-09-28 13:54:48 +02:00
Brian Murray
bc7c9738f6 releasing package livecd-rootfs version 2.786 2022-09-27 13:51:17 -07:00
Brian Murray
4cfe993c3a s/linux-firmware-raspi2/linux-firmware-raspi/ 2022-09-27 13:50:08 -07:00
Brian Murray
6791054145 releasing package livecd-rootfs version 2.785 2022-09-26 15:55:38 -07:00
Brian Murray
31d42bfd2f Disable the snap-preseed calls in the interest of getting images built for the 22.10 beta. (LP: #1990884) 2022-09-26 15:55:19 -07:00
Steve Langasek
48a20ca91d releasing package livecd-rootfs version 2.784 2022-09-25 01:53:16 -07:00
Steve Langasek
cbc0b66066 autopkgtest now references ubuntu-server:live, the only ubuntu-server we still build. 2022-09-25 01:52:32 -07:00
Steve Langasek
d3d636a6e0 Don't set a desktop base seed for ubuntu-base or ubuntu-core. 2022-09-25 01:52:09 -07:00
Łukasz 'sil2100' Zemczak
537282ebf9 releasing package livecd-rootfs version 2.783 2022-09-23 12:04:21 +02:00
Łukasz 'sil2100' Zemczak
b692997907 Add changelog entry. 2022-09-23 12:04:07 +02:00
Łukasz 'sil2100' Zemczak
e159d2267c Merge branch 'int/alex/riscv_mpfs' of git+ssh://git.launchpad.net/~alexghiti/livecd-rootfs into ubuntu/master 2022-09-23 12:01:56 +02:00
Steve Langasek
75dadc3be0 releasing package livecd-rootfs version 2.782 2022-09-22 15:36:57 -07:00
Steve Langasek
2b5e8a81e5 Default to using 'desktop' for the base seed so we don't have another place we have to extend the list for each new flavor (ubuntu-unity) 2022-09-22 15:36:47 -07:00
Steve Langasek
c482518e19 releasing package livecd-rootfs version 2.781 2022-09-21 16:47:53 -07:00
Steve Langasek
1f0a3d7797 Fix passing of components to germinate commandline (how did this ever work?) 2022-09-21 16:47:47 -07:00
Steve Langasek
b3343c1255 Drop edubuntu and kubuntu-active, both obsolete in *all* supported releases. 2022-09-21 16:12:36 -07:00
Steve Langasek
e41c6f50df Drop use of deprecated apt-key. 2022-09-21 16:08:36 -07:00
Steve Langasek
3722d2ee58 Drop override of components for raspi images 2022-09-21 13:35:08 -07:00
Steve Langasek
97645adca7 releasing package livecd-rootfs version 2.780 2022-09-21 12:59:26 -07:00
Steve Langasek
9cc8267f07 live-build/auto/config: set COMPONENTS for all flavors *before* we invoke germinate. Fixes a regression introduced in commit 07873ec. In the process, stop declarations of COMPONENTS that shadow the default in germinate (main restricted). 2022-09-21 12:59:06 -07:00
Alexandre Ghiti
a752a99ad8 riscv: LicheeRV must use u-boot-nezha package
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
f68433098d riscv: Add support to build Microchip Icicle Kit image
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
d5a7d6655f riscv: Install Wifi driver by default for the LicheeRV
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:40 +02:00
Alexandre Ghiti
e8ea6335d5 riscv: Add support to build LicheeRV Dock images
The LicheeRV Dock board comes with only 512MB of DRAM so the only difference
with a Nezha image is the fact that we have to remove
cryptsetup-initramfs package which makes the initrd too big for the
board to boot.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-09-20 13:49:39 +02:00
Ivan Kapelyukhin
76d794664a
Bump UEFI disk image size for amd64 to 3.5 GB
Current Kinetic GCE image builds are failing with the following error:

update-initramfs: Generating /boot/initrd.img-5.19.0-1004-gcp
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25

Seems like after `linux-gcp` update from 5.15 to 5.19 `linux-modules` package
has gotten ~40MB larger and with that GCE image builds are over the edge wrt
available disk space in chroot.

Bumped up disk image size for amd64 to 3.5GB to match the sizes used by armhf
and generic images.
2022-09-14 22:30:54 +02:00
William Wilson
ee40e951f2 releasing package livecd-rootfs version 2.778 2022-09-14 10:16:52 -05:00
Łukasz 'sil2100' Zemczak
c520230559 releasing package livecd-rootfs version 2.777 2022-09-14 16:12:34 +02:00
Łukasz 'sil2100' Zemczak
bace7d61fe Add changelog entry. 2022-09-14 16:11:50 +02:00
Łukasz 'sil2100' Zemczak
815d26a19c Comment cleanup for ubuntu-unity. 2022-09-14 16:11:07 +02:00
Rudra Bali
0581c7fd8a fix typo 2022-09-14 14:55:01 +05:30
Rudra Bali
7f278b020d use ubuntu-unity-desktop metapackage for now 2022-09-14 14:54:11 +05:30
Rudra Bali
c897750648 add live packages for Ubuntu Unity, since live task does not exist 2022-09-14 08:34:45 +05:30
Rudra Bali
bbd0e9fa5a switch to ubuntu-unity-desktop task for Ubuntu Unity 2022-09-14 08:34:45 +05:30
Utkarsh Gupta
061d8a11df Update d/ch for 2.776 release 2022-09-12 17:21:52 +05:30
Thomas Bechtold
4fc446e078 Add changelog entry 2022-09-09 12:09:35 +02:00
Thomas Bechtold
480d5b26ea fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)
The cloud-init bug (see LP:1968873) got fixed now so using a sshd
config snippet should work now.

This partly reverts commit aa1be5eaaa1fdbb4c31104cc49e54b15f66c3343
but uses now 60-cloudimg-settings.conf instead of
10-cloudimg-settings.conf .
2022-09-09 12:08:45 +02:00
Steve Langasek
68d2205e30 releasing package livecd-rootfs version 2.775 2022-08-31 13:35:12 -07:00
Steve Langasek
559c9dd1b7 changelog entry 2022-08-31 13:34:49 -07:00
Rudra Bali
503f9e8950 add Ubuntu Unity to daily flavors 2022-09-01 01:50:54 +05:30
Steve Langasek
0d69fea5ee releasing package livecd-rootfs version 2.774 2022-08-04 11:25:02 -07:00
Steve Langasek
239453d644 Remove modemmanager and udisks2 from cloud images in addition to fwupd. The use of tasks at install means all packages are marked manually installed in the apt database, so removing fwupd does not remove its dependencies. LP: #1981109. 2022-08-04 11:24:53 -07:00
Dan Bungert
e93a80bb6e changelog 2022-08-01 15:02:28 -06:00
Dan Bungert
ef834c2e7d functions: let cloud-init clean inform about NM 2022-08-01 14:57:37 -06:00
Dan Bungert
eb0530b7a7 functions: inform cloud-init about network manager
LP: #1982855
Co-authored-by: Chad Smith <chad.smith@canonical.com>
2022-08-01 14:57:37 -06:00
Łukasz 'sil2100' Zemczak
0e3f689432 releasing package livecd-rootfs version 2.773 2022-07-29 18:06:39 +02:00
Łukasz 'sil2100' Zemczak
38bc85f189 Changelog entry 2022-07-29 18:06:03 +02:00
Łukasz 'sil2100' Zemczak
e760da3284 When adding the new RISC-V platforms, some of the generic non-SUBARCH code went missing and some invalid assumptions have been made, causing cloud images to fail building. 2022-07-29 17:44:33 +02:00
Brian Murray
4d0d9aa7af releasing package livecd-rootfs version 2.772 2022-07-28 16:42:38 -07:00
Brian Murray
b71aeeeba7 Add in a changelog entry. 2022-07-28 14:04:33 -07:00
Brian Murray
995295964b Use default compat for qcow2 images.
This will cause images to be created with more moderm features which
will make our images faster and provide better sparse handling.
2022-07-28 13:57:05 -07:00
Łukasz 'sil2100' Zemczak
e72421d18e releasing package livecd-rootfs version 2.771 2022-07-28 14:13:23 +02:00
Łukasz 'sil2100' Zemczak
eec8f595d3 Make sure that the recent riscv64 changes for our supported devices don't install wpasupplicant on non-SUBARCH builds (like for clouds). 2022-07-28 14:08:52 +02:00
Alexandre Ghiti
90c5d5c14a Add changelog entry 2022-07-28 11:18:02 +02:00
Alexandre Ghiti
2485e0bebf riscv: Install wpasupplicant by default
For now, all RISC-V hardware is SBC-like board which embed a Wifi
chipset so install wpasupplicant by default. We'll certainly split the
seeds between server and embedded hardware later.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-28 11:17:24 +02:00
Michael Hudson-Doyle
13ed256581 Fix some issues with the netboot tarballs:
* Fix some issues with the netboot tarballs:
  - Include the signed shim (oops).
  - Make the kernel path on disk and in the bootloader config match (more
    oops).
  - Make paths more architecture dependent as the code in grubnetXXX.efi to
    probe a platform dependent path first doesn't work.
2022-07-28 12:00:35 +12:00
Steve Langasek
941cd3c64a Remove fwupd from the cloud images. LP: #1981109. 2022-07-25 13:02:06 -07:00
Steve Langasek
abcfabdbc0 Drop support for building i386 images aside from the launchpad builder images. 2022-07-25 12:50:56 -07:00
Łukasz 'sil2100' Zemczak
6b217c3242 releasing package livecd-rootfs version 2.770 2022-07-25 10:20:42 +02:00
Łukasz 'sil2100' Zemczak
c991b7bfdd Add changelog entry. 2022-07-25 10:19:58 +02:00
Alexandre Ghiti
17e659ddf8 riscv: Fix SiFive Unmatched build
While merging the VisionFive support, we removed the installation of
u-boot-menu for the Unmatched by mistake: fix this by reinstating it.

Fixes: ce9f5caccadf ("riscv: Add support for StarFive VisionFive")
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-25 09:36:43 +02:00
Łukasz 'sil2100' Zemczak
03597e8cb4 releasing package livecd-rootfs version 2.769 2022-07-14 14:41:48 +02:00
Łukasz 'sil2100' Zemczak
894e8640fe More changelog tweaks (bug numbers). 2022-07-14 14:40:03 +02:00
Łukasz 'sil2100' Zemczak
bcc55b8aa9 Tweak changelog 2022-07-14 14:37:33 +02:00
Łukasz 'sil2100' Zemczak
c5571b17a2 Merge branch 'int/alex/riscv_no_beaglev_container' of https://git.launchpad.net/~alexghiti/livecd-rootfs into ubuntu/master 2022-07-14 14:33:25 +02:00
Thomas Bechtold
73ef7227f1 Add debian/changelog 2022-07-11 14:12:01 +02:00
Thomas Bechtold
aa1be5eaaa Revert "fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)"
This change triggered a bug in cloud-init (see LP:1968873). cloud-init
does not recongnize sshd options set in /etc/ssh/sshd_config.d/ and
cloud-init modifies directly /etc/ssh/sshd_config which gets then
overwritten by settings from /etc/ssh/sshd_config.d/ .

This reverts commit b54d24ff3310f7ace00ab08e0dacfdc89e026f1c.
2022-07-11 14:08:48 +02:00
Alexandre Ghiti
7a3159fc62 d/changelog: Add FK_FORCE_CONTAINER entry
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-11 12:47:40 +02:00
Alexandre Ghiti
00f35ae9bf riscv: Use FK_FORCE_CONTAINER to force flash-kernel to run in a container
As explained in LP: #1980929, we need this in order to build RISC-V
images.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-11 12:47:16 +02:00
Alexandre Ghiti
7a1b5f67dd disk-image-uefi.binary: Fix wrong parenthesis
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-08 15:00:05 +02:00
Alexandre Ghiti
0f74cc2aa1 d/changelog: Add entry for the VisionFive and Nezha support 2022-07-05 11:41:03 +02:00
Alexandre Ghiti
42b68d5d0f riscv: Bump image size to 4.5G
3.5G is not enough for riscv64 preinstalled as the creation of the initrd fails
with the following error:

Creating config file /etc/default/grub with new version
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-1011-generic
zstd: error 25 : Write error : No space left on device (cannot write compressed block)
E: mkinitramfs failure zstd -q -1 -T0 25
update-initramfs: failed for /boot/initrd.img-5.15.0-1011-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-05 11:40:24 +02:00
Alexandre Ghiti
74e9088bbc riscv: Use UEFI bootflow for the Nezha Board
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-05 11:40:24 +02:00
Alexandre Ghiti
6224b11fc0 riscv: Add support for StarFive VisionFive
The image created uses a UEFI bootflow, so we install grub for this board
only. We also need flash-kernel to install the dtb where grub can find
it.

This image is specifically architectured so that it can be installed on
a "factory" board, meaning using the u-boot firmware which was
originally implemented for Fedora, so we need the p3 partition that
embeds a uEnv.txt file to tell u-boot what/where to load next stage.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-05 11:40:24 +02:00
Alexandre Ghiti
be54b8b7a1 riscv: Fix nezha hardcoded password attempt
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
2022-07-05 11:40:24 +02:00
Alexandre Ghiti
f751ff7218 RISC-V: enable building for Nezha board
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-07-05 11:40:24 +02:00
Heinrich Schuchardt
46711a9af6 riscv: define partitioning scheme for Nezha board
Define the image layout for the Nezha board.

The U-Boot SPL based boot0 may be installed starting in sector 16 or 256.
As sector 16 is incompatible with GPT partitioning use sector 256.

The primary U-Boot image is expected to start at sector 32800 and its
backup in sector 24576.

Cf. https://linux-sunxi.org/index.php?title=Allwinner_Nezha&oldid=24469

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-07-05 11:40:24 +02:00
Michael Hudson-Doyle
428878760d releasing package livecd-rootfs version 2.768 2022-06-30 14:38:15 +12:00
Michael Hudson-Doyle
364e561308 Use the new iso-url= parameter in the bootloader configs in the netboot tarballs. 2022-06-30 14:36:47 +12:00
Utkarsh Gupta
6f3b02da44 Bump 2.766 to 2.767 because an upload was missing in git 2022-06-29 13:33:15 +05:30
Utkarsh Gupta
cb099966b2 Merge remote-tracking branch 'simpoir/lp1970795-jammy-ova-cdrom' into ubuntu/master
* simpoir/lp1970795-jammy-ova-cdrom:
  fix: VMware cdrom OVF import requires to be on IDE
2022-06-29 13:30:26 +05:30
Utkarsh Gupta
b720f013e7 Update d/ch for 2.766 release 2022-06-29 12:36:22 +05:30
Thomas Bechtold
c88dcecceb Add debian/changelog 2022-06-28 14:21:58 +02:00
Thomas Bechtold
b54d24ff33 fix: don't modify ssh_config for ubuntu-cpc projects (LP:1968873)
Modifying directly /etc/ssh/sshd_config creates "problems" when
upgrading eg. from Focal to Jammy because the upgrade will ask the
user what to do with the modified config. To avoid that, put the
custom configuration into /etc/ssh/sshd_config.d/ so the upgrade of
openssh-server can just replace /etc/ssh/sshd_config without asking
the user.
2022-06-28 14:21:56 +02:00
Simon Poirier
3da8e81bf2 fix: VMware cdrom OVF import requires to be on IDE
This reverts part of a change causing regression with vmware import due to the
cdrom getting moved to SCSI while shifting controller IDs. (LP: #1970795)
2022-06-11 13:17:48 -04:00
Utkarsh Gupta
a81bea1f0c Merge remote-tracking branch 'jchittum/jammy-vagrant-more-secure-private-key' into ubuntu/master
* jchittum/jammy-vagrant-more-secure-private-key:
  changelog update
  fix: move Vagrant 22.04+ to ephemeral ed25519 key
2022-05-28 01:08:27 +05:30
Michael Hudson-Doyle
fb589ecf00 Produce a tarball of artifacts for netbooting during live-server build. 2022-05-26 14:33:59 +12:00
Michael Hudson-Doyle
31937f1a4d auto/config: Emit error message to stderr in _sanitize_passes. 2022-05-25 21:26:00 +12:00
Michael Hudson-Doyle
ed38882219 auto/config: preserve germinate-output directory when removing config
Germinate doesn't take very long at all to run but downloading the
indices it operates on can take a while and nothing else in auto/config
does so not doing it every time you run "lb config" can be a real time
saver.

The code that invokes germinate already checked if the output was
already there but it was unconditionally deleted by the time control got
to that point.
2022-05-24 12:49:38 +12:00
John Chittum
dd0728a9ea
changelog update 2022-04-21 09:29:35 -05:00
John Chittum
5c8aa8447e
fix: move Vagrant 22.04+ to ephemeral ed25519 key
LP: 1969664 tracks an issue related to the deprecation of rsa+ssh on
Jammy+ openssh server, coupled with upstream vagrant bugs, that cause
Jammy vagrant images fail to bootstrap due to ssh negotiation issues.
Moving to a different key algo from the upstream insecure key matches
Jammy's expectations, and works with older vagrant versions.

vagrant >= 2.2.16 hosts are unaffected by the issue, as an upstream
change was made. This change keep compatibility with newer vagrant
versions as well.
2022-04-21 09:13:37 -05:00
Utkarsh Gupta
47b93e2349 Update d/ch for 2.764 release 2022-04-11 23:04:05 +05:30
Michał Sawicz
997fd08e62 Add arm64 buildd bootable image 2022-04-11 23:02:23 +05:30
Dimitri John Ledkov
1470f5ecec
releasing package livecd-rootfs version 2.763 2022-04-06 15:09:56 +01:00
Dimitri John Ledkov
97a4f58403
Merge branch 'hwe-22.04' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2022-04-06 14:55:24 +01:00
Jean-Baptiste Lallement
dc1f2618b9 Create missing groups in chroot
netdev and admin where missing from the image after the build has been
separated from CPC

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-31 10:32:49 +02:00
Dimitri John Ledkov
e5443e3588
auto/config: upgrade from hwe-20.04 to hwe-22.04 variant. 2022-03-28 11:54:14 +01:00
Dimitri John Ledkov
df59dc65d2
Update changelog 2022-03-28 11:52:20 +01:00
Dimitri John Ledkov
461731d538
Merge branch 'rip-0c3.net' into ubuntu/master 2022-03-28 11:51:17 +01:00
Jean-Baptiste Lallement
0d2e1bece1 Updated changelog
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-24 15:51:16 +01:00
Jean-Baptiste Lallement
28c360c0ab remove attributes not supported by WSL's tar
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-24 14:12:40 +01:00
Jean-Baptiste Lallement
c4cb3570a5 Readd ubuntu-cpc/wsl.binary hook
Readding this file per reviewer's request until CPC splits the
pipelines. Removing this file would make CPC image builds fail.

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-21 12:19:30 +01:00
Jean-Baptiste Lallement
beec477cac Updated changelog
Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-17 10:12:18 +01:00
Jean-Baptiste Lallement
80ccea8d63 Separate WSL from CPC
Create a separate WSL image than CPC so it can be managed independently.

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2022-03-17 10:11:39 +01:00
Utkarsh Gupta
68b26a790b Update d/ch for 2.759 release 2022-03-09 11:52:20 +05:30
Thomas Bechtold
e4fbc791c4 Add debian/changelog 2022-03-09 07:07:33 +01:00
Thomas Bechtold
34735684d5 Allow to install core snap optionally
Commit 245f7772bdb74 added code to abort the build if a snap wants to
install "core" (the 16.04 runtime). That's great but there are still
some CPC maintained image builds that use snaps based on "core". So
make it possible to continue the build if the "ALLOW_CORE_SNAP" env
variable is set.
2022-03-09 07:04:06 +01:00
Utkarsh Gupta
b6118d0346 Update d/ch for 2.758 release 2022-03-09 11:14:12 +05:30
Ivan Kapelyukhin
0c13baf990
Update changelog 2022-03-03 15:49:09 +01:00
Ivan Kapelyukhin
b40ce74fd6
perf(cpc): split disk-image-uefi out of disk-image series file
Due to how `disk-image` file is structured, it builds BIOS and UEFI
images at the same time. However, certain images (e.g., GCE images)
require only UEFI image to be built, BIOS image is being simply
discarded. This results in longer build times.

Splitting out `disk-image-uefi` would allow images to use it instead of
`disk-image` and thus avoid building unused BIOS images.

`disk-image` now depends on `disk-image-uefi` for backward
compatibility.
2022-03-03 15:44:01 +01:00
Dimitri John Ledkov
27e7780d70
auto/config: drop support for 0c3.net
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2022-02-24 10:10:01 +00:00
Łukasz 'sil2100' Zemczak
de0575b360 releasing package livecd-rootfs version 2.757 2022-02-23 16:21:00 +01:00
Łukasz 'sil2100' Zemczak
ef7a95ab82 Merge branch 'pi-desktop-one-gadget' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2022-02-23 16:19:57 +01:00
Łukasz 'sil2100' Zemczak
9e682c67a6 ...not released yet 2022-02-23 16:18:16 +01:00
Łukasz 'sil2100' Zemczak
0a7892b7c7 Add changelog. 2022-02-22 11:35:18 +01:00
Łukasz 'sil2100' Zemczak
e4c846199b Following Dave's changes to the classic pi gadget, switch to using the classic branch for desktop images as well. 2022-02-22 11:33:26 +01:00
Dave Jones
925012e1b3 changelog 2022-02-22 00:46:12 +00:00
Dave Jones
4a4e2924c8 Tidy up fstab mods on preinstalled desktop images
The UNCONFIGURED FSTAB warning was being left in the result, the discard
option wasn't included, and the fsck flag was 0 (all in marked contrast
to the preinstalled server images).
2022-02-15 16:26:29 +00:00
Dave Jones
990b7c8a38 Generate the default swapfile on first boot
Changes in either livecd-rootfs or ubuntu-image seem to periodically
break the transfer of the pre-allocated swapfile (copying it in such a
fashion that it winds up "with holes" and thus unable to be used as a
swapfile). Rather than fight this, just use a simple systemd service to
generate the swapfile if it doesn't exist (using fallocate to keep
things snappy).
2022-02-15 16:26:29 +00:00
Utkarsh Gupta
701eb38bf0 Update d/ch for 2.756 release 2022-02-14 17:52:49 +05:30
Ivan Kapelyukhin
c0fbbe0eb8
Update changelog 2022-02-14 13:10:04 +01:00
Ivan Kapelyukhin
50e32d93c0
fix: unset initrdless_boot_fallback_triggered instead of setting it to 0
This fixes GCE shielded VM instances integrity monitoring failures on
focal and later. Our images are built with an empty /boot/grub/grubenv
file, however after the first boot `initrdless_boot_fallback_triggered`
is set to 0. This change in `grubenv` results in integrity monitoring
`lateBootReportEvent` error.

It seems that the only thing that's checking for this `grubenv` variable
is `grub-common.service`, and it is looking specifically for a `1`
value:

  if grub-editenv /boot/grub/grubenv list | grep -q
  initrdless_boot_fallback_triggered=1; then echo "grub:
  GRUB_FORCE_PARTUUID set, initrdless boot paniced, fallback triggered.";
  fi

Unsetting this variable instead of setting it to 0 would prevent issues
with integrity monitoring.
2022-02-14 13:10:04 +01:00
Brian Murray
d92e2b9444 releasing package livecd-rootfs version 2.755 2022-02-10 13:54:58 -08:00
Brian Murray
b1ce69b44e Update the changelog 2022-02-10 13:54:38 -08:00
John Chittum
ce5dd6f411 Add sleep to workaround e2fsck errors
LP: 1960537 illustrates an issue where the calls to e2fsck in the
umount_partition call are failing due to an open file handle. At this
time, we are unable to find a root cause, and it's causing many builds
to fail for CPC. Adding a sleep 30 as a workaround as the file handle
releases within  that timeframe. This does not address root cause.
2022-02-10 13:53:23 -08:00
Brian Murray
16c1851a90 Add the casper package instead of the lupin-casper package as the installer for Windows is a project that is no longer supported and lupin is being removed the archive in LP: 1960457. 2022-02-10 11:42:59 -08:00
Utkarsh Gupta
adb2122b45 Update d/ch for 2.754 release 2022-02-07 18:43:15 +05:30
Thomas Bechtold
14a628e3c8 Disable APT periodic update for OCI/docker images
When cron-like services are installed in the OCI/docker image, APT
should not do periodic updates by default. LP: #1810451
2022-02-04 11:44:05 +01:00
Michael Hudson-Doyle
776269b4d2 releasing package livecd-rootfs version 2.753 2022-02-02 22:43:38 +13:00
Michael Hudson-Doyle
a4a7b385cc Merge branch 'lp-1953744' into ubuntu/master 2022-02-02 22:42:56 +13:00
Michael Hudson-Doyle
b2094f0319 Disable compression and "hash table hardening" for journald in the live installer environment as these features make the journal unreadable using the systemd libraries from 20.04 that are included in the subiquity snap. 2022-02-02 13:51:20 +13:00
Steve Langasek
54044a17a6 releasing package livecd-rootfs version 2.752 2022-01-27 14:32:13 -08:00
Steve Langasek
5474af17df Remove references to archive.canonical.com, which is no longer used and should not be included in the default sources.list. 2022-01-27 14:32:09 -08:00
William Wilson
2312c08d26 Revert change for local builds as it is breaking autopkgtests 2022-01-12 18:19:57 -06:00
Steve Langasek
40cbbbb9c9 releasing package livecd-rootfs version 2.750 2022-01-11 17:34:46 -08:00
Steve Langasek
245f7772bd Treat it as a fatal error if we are asked to install a snap that would pull in the core snap. Ubuntu 20.04 and Ubuntu 22.04 official images should never require snaps that depend on an Ubuntu 16.04 runtime, this indicates a misconfiguration that will bloat the install. 2022-01-11 16:32:51 -08:00
Steve Langasek
bcfad43fd4 We don't pipe grep to awk in this house, young man 2022-01-11 16:29:32 -08:00
Steve Langasek
0b4811f7a9 Do not look for a base snap on snaps of type base, because recursive dependencies are not allowed for snaps. LP: #1957123. 2022-01-11 16:26:57 -08:00
Łukasz 'sil2100' Zemczak
4fb2616598 releasing package livecd-rootfs version 2.749 2021-12-16 12:42:36 +01:00
Łukasz 'sil2100' Zemczak
9c1a611577 Changelog entry for previous merge. 2021-12-16 12:41:10 +01:00
Łukasz 'sil2100' Zemczak
6df425bb34 Merge branch 'umount' of https://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2021-12-16 12:40:11 +01:00
Łukasz 'sil2100' Zemczak
40637a23b9 Add changelog entry for previous change. 2021-12-16 12:26:33 +01:00
Łukasz 'sil2100' Zemczak
32b54e6242 Merge branch 'partalign' of https://git.launchpad.net/~xypron/livecd-rootfs into ubuntu/master 2021-12-16 12:25:05 +01:00
Brian Murray
b5b64e5255 releasing package livecd-rootfs version 2.748 2021-12-15 10:09:55 -08:00
Brian Murray
9765df27fd live-build/ubuntu-cpc/hooks.d/base/ovf/ubuntu-ova-v1-vmdk.tmpl: do not automatically allocate serial0 as it causes a hang when upgrading. (LP: #1895104) 2021-12-15 10:09:42 -08:00
Brian Murray
fe662c5c8a Merge remote-tracking branch 'jessica-youjeong/111721-ubuntu-master-ova' into ubuntu/master 2021-12-15 10:06:54 -08:00
Heinrich Schuchardt
b6701e556f riscv64: ensure reasonable partition alignment
Currently the RISC-V preinstalled server images come with partitions that
are only 1 KiB aligned. Ext4 may use 4 KiB block size. The existing
misalignment leads to decreased performance.

Decrease the size of the loader2 partition by 34 512-byte blocks. This
results in 1 MiB alignment of the EFI and root partitions.

The remaining loader2 partition size of close to 4 MiB is still large
enough for U-Boot or a future EDK II.

Fixes: a808b28d47ec ("riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA.")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2021-12-01 18:22:02 +01:00
Heinrich Schuchardt
d65af891f3 functions: fix unmounting for local builds
livecd-rootfs creates non-private mounts. When building locally using
the auto/build script unmounting fails.

To unmount dev/pts it is insufficient to make the mount private. Its
parents must be private too. Change teardown_mountpoint() accordingly.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2021-12-01 18:11:57 +01:00
Thomas Bechtold
1a7e9ca8c9 Bump UEFI disk image size for armhf to 3.5 GB
Current jammy builds fail with:
dpkg: error processing archive /var/cache/\
  apt/archives/grub-common_2.04-1ubuntu48_armhf.deb (--unpack):
cannot copy extracted data for './usr/share/grub/unicode.pf2' \
  to '/usr/share/grub/unicode.pf2.dpkg-new': \
  failed to write (No space left on device)
2021-11-23 11:30:47 +01:00
Jess Jang
a97e98c968 Change serial0 allocation as false (LP:#1895104)
It hangs during booting when upgrading hardware
version ESXi after deploying image in groovy.
(Current default version is 10)
It could be resolved by adding serial port in VM
when vm version is larger than 10.

Seriaol port1 has been configured as default so
we need to change setting serial0 as false.
2021-11-17 07:50:19 -06:00
Brian Murray
55a54242ed releasing package livecd-rootfs version 2.746 2021-11-16 17:01:08 -08:00
Brian Murray
e5beee30fd Add the capability to build an ISO image for the Intel IoT project. Additionally, stop using universe with the project given that the kernel is now in main. 2021-11-16 17:00:38 -08:00
Steve Langasek
568e76119b releasing package livecd-rootfs version 2.745 2021-11-08 13:43:55 -08:00
Steve Langasek
0a699eaa34 Changelog 2021-11-08 13:43:51 -08:00
Erich Eickmeyer
04c4a14a4e Remove fonts and publishing tasks form ubuntustudio 2021-11-08 12:23:04 -08:00
Didier Roche
2342c3dd4f releasing package livecd-rootfs version 2.744 2021-11-05 17:52:13 +01:00
Didier Roche
6a05e7fa22 Install desired already seeded snap in wsl.
As wsl is an image target of ubuntu-cpc, the base seed is hardcoded to
ubuntu-server instead of wsl one. For now, add it, as for the other
cpc images, in hooks.
2021-11-05 17:51:52 +01:00
Thomas Bechtold
e0b79f1253 debian/changelog entry 2021-10-26 14:29:01 +05:30
Thomas Bechtold
af888e24ff magic-proxy: fix exception handling for URLError LP:#1946520
A urllib.error.URLError.reason variable can either be a string or
another Exception[0]. In case it's another exception, the current code
fails because the exception is passed into send_error() which tries
call html.escape() on the Exception. That fails because the Exception
is not a string. Converting the Exception to a string fixes this.

This fixes:

AttributeError: 'TimeoutError' object has no attribute 'replace'

[0]
https://docs.python.org/3/library/urllib.error.html#urllib.error.URLError.reason
2021-10-21 10:54:10 +02:00
Steve Langasek
5339f1691b releasing package livecd-rootfs version 2.742 2021-10-05 13:11:36 -07:00
Steve Langasek
7d6d42a74d Changelog entry 2021-10-05 13:11:31 -07:00
Sebastien Bacher
808220c868 Enable universe sources on the desktop canary 2021-10-05 17:16:22 +02:00
Brian Murray
85fb768f4f Properly check ARCH when setting the intel-iot model. 2021-09-29 16:34:51 -07:00
Steve Langasek
58259c7d23 releasing package livecd-rootfs version 2.741 2021-09-29 11:25:46 -07:00
John Chittum
fb41e53a84
Open new release
Add entry to open new release
2021-09-28 16:10:19 -05:00
John Chittum
9c3851d401
Mount cgroup2 type for snapd
LP: 1944004 described an issue where a libc transition caused snapd
seccomp profiles to reference a path that no longer existed, leading to
permission denied errors. The committed fix for snapd then raised an
issue where running `snapd debug seeding` would present a
preseed-system-key and seed-restart-system-key due to a mismatch
between the running kernel capabilities and the profiles being loaded by
snapd. By mounting a cgroup2 type to /sys/fs/cgroup, the capabilities
match for snapd as mounted in the chroot. This is done similarly to
live-build/functions:138-140 where apparmour and seccomp actions are
mounted after updating the buildd.
2021-09-28 16:08:55 -05:00
Steve Langasek
271d498ab6 releasing package livecd-rootfs version 2.740 2021-09-27 08:38:03 -07:00
Steve Langasek
66c8929f07 changelog 2021-09-27 08:37:55 -07:00
Steve Langasek
f7e125aa1c Merge remote-tracking branch 'toabctl/fix-magic-proxy-with-repo-stamp' into ubuntu/master 2021-09-27 08:34:36 -07:00
Michael Hudson-Doyle
ae45e9356f releasing package livecd-rootfs version 2.739 2021-09-27 11:10:54 +13:00
Michael Hudson-Doyle
f5bdeaf4fb Merge branch 'language-support-in-catalogs' into ubuntu/master 2021-09-27 11:09:39 +13:00
Michael Hudson-Doyle
391439d44c Record information about locale support (in particular, whether to install langpacks and which languages have pre-baked squashfses). 2021-09-27 11:06:01 +13:00
Michael Hudson-Doyle
0a48a1c7ae add changelog entry 2021-09-27 09:40:30 +13:00
Dan Bungert
a96d56a110 desktop: install-sources.yaml type fsimage-layered 2021-09-24 15:25:40 -06:00
Thomas Bechtold
3559153c7d magic-proxy: fix TypeError when trying to call get_uri() LP:#1944906
Currently the uri that is passed into urllib.parse.urlparse() is not
prefixed with "http(s)://" which leads urlparse() to return a wrong
scheme/netloc/path. Currently it looks like:

ParseResult(scheme='', netloc='',
  path='de.archive.ubuntu.com/ubuntu/dists/impish-backports/InRelease'
 , params='', query='', fragment='')

That's wrong. The path should look like
'ubuntu/dists/impish-backports/InRelease'.
Prefixing the 'host' header with 'http://' in case it's not there does
fix the problem.

This fixes:

Traceback (most recent call last):
  File "/usr/lib/python3.9/socketserver.py", line 683, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.9/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.9/socketserver.py", line 747, in __init__
    self.handle()
  File "/usr/lib/python3.9/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/lib/python3.9/http/server.py", line 415, in handle_one_request
    method()
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 787, in do_GET
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 838, in __get_request
  File "/home/tom/devel/livecd-rootfs/./magic-proxy", line 84, in get_uri
TypeError: can only concatenate str (not "NoneType") to str
2021-09-24 10:26:49 +02:00
Steve Langasek
1977636e28 ugh fix version number 2021-09-20 09:42:15 -07:00
Steve Langasek
d488d07c74 releasing package livecd-rootfs version 2.737ubuntu1 2021-09-20 09:40:30 -07:00
Steve Langasek
e81f333aec changelog entry 2021-09-20 09:40:23 -07:00
Steve Langasek
9e6b983728 Merge remote-tracking branch 'toabctl/keep-debian-native-package-changelogs' into ubuntu/master 2021-09-20 09:39:17 -07:00
Thomas Bechtold
2b2f67c7fb Keep changelogs in minimized builds for native deb pkgs
Debian changelog.Debian.* files are already keept for minimized
builds. But those changelogs are from non-native .deb packages (see
man dh_installchangelogs). Native .deb packages name their changelog
just changelog.* . So keep them in a minimized build, too.

LP: #1943114
2021-09-20 13:43:27 +02:00
Michael Hudson-Doyle
e19d501949 releasing package livecd-rootfs version 2.737 2021-09-14 21:39:55 +12:00
Michael Hudson-Doyle
1b87b238ea Check for duplicate ids in update-source-catalog. 2021-09-14 21:29:26 +12:00
Michael Hudson-Doyle
8f8fc220c7 Generate source catalogs for the desktop canary build. 2021-09-14 21:28:50 +12:00
Michael Hudson-Doyle
23f307754c releasing package livecd-rootfs version 2.736 2021-08-30 15:30:59 +12:00
Michael Hudson-Doyle
fe38bd02c1 Change the per language layers in the desktop canary build to have more regular names (and make their implementation better documented and hopefully more comprehensible). 2021-08-27 11:52:08 +12:00
Michael Hudson-Doyle
356b08c475 releasing package livecd-rootfs version 2.735 2021-08-23 15:42:48 +12:00
Michael Hudson-Doyle
8106244b42 add a little debugging output 2021-08-20 14:14:35 +12:00
Michael Hudson-Doyle
17279822d5 Get source catalog translations from subiquity git, as brz is in universe. 2021-08-20 10:32:13 +12:00
Michael Hudson-Doyle
c78f283d9f releasing package livecd-rootfs version 2.734 2021-08-19 16:50:02 +12:00
Michael Hudson-Doyle
543c40b347 Merge branch 'source-catalog-2' into ubuntu/master 2021-08-18 11:10:01 +12:00
Michael Hudson-Doyle
021c8e063c better minimal ubuntu server description 2021-08-18 08:15:14 +12:00
Łukasz 'sil2100' Zemczak
3032953f44 Changelog entry. 2021-08-17 12:04:49 +02:00
Łukasz 'sil2100' Zemczak
2dc48a1687 Make the UBUNTU_STORE_ARCH adjustment more fool-proof 2021-08-17 12:02:39 +02:00
Łukasz 'sil2100' Zemczak
744585ed9a Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/~ethan.hsieh/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2021-08-17 11:58:39 +02:00
Michael Hudson-Doyle
cda8c920dd create source catalogs for live server install sources 2021-08-17 16:07:07 +12:00
Michael Hudson-Doyle
fb8c694530 add script to fill out a template install source description 2021-08-17 16:05:41 +12:00
Michael Hudson-Doyle
10288220fc add a script to checkout a translations branch
and compile the po files into mo files
2021-08-17 16:05:41 +12:00
Brian Murray
d0e0454547 releasing package livecd-rootfs version 2.733 2021-08-16 12:23:40 -07:00
Brian Murray
0a54de462d fix the changelog entry 2021-08-16 12:22:23 -07:00
Brian Murray
e7cfdeec89 add a changelog entry for the intel-iot change 2021-08-16 11:50:12 -07:00
Brian Murray
44384357ad add missing for intel-iot 2021-08-04 08:51:01 -07:00
Michael Hudson-Doyle
8fcaf94c3b Merge branch 'minimal-server-layer-3' into ubuntu/master 2021-08-03 21:02:04 +12:00
Michael Hudson-Doyle
116a51a080 bootstrap the minimal variant for the minimal server layer 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
b341c81ff3 do the mounting in an initrd script rather than systemd units 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
5fda0bb2aa apply dpkg minimizations to minimal layer, and undo them for full layer 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
5232f2f8cc fix /media/filesystem mount 2021-08-03 16:36:02 +12:00
Michael Hudson-Doyle
d11c71a686 add a minimal server layer under the full server layer 2021-08-03 16:36:00 +12:00
Łukasz 'sil2100' Zemczak
1e24a44866 releasing package livecd-rootfs version 2.732 2021-08-02 22:12:01 +02:00
Łukasz 'sil2100' Zemczak
09cbdfa7e9 Revert /dev sharing improvements. 2021-08-02 22:11:41 +02:00
Michael Hudson-Doyle
75fe0241f3 lb_chroot_layered: fix quoting when searching for trusted.overlay.opaque 2021-07-30 11:56:07 +12:00
Łukasz 'sil2100' Zemczak
7d41087381 releasing package livecd-rootfs version 2.731 2021-07-28 22:07:02 +02:00
Łukasz 'sil2100' Zemczak
ea1fea050d Add changelog entry. 2021-07-28 22:02:51 +02:00
Łukasz 'sil2100' Zemczak
d198821c07 Fix sharing of the /dev tree to make sure we can safely umount the chroot when needed. This fixes local non-livefs-builder image builds. 2021-07-28 21:54:34 +02:00
Sebastien Bacher
5ba545f2b6 Tweaks to the canary packages
Install cloud-init on the live and target, remove ubiquity
2021-07-27 10:49:03 +02:00
Sebastien Bacher
cdbb5598ad Remove lupin-casper from the canary image
The description states it was for wubi which we aren't using anymore
2021-07-27 10:48:48 +02:00
Michael Hudson-Doyle
5e21dd89f6 Merge branch 'hyperv-manifest' into ubuntu/master 2021-07-27 09:27:41 +12:00
Michael Hudson-Doyle
e5b7eaab1c update version number in changelog 2021-07-27 09:27:27 +12:00
Brian Murray
9f47116a1f releasing package livecd-rootfs version 2.730 2021-07-26 13:49:18 -07:00
Brian Murray
4525395e45 Rename subarch of intel-iotg to intel-iot, add support for intel-iot models. 2021-07-26 11:55:38 -07:00
Brian Murray
dbab97caa9 switch amd64 to the arch variable 2021-07-26 11:45:00 -07:00
Brian Murray
c09110cfa8 add support for intel-iot models 2021-07-16 11:03:41 -07:00
Brian Murray
f2c1300f71 rename iotg iot so the names are consistent with the models 2021-07-16 10:14:00 -07:00
Jason C. McDonald
f75c3254b0 Generate manifest for HyperV desktop images
Manifests are necessary for candidate checking in the
CPC automated workflow for building and publishing
HyperV desktop images.
2021-07-14 06:26:16 -07:00
Michael Hudson-Doyle
6928b79bb6 releasing package livecd-rootfs version 2.729 2021-07-12 10:28:02 +12:00
Michael Hudson-Doyle
aab48dc987 Merge branch 'move-live-server-to-layers-3' into ubuntu/master 2021-07-12 10:26:16 +12:00
Ethan Hsieh
f4312118cc functions: download snap packages with correct architecture
Have to set UBUNTU_STORE_ARCH when the architecture of host machine is
different from target machine
2021-07-08 15:16:43 +08:00
Michael Hudson-Doyle
bb0bba1793 address review comments 2021-07-08 11:50:22 +12:00
Michael Hudson-Doyle
d233655180 update changelog 2021-07-07 19:32:16 +12:00
Michael Hudson-Doyle
2928c3d9cd fix reduce_pass_size behaviour around deleted directories 2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
fc890b15e7 adjust hooks for move of live-server to layers 2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
e06046aaa0 move includes around for move of live-server to layers 2021-07-07 19:31:53 +12:00
Michael Hudson-Doyle
f563b310d3 update auto/config for move of live-server to layers 2021-07-07 19:31:53 +12:00
Brian Murray
7a180f8d29 Merge remote-tracking branch 'kajiya/lp-1895104-add-serial-port-to-ovf' into ubuntu/master 2021-07-02 13:34:06 -07:00
Michael Hudson-Doyle
cb28f14e7c Merge branch 'layer-fixes' into ubuntu/master 2021-07-01 22:18:02 +12:00
Michael Hudson-Doyle
18bf308be0 go back to only running 'lb chroot_archives' on root layers
but still run configure_universe after archive removal, not before
2021-07-01 11:16:11 +12:00
Michael Hudson-Doyle
c4402139a2 go back to only running lb_chroot_hacks on live layers
otherwise each and every layer above a layer with a kernel gets its own
initramfs, which is silly.

Copy/paste the cruft cleaning bit of lb_chroot_hacks to be run on
non-live layers.
2021-07-01 11:16:11 +12:00
Michael Hudson-Doyle
653b925646 attempt to fix obscure failure 2021-07-01 11:16:11 +12:00
Michael Hudson-Doyle
0501f73231 update changelog 2021-07-01 11:16:11 +12:00
Michael Hudson-Doyle
fb8af1fd80 add a way to prevent a layer (and descendants) from being made into a sqashfs
for the live server build, i want to make a layer to install the kernel
into but do not want the layer itself to be published.

the implementation is a bit clunky but it works.
2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
e4ca30e351 lb_binary_layered: use create_squashfs function to pick up some default excludes 2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
30cc2f1982 lb_chroot_layered: install archives on each layer
also only call configure_universe after packages are installed.
2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
3a3558203b run chroot_hacks on each layer in lb_chroot_layered
the comment says this was not done to avoid overlay size inflation but aiui reduce_pass_size
deals with that now
2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
ce458ba31e run binary hooks on each layer in lb_binary_layered 2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
75165aeb34 replace call to Echo_warning with plan echo as former is not defined at this point 2021-07-01 11:16:10 +12:00
Michael Hudson-Doyle
b6df5d1b76 releasing package livecd-rootfs version 2.728 2021-07-01 11:00:22 +12:00
Brian Murray
0fbaccf301 Add a subarch of intel-iotg which is used for creating images with a kernel optimized for Intel IOT devices. 2021-06-30 15:56:40 -07:00
Brian Murray
89ff3c4f87 Merge branch 'bdmurray/iotg' which adds the ability to create an image for Intel IOT devices. 2021-06-30 15:52:36 -07:00
Brian Murray
ad3e755974 rename iotg to intel-iotg so its slightly more descriptive 2021-06-30 15:43:47 -07:00
Michael Hudson-Doyle
093fbb1404 Merge branch 'more-subiquity-serial-pain' into ubuntu/master 2021-07-01 09:46:58 +12:00
Michael Hudson-Doyle
48c3a11a70 Make sure the process that prints SSH connection info on s390x has its output connected to the console. (LP: #1933523) 2021-07-01 09:31:31 +12:00
Michael Hudson-Doyle
4aa703f48a add changelog message 2021-06-30 11:09:29 +12:00
Dan Bungert
5b0825a297 Remove custom final_message
At this point all of the custom final_message is now obsolete.
Remove it, letting us instead use the default final_message.
Leave a note about the above.
2021-06-29 16:43:19 -06:00
Dan Bungert
bfce7c126f Remove reference to password for ssh usage
This reference to a temporary password being logged for the installer
user for SSH usage is obsolete.
2021-06-28 17:02:10 -06:00
Michael Hudson-Doyle
8f1deb00d3 releasing package livecd-rootfs version 2.727 2021-06-24 11:52:33 +12:00
Michael Hudson-Doyle
9a983305ee Remove assumption in 032-installer-squashfs.binary that all core snaps needed for subiquity are already in the filesystem layer. (LP: #1933352) 2021-06-24 11:49:21 +12:00
Brian Murray
066422894b also support building an ubuntu-cpc amd64 iotg image 2021-06-23 11:09:19 -07:00
Brian Murray
d8b24aaae6 add iotg as a subarch of amd64 w/ image-intel kernel 2021-06-23 09:12:44 -07:00
Chloé Smith
ffab8ceac4
Add a serial port to OVF template (LP: #1895104)
groovy hangs during boot on ESXi when the version is greater than
10. Adding a serial port by default fixes this specific bug - increasing
the HW version will be for another branch.

This is because more investigation is needed into whether it is possible to
increment ddb.virtualHWVersion without disrupting Oracle VirtualBox images.
2021-06-21 21:29:47 +01:00
Michael Hudson-Doyle
cac00a68aa releasing package livecd-rootfs version 2.726 2021-06-19 11:44:53 +12:00
Michael Hudson-Doyle
e1e992d295 Fix overriding of ExecStart in serial-getty@sclp_line0.service.d/subiquity-serial.conf. 2021-06-19 11:44:04 +12:00
Łukasz 'sil2100' Zemczak
5ad256f7ab releasing package livecd-rootfs version 2.725 2021-06-15 09:45:56 +02:00
Łukasz 'sil2100' Zemczak
83852ca96b Revert previous change, use ubuntu-server-raspi task name. 2021-06-15 09:45:40 +02:00
Łukasz 'sil2100' Zemczak
9a27811add releasing package livecd-rootfs version 2.724 2021-06-09 11:31:00 +02:00
Łukasz 'sil2100' Zemczak
d2cfa41ec2 Use the server-raspi task name instead of ubuntu-server-raspi 2021-06-09 11:30:38 +02:00
Sebastien Bacher
48f3682969 Define a new add_snap and use it for canary
We can install the new ubuntu-desktop-installer on the iso this way
2021-06-08 15:20:41 +02:00
Łukasz 'sil2100' Zemczak
7b4c8bba59 releasing package livecd-rootfs version 2.723 2021-05-20 10:28:50 +02:00
Łukasz 'sil2100' Zemczak
f50209ef65 Add changelog entry. 2021-05-20 10:28:28 +02:00
Sebastien Bacher
740c960575 The u-boot-tools package was typoed
Should fix the ubuntu-preinstalled impish build
2021-05-19 16:05:15 +02:00
Michael Hudson-Doyle
a1a21e9ecb Merge branch 'delete-base-project' into ubuntu/master 2021-05-13 10:30:27 +12:00
Michael Hudson-Doyle
5c3bb6896c Remove all references to the "base" project, which has not been built since 16.04 release day. 2021-05-13 05:24:48 +12:00
Steve Langasek
c7b751e401 Drop code for the 'ubuntu-core' project when not using image_format: ubuntu-image, as this is obsolete and not used to build core* snaps in recent series. 2021-05-11 17:12:20 -07:00
Jean-Baptiste Lallement
0c3bbd7d99 Use -updates for germinate
Some packages are in universe at release time then promoted to
the main pocket in -updates during the release lifecycle.
These packages should be considered by germinate when the root fs is
built (LP: #1921862)

Co-authored-by: Didier Roche <didrocks@ubuntu.com>
2021-05-11 15:05:28 +02:00
Michael Hudson-Doyle
f436352463 releasing package livecd-rootfs version 2.722 2021-05-11 11:44:20 +12:00
Michael Hudson-Doyle
cc20dbcf33 Merge branch 'live-server-serial-argh' into ubuntu/master 2021-05-11 11:43:32 +12:00
Michael Hudson-Doyle
7cd7f1e0bf Merge branch 'ubuntu/master' into live-server-serial-argh 2021-05-06 10:28:28 +12:00
Dimitri John Ledkov
eded2359b5
releasing package livecd-rootfs version 2.721 2021-05-05 19:08:50 +01:00
Dimitri John Ledkov
f58b0693f6
Merge branch 'raspi-server-seed' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2021-05-05 12:01:37 +01:00
Dimitri John Ledkov
7dbd0b8293
Changelog 2021-05-05 11:42:35 +01:00
Dimitri John Ledkov
9596134d8a
Merge branch 'remove-1893818-workaround' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2021-05-05 11:42:22 +01:00
Dimitri John Ledkov
e3ca48349e
Update changelog 2021-05-05 11:40:03 +01:00
Dimitri John Ledkov
b194e57eff
Merge branch 'usr-merge' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-05-05 11:38:55 +01:00
Michael Hudson-Doyle
c64c81d7fe remove the workaround for bug #1893818
subiquity now contains a version of curtin that can cope with the
partition nodes for a multipathed disk going away
2021-05-05 13:58:56 +12:00
Dimitri John Ledkov
dd79c5c75d
buildd: Re-enable merged /usr by default, as it is now required
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2021-04-30 17:54:00 +01:00
Dimitri John Ledkov
56d64dbf31
Merge branch 'magic-proxy-fixes' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:51:46 +01:00
Dimitri John Ledkov
dc2a472871
magic-proxy: replace http.client with urllib calls
Initialize passwords from sources.list.
Use urllib everywhere.
This way authentication is added to all the required requests.
And incoming headers, are passed to the outgoing requests.
And all the response headers, are passed to the original client.
And all the TCP & HTTP errors are passed back to the client.
Thus should avoiding hanging requests upon failure.
Also rewrite the URI when requesting things.
This allows to use private-ppa.buildd outside of launchpad.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2021-04-30 17:50:28 +01:00
Dimitri John Ledkov
1cd8fe14b7
Change iptables calls, to query rules and quickly check that connectivity works after transparent proxy has been installed. LP: #1917920 2021-04-30 17:48:09 +01:00
Dimitri John Ledkov
20f76e7cf8
Merge branch 'preinstalled' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:46:20 +01:00
Dimitri John Ledkov
143e72abdc
Merge branch 'fix-grub-images' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-04-30 17:39:45 +01:00
Michael Hudson-Doyle
f54cb7094f releasing package livecd-rootfs version 2.720 2021-04-30 11:48:56 +12:00
Michael Hudson-Doyle
b3b1a5f5ed Merge branch 'new-ubuntu-oci' into ubuntu/master 2021-04-30 11:48:16 +12:00
Michael Hudson-Doyle
b1c7f9f63b add changelog entry for addition of ubuntu-oci project 2021-04-30 11:48:00 +12:00
Michael Hudson-Doyle
749bdeac44 Merge branch 'ubuntu/master' into new-ubuntu-oci 2021-04-30 11:46:16 +12:00
Dimitri John Ledkov
d5a8116428
Add support for generic preinstalled images. LP: #1923832 2021-04-26 11:04:37 +01:00
Dimitri John Ledkov
41fd537bc2
999-cpc-fixes: enable more code on grub2 armhf & arm64
armhf & arm64 images use grub. And despite disk-image &
disk-image-uefi installing all the grubs, some of the configuration is
done in the 999-cpc-fixes. Specifically removal of "quiet splash" is
done there, but not active on armhf & arm64. This results in arm
images to boot with "quiet splash".

Enable running the later portions of 999-cpc-fixes on armhf & arm64.

Drop duplicate call to update-grub, as update-grub2 is simply a
symlink to update-grub.

Add a guard around the call to reconfigure grub-pc, to only do that
when it is installed.

This makes armhf & arm64 uefi images consistent with amd64 uefi
images.

LP: #1925780
2021-04-23 12:47:18 +01:00
Thomas Bechtold
a81972a58b
add configure_oci function and use it in ubuntu-oci
With that, the Dockerfile modifications[0] currently done externally
are done now here. That means that the created rootfs tarball can be
directly used within a Dockerfile to create a container from scratch:

FROM scratch
ADD livecd.ubuntu-oci.rootfs.tar.gz /
CMD ["/bin/bash"]

[0]
https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh
2021-04-22 08:48:00 +02:00
Thomas Bechtold
ac4a95b931
Add new ubuntu-oci project
This is a copy of the ubuntu-base project.
Currently ubuntu-base is used as a base for the docker/OCI container
images. The rootfs tarball that is created with ubuntu-base is
published under [0]. That tarball is used in the FROM statement of the
Dockerfile as base and then a couple of modifications are done inside
of the Dockerfile[1].
The ubuntu-oci project will include the changes that are currently
done in the Dockerfile. With that:

1) a Dockerfile using that tarball will be just a 2 line thing:

   FROM scratch
   ADD ubuntu-hirsute-core-cloudimg-amd64-root.tar.gz /
   CMD ["/bin/bash"]

2) Ubuntu has the full control about the build process of the
docker/OCI container. No external sources (like [1]) need to be
modified anymore.
3) Ubuntu can publish containers without depending on the official
dockerhub containers[2]. Currently the containers for the AWS ECR
registry[3] use as a base[4] the official dockerhub containers. That's
no longer needed because a container just needs a Dockerfile described
in 1)

When the ubuntu-oci project has the modifications from [1] included,
we'll also update [1] to use the ubuntu-oci rootfs tarball as a base
and drop the modifications done at [1].

Note: Creating a new ubuntu-oci project instead of using ubuntu-base
will make sure that we don't break users who are currently using
ubuntu-base rootfs tarballs for doing their own thing.

[0] https://partner-images.canonical.com/core/
[1]
https://github.com/tianon/docker-brew-ubuntu-core/blob/master/update.sh
[2] https://hub.docker.com/_/ubuntu
[3] https://gallery.ecr.aws/ubuntu/ubuntu
[4]
https://launchpad.net/~ubuntu-docker-images/ubuntu-docker-images/+oci/ubuntu/+recipe/ubuntu-20.04
2021-04-22 07:39:15 +02:00
Michael Hudson-Doyle
8324041cdb add bug ref to changelog 2021-04-21 20:22:26 +12:00
Michael Hudson-Doyle
6c19637072 reword changelog a touch 2021-04-21 16:12:34 +12:00
Michael Hudson-Doyle
c1cb61a8f6 just plain mask getty@tty1, ExecStart is a list 2021-04-21 14:54:03 +12:00
Michael Hudson-Doyle
7ba371b315 Simplify how serial-getty@.service is customized in the live server installer environment. 2021-04-21 11:38:41 +12:00
Łukasz 'sil2100' Zemczak
f148fb8bf4 Add changelog. 2021-04-20 11:17:39 +02:00
Łukasz 'sil2100' Zemczak
52f3b69331 Enable using ubuntu-server-raspi, clean up handling of raspi setup. 2021-04-20 11:15:44 +02:00
Łukasz 'sil2100' Zemczak
b9eb0aaee3 Drop imx6 support as it never really happened. 2021-04-20 10:54:50 +02:00
Łukasz 'sil2100' Zemczak
05023332bc releasing package livecd-rootfs version 2.719 2021-04-19 23:57:39 +02:00
Łukasz 'sil2100' Zemczak
37e3826d69 Changelog 2021-04-19 22:57:59 +02:00
Łukasz 'sil2100' Zemczak
1d537bf78d Temporarily hack in ubuntu-raspi-settings for raspi images (we should be using seeds tho). 2021-04-19 21:49:43 +02:00
Michael Hudson-Doyle
fbdf8bf063 releasing package livecd-rootfs version 2.718 2021-03-30 10:57:49 +13:00
Michael Hudson-Doyle
e28938b482 Do not have cloud-init set the installer user's password to something random during boot, as cloud-init now hides the value it was set to much better. Instead, subiquity will reset the password itself. 2021-03-24 14:09:12 +13:00
Dimitri John Ledkov
f700f07d59
releasing package livecd-rootfs version 2.717 2021-03-11 17:08:58 +00:00
Dimitri John Ledkov
4428dbbf8f
riscv64: generalise slightly how preinstalled server images are built, to allow using subarch to pick u-boot binaries to install. 2021-03-11 17:08:15 +00:00
Michael Hudson-Doyle
4514901328 releasing package livecd-rootfs version 2.716 2021-03-11 10:50:11 +13:00
Michael Hudson-Doyle
d5bc59f2fb Use the correct config keys in suppressing cloud-init output during boot of live server ISO. 2021-03-10 12:03:56 +13:00
Robert C Jennings
49c01ef0a0
releasing package livecd-rootfs version 2.715 2021-03-02 11:59:59 -06:00
Gauthier Jolly
76330897dc ubuntu-cpc: make /etc/fstab consistent with other ubuntu images
Modify the mount options in fstab to make the Cloud images consistent
with the default we have elsewhere.

LP: #1902103
LP: #1881006
2021-03-02 14:21:36 +00:00
Michael Hudson-Doyle
8725445e01 releasing package livecd-rootfs version 2.714 2021-02-26 09:58:07 +13:00
Michael Hudson-Doyle
974bb5bfd1 Merge branch 'quieter-live-server-boot' into ubuntu/master 2021-02-25 15:26:23 +13:00
Łukasz 'sil2100' Zemczak
bf4be0a585 releasing package livecd-rootfs version 2.713 2021-02-24 12:58:35 +01:00
Łukasz 'sil2100' Zemczak
1b0212a76c Use the full name of the 'boot' flag in parted calls 2021-02-24 12:58:08 +01:00
Robert C Jennings
81fe9de42f
releasing package livecd-rootfs version 2.712 2021-02-23 14:33:04 -06:00
Michael Hudson-Doyle
8ab15a145d set new cloud-init option to suppress final bit of output during boot 2021-02-23 11:06:19 +13:00
Michael Hudson-Doyle
52c8985454 Suppress cloud-init output during boot of live server ISO. 2021-02-18 13:08:09 +13:00
Cody Shepherd
265ef9797b
Update changelog 2021-02-12 13:59:51 -08:00
Cody Shepherd
4acd2e3085
Install lxd-agent-loader in bootable buildd image to improve user
experience with lxd vms
2021-02-12 13:24:54 -08:00
Cody Shepherd
5de661e137
Set grub configs to hide boot menu and enable output on ttyS0 2021-02-10 10:11:22 -08:00
Dimitri John Ledkov
87454604ec
releasing package livecd-rootfs version 2.711 2021-02-05 12:48:57 +00:00
Dimitri John Ledkov
82aca610dc
Merge remote-tracking branch 'xnox/fix-misisng-systemd-detect-virt' into ubuntu/master 2021-02-05 12:48:18 +00:00
Dimitri John Ledkov
72f2647eb0
Merge remote-tracking branch 'xnox/fsck-all-the-things' into ubuntu/master 2021-02-05 12:47:53 +00:00
Dimitri John Ledkov
096a00f404
functions: stop removing systemd-detect-virt unconditionally in undivert_grub
One can call divert_grub; replace_kernel; undivert_grub. And
replace_kernel will call into force_boot_without_initramfs, which
under certain conditions can call divert_grub &
undivert_grub. Resulting in undivert_grub called twice in a row.

When undivert_grub is called twice in a row it wipes
systemd-detect-virt binary from disk, as the rm call is unguarded to
check that there is something to divert if systemd package is
installed. And if the systemd package is not installed, it does not
check that systemd-detect-virt file is in-fact what divert_grub has
created.

Add a guard to check that systemd-detect-virt is the placeholder one,
before removing it.

LP: #1902260
2021-02-03 14:45:54 +00:00
Dimitri John Ledkov
33b7272a23
Perform fsck on all rootfs.
LP: #1912835
2021-02-01 14:45:42 +00:00
Dimitri John Ledkov
d699d8db19
releasing package livecd-rootfs version 2.710 2021-01-28 10:43:37 +00:00
Dimitri John Ledkov
0e2208121e
Merge branch 'fix-esp' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2021-01-28 10:43:13 +00:00
Dimitri John Ledkov
53b28d5f58
esp: perform fsck.
LP: #1912835
2021-01-22 19:16:47 +00:00
Dimitri John Ledkov
7c760864fd
esp: install grub in ubuntu bootloader id path, instead of removable.
Do not use removable uefi bootloader path in the cloud-images by
default, as that prevents upgrades of the bootloader.

LP: #1912830
2021-01-22 19:09:25 +00:00
Iain Lane
126ed87783
Update & finalise changelog 2021-01-04 10:38:25 +00:00
Iain Lane
42409e7068
auto/config: Install pi-bluetooth for raspi images
These are in restricted, and so cannot be depended on by the
metapackages which are in main.
2021-01-04 10:25:09 +00:00
Sebastien Bacher
1a979b1528 Desktop is using the hwe kernel, do the same on canary 2020-12-15 16:51:32 +01:00
Dimitri John Ledkov
890f24c0e1
releasing package livecd-rootfs version 2.708 2020-12-08 09:15:57 +00:00
Dimitri John Ledkov
6746d9fbd9
disk-image-uefi: fix riscv64 subarch user-data. 2020-12-08 09:15:09 +00:00
Dimitri John Ledkov
e0095d8c47
releasing package livecd-rootfs version 2.707 2020-12-05 15:18:50 +00:00
Dimitri John Ledkov
ff692b0e70
releasing package livecd-rootfs version 2.706ubuntu1 2020-12-05 15:17:53 +00:00
Dimitri John Ledkov
4881f5260a
qcow2-image: unbreak builds without subarch. 2020-12-05 15:17:16 +00:00
Dimitri John Ledkov
d492dcb378
releasing package livecd-rootfs version 2.706 2020-12-03 21:42:47 +00:00
Sebastien Bacher
ed8ee60c98 Desktop is using the hwe kernel, do the same on canary 2020-12-03 20:29:59 +01:00
Dimitri John Ledkov
3e1e76b94a
riscv64: fixup subarch build, unbound variable 2020-12-03 16:17:32 +00:00
Łukasz 'sil2100' Zemczak
c2733a55f7 Still hardcode UC20 amd64 image size, but to the same value as for UC16 and UC18. 2020-12-03 12:18:57 +01:00
Dimitri John Ledkov
067e286ce6
releasing package livecd-rootfs version 2.705 2020-12-02 14:10:05 +00:00
Dimitri John Ledkov
2f84bc9a84
config: on hirsute build UC22 images 2020-12-02 11:05:18 +00:00
Dimitri John Ledkov
6df1c71416
releasing package livecd-rootfs version 2.704 2020-12-01 17:16:21 +00:00
Dimitri John Ledkov
a808b28d47
riscv64: build preinstalled riscv64 image with uboot SPL and CIDATA. 2020-12-01 17:14:40 +00:00
Łukasz 'sil2100' Zemczak
a984bf59be releasing package livecd-rootfs version 2.703 2020-12-01 10:00:47 +01:00
Łukasz 'sil2100' Zemczak
dda73b5591 Do not hard-code the UC20 amd64 image size anymore. 2020-11-27 17:57:18 +01:00
Dimitri John Ledkov
17116a48f5
releasing package livecd-rootfs version 2.702 2020-11-25 13:00:18 +00:00
Dimitri John Ledkov
3962f4ac23
disk-image-uefi: riscv64 add ubuntu:ubuntu login, without expiry. 2020-11-24 18:40:40 +00:00
Dimitri John Ledkov
da578b2c6b
disk-image-uefi: riscv64 add u-boot spl
LP: #1905274
2020-11-24 18:40:34 +00:00
Dimitri John Ledkov
ba8649ef80
get-ppa-fingerprint: use production instance with latest api.
Otherwise it defaults to staging lp instance, with obsolete API.
2020-11-24 18:39:56 +00:00
Sebastien Bacher
fb0d16ea8a Correctly set the environment needed by snapd in layered
The change is similar to commit #1ca11c97 but for the canary image.
2020-11-24 11:38:10 +01:00
Sebastien Bacher
79e8f3b53e Use the target realpath to do the unmounting 2020-11-24 11:36:13 +01:00
Robert C Jennings
40da2925c4
releasing package livecd-rootfs version 2.701 2020-11-20 14:57:23 -06:00
Cody Shepherd
edaab1def3
Omit file type exensions in manifest names 2020-11-20 12:36:23 -08:00
Cody Shepherd
762124dbd7
Create manifests for buildd tarballs 2020-11-19 12:59:06 -08:00
Dimitri John Ledkov
bf59d6c31c
releasing package livecd-rootfs version 2.700 2020-11-19 17:43:55 +00:00
Dimitri John Ledkov
3a20f2669c
Merge remote-tracking branch 'davidkrauser/buildd-image-perform-upgrade' into ubuntu/master 2020-11-19 17:39:26 +00:00
Dimitri John Ledkov
f53a681d8a
Merge remote-tracking branch 'patviafore/use_ftpmaster_instead_of_archive_in_binary_hooks' into ubuntu/master 2020-11-19 17:36:39 +00:00
Dimitri John Ledkov
8e986c20fd
Merge remote-tracking branch 'seb128/layered-languages-fix' into ubuntu/master 2020-11-19 17:34:02 +00:00
Dimitri John Ledkov
83c77f9c60
Merge remote-tracking branch 'davidkrauser/dk/buildd-unpack-kernel-initrd' into ubuntu/master 2020-11-19 17:28:21 +00:00
Dimitri John Ledkov
80e98a937b
Merge remote-tracking branch 'xnox/disk-images-all-the-things' into ubuntu/master 2020-11-19 17:26:00 +00:00
Dimitri John Ledkov
914997827d
disk-image-uefi.binary: build riscv64 image without a bootloader.
We want GPT image with ESP, however there is no bootloader for it
yet. Build without it.
2020-11-19 15:47:12 +00:00
Dimitri John Ledkov
122364df65
disk-image-uefi.binary: enable secureboot on the arm64 image. 2020-11-19 15:47:09 +00:00
Sebastien Bacher
fa5c2092c7 During the layered build generate the right content for no languages
The structure changed as part of bug #1873374
2020-11-19 16:28:11 +01:00
Dimitri John Ledkov
e8f53aabdf
disk-image.binary: however still build MBR image on amd64.
It is used to derive vagrant and ec2 images. I do wonder, if those
could be converted to derive from uefi one.
2020-11-18 00:09:08 +00:00
Dimitri John Ledkov
8e548f37d9
disk-image.binary: skip building MBR image on riscv64. 2020-11-17 23:40:53 +00:00
Dimitri John Ledkov
ff175e3f4a
disk-image.binary: actually skip building MBR image on EFI platforms.
The case is for arch:subarch combo, not just arch alone even if
subarch is empty. Thus currently on adm64/arm64/armhf ubuntu-cpc
builds mbr image is created and then ignored, as the convert to qcow2
hook prefers the uefi image whenever available.

Skipping building these correctly, should speed up the build a little
bit and use slightly less disk space.
2020-11-17 23:37:52 +00:00
Iain Lane
62986bd84b
Finalise changelog 2020-11-03 10:13:56 +00:00
Iain Lane
bff59ee0af
Update changelog 2020-11-03 10:11:28 +00:00
Jinming Wu, Patrick
72e47a9f8b
Hyper-V hook fix 2020-11-03 16:19:01 +08:00
Dimitri John Ledkov
a92b0a4fb6
releasing package livecd-rootfs version 2.698 2020-10-29 22:22:35 +00:00
Dimitri John Ledkov
18a5309531
control: install qemu-utils & snapd on riscv64.
These are now available.
2020-10-29 22:21:39 +00:00
Dimitri John Ledkov
07d9e9ca9d
Merge branch 'shim-signed-wants-pc' of https://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2020-10-29 22:18:17 +00:00
Dimitri John Ledkov
0f7c511892
amd64: always install grub-pc with shim-signed (LP: #1901906) 2020-10-28 22:56:32 +00:00
Dimitri John Ledkov
e2fd168f50
amd64: always install grub-pc with shim-signed
shim-signed depends on grub-efi-amd64-signed, which in turn has
alternative depends on either `grub-efi-amd64 | grub-pc`. However to
support booting with either via shim&signed-grub and BIOS, the choice
must be made to install grub-pc, not grub-efi-amd64.

This makes images consistent with Ubuntu Deskop, Live Server, buildd
bootable images; all of which already do install grub-pc and
shim-signed.

LP: #1901906
2020-10-28 22:56:31 +00:00
Robert C Jennings
7033e0fae9
releasing package livecd-rootfs version 2.697 2020-10-28 12:02:39 -05:00
Robert C Jennings
df38b9ba75
Merge ensure-vmtools-in-vmdk-header into ubuntu/master [a=jchittum] [r=rcj]
vmtools version in vmdk header (LP: #1893898)

LP: #1893898 describes missing vmtools version from the vmdk headers.
The version should be added as ddb.toolsVersion = "2147483647" however
the sed was no longer replacing a ddb.comment field with the tools
version. Rather than subbing ddb.comment with toolsVersion, this commit
deletes ddb.comment (which the comment mentions could cause errors),
and adds the correct value. There was no visibility into the descriptor
during hook creation, so debug statements were added. This allows us to
quickly verify in the logs that bad statements are removed (the possibly
offending commetns), as well as ensuring that the toolsVersion is added

MP: https://code.launchpad.net/~jchittum/livecd-rootfs/+git/livecd-rootfs/+merge/392401
2020-10-28 12:00:57 -05:00
Dimitri John Ledkov
75c196cb0e
Correct bug number 2020-10-28 10:43:51 +00:00
Dimitri John Ledkov
55ce3027ba
releasing package livecd-rootfs version 2.696 2020-10-28 10:37:13 +00:00
Dimitri John Ledkov
eae27b6737
Merge branch 'unbreak-hyperv-desktop-preinstalled' of https://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2020-10-28 10:36:22 +00:00
Dimitri John Ledkov
1c7d688319
auto/config: scope ubuntu:desktop-preinstalled:raspi image options
When desktop-preinstalled image options were added in
38157b37487d244b27af33f7863e6b15253c8f94, for the raspi subarch, the
options listed there were not scoped for raspi subarch. This results
in those options getting also applied for the HYPERV
ubuntu:desktop-preinstalled image.

Thus scope the newly added options under raspi subarch case only.
2020-10-27 20:42:08 +00:00
Dimitri John Ledkov
5d9af7f3c5
auto/config: seed ubuntu-desktop when building hyperv image
Regression introduced in 38157b37487d244b27af33f7863e6b15253c8f94 when
desktop-preinstalled code branch was added, it dropped addint
ubuntu-desktop task. Instead it added ubuntu-desktop-raspi task, only
for the raspi subarch, which depends on ubuntu-desktop. But the hyperv
case, now ended up without ubuntu-desktop task.

It looks like introduction of "desktop-preinstalled" assumed, that it
is for raspi only, when in fact that code path now started to be used
for hyperv gallery image too.
2020-10-27 20:26:50 +00:00
Joshua Powers
a0b58df7ae
fix changelog version 2020-10-26 12:03:35 -07:00
Joshua Powers
b96d6a5263
Update changelog 2020-10-26 12:01:31 -07:00
Joshua Powers
b0c8b628b2
ubuntu-cpc: only install shim-signed, run autoremove
The CPC build hooks for amd64 incorrectly attempt to install shim-signed
in addition to grub-efi-amd64 and grub-pc. These latter two packages
conflict with each other. Instead shim-signed should install whatever
packages are required.

Additionally, this will ensure that autoremove is run after installing
anything in the CPC build hooks. This is done to avoid shipping images
that include packages that are autoremovable. This will clean-up as
packages are installed and detect any breakage at build time.
2020-10-26 11:48:24 -07:00
John Chittum
4f1df739f6
Debug logging information
Added context lines for debugging lines.
2020-10-26 09:22:32 -05:00
David Krauser
065c823144 Produce buildd kernel and initrd as separate artifacts
Multipass on Mac OS X requires standalone kernel and initrd artifacts
to boot.

Also call update-initramfs on all installed kernels. We only have one
kernel installed, so we don't need to specify an explicit version.
2020-10-20 15:00:23 -04:00
Łukasz 'sil2100' Zemczak
a3d6f34970 releasing package livecd-rootfs version 2.694 2020-10-20 19:57:11 +02:00
Łukasz 'sil2100' Zemczak
f4f4fec5dc Add the pi desktop oem user to the adm and sudo groups 2020-10-20 17:26:40 +02:00
John Chittum
201addb317
Remove sed and move size check
There was a question on if the comment removals in the `sed` were
required. The comments (`#`) are created by vmdk-stream-converter and
seem to cause no issues. `ddb.comment` is no longer being written by the
tool anymore. Moved the check earlier to ensure the new header isn't too
large before running truncate (otherwise it may be too long, and we
remove bits we want)
2020-10-19 13:22:32 -05:00
John Chittum
4f5eacbfae
Fixup Debian Changlog
Rebase, fixedup changelog, opened new release
2020-10-19 10:54:59 -05:00
John Chittum
24ee4b8c4d
vmtools version in vmdk header (LP: #1893898)
LP: #1893898 describes missing vmtools version from the vmdk headers.
The version should be added as ddb.toolsVersion = "2147483647" however
the sed was no longer replacing a ddb.comment field with the tools
version. Rather than subbing ddb.comment with toolsVersion, this commit
deletes ddb.comment (which the comment mentions could cause errors),
and adds the correct value. There was no visibility into the descriptor
during hook creation, so debug statements were added. This allows us to
quickly verify in the logs that bad statements are removed (the possibly
offending commetns), as well as ensuring that the toolsVersion is added
2020-10-19 10:51:44 -05:00
Łukasz 'sil2100' Zemczak
81eba8db72 releasing package livecd-rootfs version 2.693 2020-10-19 13:06:02 +02:00
Łukasz 'sil2100' Zemczak
49a0243465 Changelog 2020-10-19 13:03:59 +02:00
Łukasz 'sil2100' Zemczak
5a7b332745 Build classic raspi server images by default from the 'classic' branch now. 2020-10-19 12:58:08 +02:00
Łukasz 'sil2100' Zemczak
fdef469af0 releasing package livecd-rootfs version 2.692 2020-10-19 12:56:12 +02:00
Łukasz 'sil2100' Zemczak
5d0e1c602a duh, Laney is right, we can do 1G straight away. 2020-10-15 11:44:26 +02:00
Łukasz 'sil2100' Zemczak
af0356e402 Add changelog entry. 2020-10-15 11:24:30 +02:00
Łukasz 'sil2100' Zemczak
729e12c846 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into pi-desktop-swapfile 2020-10-15 11:23:38 +02:00
Michael Hudson-Doyle
cb4e8cec58 releasing package livecd-rootfs version 2.691 2020-10-15 08:56:20 +13:00
Michael Hudson-Doyle
b677bdbcc6 Remove 68-del-part-nodes.rules from installer squashfs to work around it breaking curtin. (LP: #1893818) 2020-10-15 08:33:23 +13:00
Łukasz 'sil2100' Zemczak
1a8d6d203e Add creation of a 1GB swapfile for desktop pi images. 2020-10-14 15:09:34 +02:00
Łukasz 'sil2100' Zemczak
66621a8aed releasing package livecd-rootfs version 2.690 2020-10-07 17:06:12 +02:00
Łukasz 'sil2100' Zemczak
eda716902e For desktop-preinstalled we don't need cloud-image. 2020-10-07 17:04:08 +02:00
Łukasz 'sil2100' Zemczak
42b28cf70a Fix braces broken again. 2020-10-07 13:04:49 +02:00
Łukasz 'sil2100' Zemczak
7d524ffb98 Remove unneeded sedding. 2020-10-07 10:52:47 +02:00
Łukasz 'sil2100' Zemczak
6fe2354261 Add changelog entry. 2020-10-07 10:51:55 +02:00
Łukasz 'sil2100' Zemczak
99556c77ea Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into raspi-desktop-1 2020-10-07 10:49:32 +02:00
Łukasz 'sil2100' Zemczak
fdd8b1cba0 Use the right task name - ubuntu-desktop-raspi. 2020-10-07 10:49:03 +02:00
Łukasz 'sil2100' Zemczak
38157b3748 First batch of changes for raspi desktop. 2020-10-01 11:23:28 +02:00
Steve Langasek
dd81544956 releasing package livecd-rootfs version 2.689 2020-09-30 15:57:25 -07:00
Steve Langasek
394abc17ea Include bug reference in changelog 2020-09-30 15:57:11 -07:00
John Chittum
953857c8f9
Uprev and update changelog 2020-09-29 13:00:05 -05:00
John Chittum
1abc43a2d0
Remove virtualbox-guest-utils (LP: #1895862)
virtualbox-guest-utils kernel modules is included in linux-modules
starting in kernel 5.4.0-33 in focal-updates. The vagrant hook also
explicit installed virtualbox-guest-utils. An error occurred with the
version installed from the archives, however, with the inclusion in
linux-modules, there's no need to explicitly install
virtualbox-guest-utils. Removes the code for the explicit install.
2020-09-29 11:41:05 -05:00
Pat Viafore
78ced6b26e
Rename function to be shorter 2020-09-21 12:10:08 -05:00
Pat Viafore
32d5afc40a
Expose a variable for sources.list backup
MOUNTPOINT_BACKUP_SOURCE_LIST is exposed when you call
setup_mountpoint.  Consumers can use this variable if they need to
explicitly change something in sources.list wihout relying on the name
livecd-rootfs chooses.
2020-09-21 12:07:48 -05:00
Robert C Jennings
5190aff932
Ensure a binary hook has not changed the temporary sources.list 2020-09-21 12:07:47 -05:00
Robert C Jennings
5362e3a7e7
Use build env archive mirror in binary hooks 2020-09-21 12:07:47 -05:00
Robert C Jennings
76f9f34177
releasing package livecd-rootfs version 2.688 2020-09-16 08:49:06 -05:00
Robert C Jennings
2be2a168ee
ubuntu-cpc: Fix spelling in vagrant file 2020-09-16 08:48:28 -05:00
Robert C Jennings
3a23df1711
releasing package livecd-rootfs version 2.687 2020-09-15 15:26:26 -05:00
John Chittum
fb33fe9026
Minor fixes to Vagrantfile comments 2020-08-27 15:46:36 -05:00
John Chittum
cfd43992a8
Reorder comments to ensure clarity
Long history comment moved to the end with short clarifying comments
before the relevant code. Update changelog with proper attribution
2020-08-27 15:11:15 -05:00
John Chittum
c92e885303
ubuntu-cpc: Vagrant Serial to Null (LP: #1874453)
Original fix proposed by Stanislav German-Evtushenko (giner)

CPC Ubuntu cloud images default to enabling a serial console connection
via the kernel commandline option `console=ttyS0`. Many clouds support
the serial connection, and utilize it for debugging purposes. Virtualbox
supports the serial connection as well. In Bionic and earlier images,
Vagrant boxes created a serial log file in the directory of the
Vagrantfile by default. However this is not standard behaviour for
Vagrant images, and so it was removed in Eoan onwards.

Starting in Eoan, there were reports of image booting slowdown (1874453
is a single example). After testing, it was determined that the serial
connection starting, without a device attached, was the cause of the
slow down. However, we did not want to revert to the old functionality
of creating a file. Much thanks to <giner> for providing the Ruby syntax
for sending to File::NULL.

This option will not create a local file, however, the default
Vagrantfile configuration is overwritable via a users Vagrantfile. The
original syntax for creating a file local to the users Vagrantfile has
been included as an example.
2020-08-27 14:37:40 -05:00
Stanislav German-Evtushenko
b0144d3018
vagrant: Use dummy file for the console output
Links:
- https://bugs.launchpad.net/cloud-images/+bug/1874453
2020-08-27 14:36:22 -05:00
Steve Langasek
10dae25655 releasing package livecd-rootfs version 2.685 2020-08-27 12:18:19 -07:00
Steve Langasek
08c09dc42a changelog 2020-08-27 12:17:22 -07:00
Steve Langasek
37f5f8881f Revert "Revert "Remove fstab from squashfs images""
This reverts commit d9de2701897608710ed97e206ee29f28af8cc82a.
2020-08-27 12:17:22 -07:00
Steve Langasek
ff6116a5c8 use python3-launchpadlib directly instead of python3-software-properties 2020-08-27 12:17:20 -07:00
Dan Streetman
82f206190d use python3-launchpadlib directly instead of python3-software-properties 2020-08-27 12:16:48 -07:00
Robert C Jennings
a17961a974
Release package livecd-rootfs version 2.685 2020-08-27 11:10:15 -05:00
Robert C Jennings
2844aa530d
Revert ubuntu-cpc: Disable boot splash
These introduced a regression for ppc64el and needs more time to bake.
This reverts commits 1deb0c68e8be6b06190402e32292c3c55134eee2 &
6dbb30f53bd3f2086021abdecaee04645c9ccda0.

 * "ubuntu-cpc: Fix ppc64el grub console update"
 * "ubuntu-cpc: Disable boot splash in all cloud images (LP: #1725358)"
2020-08-12 16:49:41 -05:00
Robert C Jennings
5b32b7e373
Release package livecd-rootfs version 2.684 2020-08-12 13:48:51 -05:00
Robert C Jennings
1deb0c68e8
ubuntu-cpc: Fix ppc64el grub console update
The commit 6dbb30f5 (2.682) which disabled boot splash for all cloud
images introduced an error in the ppc64el hook.  This patch corrects the
name of the variable that contains grub console overrides.  The error
seen during testing was
 'disk-image-ppc64el.binary: line 44: CONSOLES: unbound variable'
and this was due to a typo.
2020-08-12 13:48:03 -05:00
Steve Langasek
a2a0ec7d7c releasing package livecd-rootfs version 2.683 2020-08-12 11:35:49 -07:00
Steve Langasek
484c5fa8b1 Changelog entry 2020-08-12 11:35:29 -07:00
Steve Langasek
d9de270189 Revert "Remove fstab from squashfs images"
This reverts commit f96e874ed12e7e080111d27aa14c4f97aa6bec87.
2020-08-12 11:35:06 -07:00
Robert C Jennings
b907a03f54
Release package livecd-rootfs version 2.682 2020-08-12 04:53:17 -05:00
Robert C Jennings
6dbb30f53b
ubuntu-cpc: Disable boot splash in all cloud images (LP: #1725358)
When trying to debug an issue on ARM64 it was reported that it was
quite difficult to debug because of control codes on the console from
the splash.

For cloud image there is a chroot customization the drops 'quiet splash'
but this is only applied to amd64.  It hasn't made it into other
architectures because they don't have grub by default in the chroot.
However, when we get into binary hook for the uefi disk image and it's
derivatives grub is installed and this includes architectures that were
skipped in the chroot hook.

This patch changes the cpc-fixes chroot hook to add a cloud-images
grub config with basic overrides, including dropping the boot splash,
for all architectures.  For images that never get grub installed this
addition is harmless and small while ensuring that the grub experience
is consistent for images that have grub.  The configuration of console
devices as hard-coded remains arch specific.
2020-08-12 04:50:36 -05:00
Steve Langasek
c39b9b2d54 releasing package livecd-rootfs version 2.681 2020-08-10 14:54:28 -07:00
Steve Langasek
57d487b11d Use the Azure kernel for the HyperV gallery images. 2020-08-10 14:54:21 -07:00
Steve Langasek
9348a2e9cb Merge remote-tracking branch 'callmepk/ubuntu/master' into ubuntu/master 2020-08-10 14:52:07 -07:00
Steve Langasek
fa8398d671 releasing package livecd-rootfs version 2.680 2020-08-04 12:30:37 -07:00
Steve Langasek
e1c745e193 Merge remote-tracking branch 'codyshepherd/bootable-buildd/dist-upgrade/groovy' into ubuntu/master 2020-08-04 12:29:52 -07:00
Robert C Jennings
6f67e275a5
Release package livecd-rootfs version 2.679
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized

The seed now specifies the lxd snap in focal as
'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of
the code with looks for lxd as the only snap in the seed for minimized
images.  This same pattern will be used in groovy near/after release.
This patch updates the pattern to accept 'lxd' or 'lxd=*'.

MP: https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/388320
2020-07-29 15:25:57 -05:00
Robert C Jennings
e3dce0ab17
Handle seeded lxd snap with channel name for ubuntu-cpc:minimized
The seed now specifies the lxd snap in focal as
'lxd=4.0/stable/ubuntu-20.04' which doesn't match the expectations of
the code with looks for lxd as the only snap in the seed for minimized
images.  This patch updates the pattern to accept 'lxd' or 'lxd=*'.
2020-07-29 14:56:26 -05:00
Dimitri John Ledkov
c69c79ea75
releasing package livecd-rootfs version 2.678 2020-07-27 17:38:35 +01:00
Dimitri John Ledkov
4d4f113f42
functions: provide nss_systemd-less nsswitch.conf in chroots. 2020-07-24 21:03:55 +01:00
Dimitri John Ledkov
109e6c6613
auto/build: use setup|teardown_mountpoint to reduce duplication 2020-07-24 20:59:57 +01:00
Robert C Jennings
9c52eaef60
Merge feature/initrdless-detection into ubuntu/master [a=davidkrauser] [r=rcj]
MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/387862
2020-07-23 14:01:06 -05:00
David Krauser
83499f1a95 Add mechanism to detect initrdless boot fallback
In v2.672 the default boot behavior of cloud images changed:

- Prior to v2.672, cloud images with the linux-generic kernel attempt
  to boot without an initramfs, would fail, and then retry with an
  initramfs.

- After v2.672, cloud images with the linux-generic kernel boot with
  an initramfs on the first try.

While the behavior is different between the two, they both result in
an instance that has booted with an initramfs. To ensure the changes
in v2.672 do not regress, we need an automated way to check if we are
attempting to boot without an initramfs and failing.

With this change, when we attempt to boot with an initramfs and fail,
initrdless_boot_fallback_triggered is set to non-zero in the grubenv.
This value can be checked after boot by looking in /boot/grub/grubenv
or by using the grub-editenv list command.
2020-07-22 16:41:10 -04:00
Jinming Wu, Patrick
afda365565
Additional fixes for Hyper-V builds
use of linux-azure, which is the optimized kernel for Hyper-V by
Microsoft
2020-07-22 17:27:03 +08:00
Robert C Jennings
2edabc31c2
releasing package livecd-rootfs version 2.677
* Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
2020-07-18 18:12:24 -05:00
Robert C Jennings
84397b5098
Avoid rbind /sys for chroot snap pre-seeding (cgroups fail to unmount)
Builds in LP with the Xenial kernel were happy with the recursive mount of
/sys inside the chroot while performing snap-preseeding but autopkgtests
with the groovy kernel failed.  With the groovy kernel the build was
unable to unmount sys/kernel/slab/*/cgroup/* (Operation not permitted).

This patch mounts /sys and /sys/kernel/security in the chroot in the
same way we've added for binary hooks.  This provides the paths under
/sys needed for snap-preseed while avoiding issues unmounting other
paths.
2020-07-18 16:52:18 -05:00
Dimitri John Ledkov
b22d7dc38c
releasing package livecd-rootfs version 2.676 2020-07-18 01:18:18 +01:00
Dimitri John Ledkov
b14f79ce2e
apparmor: compile all profiles 2020-07-18 00:45:26 +01:00
Dimitri John Ledkov
31861fd40d
seccomp: mount more up-to-date seccomp features 2020-07-18 00:24:16 +01:00
Dimitri John Ledkov
bc4d32a422
seccomp: add more up-to-date seccomp actions 2020-07-18 00:20:42 +01:00
Dimitri John Ledkov
a14a31b751
apparmor: mount more up-to-date apparmor features in the chroot. 2020-07-18 00:20:41 +01:00
Dimitri John Ledkov
37be000f39
apparmor: Add generic v5.4 kernel apparmor features 2020-07-17 23:42:53 +01:00
Dimitri John Ledkov
3694cf3f75
releasing package livecd-rootfs version 2.675 2020-07-17 21:19:57 +01:00
Dimitri John Ledkov
6e6ab16bf2
live-server: remove duplicate snaps, due to overlayfs vs snap-preseed. 2020-07-17 21:17:34 +01:00
Robert C Jennings
1ca11c9795
Apply snap-preseed optimizations after seeding snaps
The snap-preseed command can do a number of things during the build
that are currently performed at first boot (apparmor profiles, systemd
unit generation, etc).  This patch adds a call to reset the seeding and
apply these optimizations when adding a seeded snap.  As a prerequisite
to calling snap-preseed we need to make /dev/mem available as well as
mounts from the host to perform this work, so those are also added here.
2020-07-17 21:17:33 +01:00
Steve Langasek
2513613002 releasing package livecd-rootfs version 2.674 2020-07-16 15:40:22 -07:00
David Krauser
4c504f6781 Fix broken minimal cloud image boot on amd64
I recently pulled initramfs logic out of the base build hook, and
dropped that into the `replace_kernel` function. Any cloud image that
does not leverage the generic virtual kernel was expected to call
`replace_kernel` to pull in a custom kernel. That function will
disable initramfs boot for images that use a custom kernel.

Minimal cloud images on amd64 use the linux-kvm kernel, but the build
hook does not utilize the `replace_kernel` function. Instead, the
kernel flavor is set in `auto/config`. I pulled that logic out of
`auto/config` and am now calling `replace_kernel` in the build hook.

I also moved a call to generate the package list so that it will pick
up the change to the linux-kvm kernel.
2020-07-16 17:25:46 -04:00
Michael Hudson-Doyle
83ce5e32a8 releasing package livecd-rootfs version 2.673 2020-07-14 14:58:45 +12:00
Michael Hudson-Doyle
f277d1f355 update changelog 2020-07-14 14:57:16 +12:00
Joshua Powers
d542e8e4a0
functions: fix unbound variable 2020-07-13 13:05:43 -07:00
Cody Shepherd
7ad64297f7
Remove explicit install of grub-efi-* package as it is not necessary,
and potentially overexplicit
2020-07-13 09:10:50 -07:00
Robert C Jennings
a6a7be7c18
Release package livecd-rootfs version 2.672
* Boot with an initramfs by default in cloud images, except when using a non-generic kernel.
   MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/386913
2020-07-10 07:48:22 -05:00
Dimitri John Ledkov
2976a99f29 Fix-up seeding snaps with tracks. 2020-07-10 01:56:10 +01:00
Cody Shepherd
5136ee4104
Perform a dist-upgrade prior to installing packages for bootable-buildd
image in order to pull in package updates
2020-07-09 13:00:04 -07:00
Dimitri John Ledkov
c60421ae57 releasing package livecd-rootfs version 2.670 2020-07-09 18:35:03 +01:00
Dimitri John Ledkov
bdec14015c Merge branch 'snap-preseed-channel-specification' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2020-07-09 18:34:31 +01:00
Dimitri John Ledkov
7bae9201d2 snap_preseed: support channel specification with snap name
snap_name[/classic]=track/risk/branch is now the supported snap name
specification, which allows to specify the full default track and
optional classic confinemnt.

Supporting such specification in the seedtext allows one to specify a
better default channel. For example, this will allow lxd to switch
from latest/stable/ubuntu-20.04 to 4.0/stable/ubuntu-20.04 as 4.0 is
the LTS track matching 20.04 support timeframe.

LP: #1882374
2020-07-09 18:32:10 +01:00
David Krauser
5a4541b01e Add changelog entry for initramfs changes 2020-07-08 17:29:15 -04:00
David Krauser
e8e3e6760f Drop hack in kvm image that forces initramfs-less boot
Since the kvm image now boots without an initramfs by default, we
don't need to force it in the build hook.
2020-07-08 17:29:15 -04:00
David Krauser
8a2cdec470 Boot without an initramfs by default if running a custom kernel
Initramfs-less boot, which is a boot optimization, should only be
applied where we know it could work for users and provide an improved
boot boot experience; images with custom kernels are candidates for
that.
2020-07-08 17:26:50 -04:00
David Krauser
1ca1330eae Boot with an initramfs by default in cloud images
Generic cloud images with the linux-generic kernel are not able to
boot without an initramfs. Previously, these images attempted to boot
without an initramfs, would fail, and then retry with an initramfs.
This slows the boot and is confusing behavior.
2020-07-08 17:13:49 -04:00
Dimitri John Ledkov
4f11f40c96 releasing package livecd-rootfs version 2.669 2020-06-25 18:02:57 +01:00
Dimitri John Ledkov
1ff35cf438 chroot: disable amd64 codepath on riscv64 2020-06-24 16:08:31 +01:00
Dimitri John Ledkov
04c2fda36c releasing package livecd-rootfs version 2.668 2020-06-23 15:05:15 +01:00
Dimitri John Ledkov
90602e00de Merge branch 'empty-fstab-in-lxd' of git+ssh://git.launchpad.net/~rbalint/livecd-rootfs into ubuntu/master 2020-06-23 15:04:46 +01:00
Steve Langasek
05d219a319 add changelog entry for hyperv changes 2020-06-22 08:46:23 -07:00
Steve Langasek
4a02400dec Merge remote-tracking branch 'callmepk/hyper-v-fix' into ubuntu/master 2020-06-22 08:45:21 -07:00
Balint Reczey
f96e874ed1 Remove fstab from squashfs images
The default fstab is not valid, since squashfs does not support labels.

LP: #1877078
2020-06-16 22:14:59 +02:00
Łukasz 'sil2100' Zemczak
40103430d8 Enable overrides of UC20 grade dangerous channels 2020-05-25 19:11:22 +02:00
Philip Roche
60665a434b Revert of initramfs package removal in KVM image (LP: #1875400)
It was reported and confirmed in LP bug #1875400
(https://bugs.launchpad.net/cloud-images/+bug/1875400) that on the public
KVM cloud image there exists a large list of packages marked for auto-removal.

This should never be the case on a released cloud image.

These packages are marked for auto-removal because in the KVM image binary hook
we removed both initramfs-tools and busybox-initramfs packages. Due to package
dependencies this also removed:

busybox-initramfs* cloud-initramfs-copymods* cloud-initramfs-dyn-netconf*
cryptsetup-initramfs* initramfs-tools* initramfs-tools-core* multipath-tools*
overlayroot* sg3-utils-udev* ubuntu-server*

But it did not remove all the packages that the above list depended on.
This resulted in all those packages being marked for auto-removal because they
were not manually installed nor did they have any manually installed packages
that depended on them.

The removal of initramfs-tools and busybox-initramfs was to avoid the
generation of initramfs in images that should boot initramfsless.

This requirement is obsolete now because the initramfsless boot handling
is now handled via setting GRUB_FORCE_PARTUUID in /etc/default/grub.d/40-force-partuuid.cfg.

In test images I have verified that GRUB_FORCE_PARTUUID is set and that
boot speeds have not regressed.

LP: #1875400
2020-05-18 17:08:30 +01:00
Dimitri John Ledkov
9640e60515 releasing package livecd-rootfs version 2.666 2020-05-12 12:29:58 +01:00
Dimitri John Ledkov
dbf5b84bc8 Merge branch 'xnox/lxd-add-riscv64' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-12 12:28:56 +01:00
Dimitri John Ledkov
1979e61c36 Merge branch 'kpartx-fun' of git+ssh://git.launchpad.net/~mwhudson/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2020-05-12 12:19:32 +01:00
Dimitri John Ledkov
29b99b70ec Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/~rbalint/livecd-rootfs into ubuntu/master 2020-05-12 11:51:46 +01:00
Dimitri John Ledkov
bb9a7dd43e make-lxd-metadata: add riscv64 lxd architecture tag 2020-05-11 14:20:34 +01:00
Jinming Wu, Patrick
81b1cbbfc2
Add extra policy for xrdp session 2020-05-11 19:45:04 +08:00
Jinming Wu, Patrick
8d26a3036c
force to use systemwide config 2020-05-11 19:43:27 +08:00
Jinming Wu, Patrick
c9a2d8abad
Hyper-V: remove legacy option 2020-05-11 19:39:38 +08:00
Dimitri John Ledkov
b9177cfd59 Fixup indentation
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2020-05-07 15:09:57 +01:00
Jinming Wu, Patrick
bc24ef964e
hyper-v enhanced mode fix: port change 2020-05-05 18:03:10 +08:00
Dimitri John Ledkov
3575edfb4d releasing package livecd-rootfs version 2.665 2020-05-01 20:00:13 +01:00
Dimitri John Ledkov
3f4a3c6fa0 Merge branch 'xnox/riscv64' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:58:17 +01:00
Dimitri John Ledkov
50dc35bb17 ubuntu-image: drop ubuntu-image dep on riscv64, as not installable yet. (LP: #1876359) 2020-05-01 19:56:18 +01:00
Dimitri John Ledkov
282c5a5bd5 ubuntu-image: drop ubuntu-image dep on riscv64, as not installable yet.
LP: #1876359
2020-05-01 19:55:31 +01:00
Dimitri John Ledkov
ecfe6658fc Merge branch 'xnox/fix-pi-models' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:53:29 +01:00
Dimitri John Ledkov
e25aec1ca2 ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name. (LP: #1876358) 2020-05-01 19:52:02 +01:00
Dimitri John Ledkov
6e8b5b94c4 ubuntu-image: fix focal+ pi images for armhf to use pi-armhf model name.
LP: #1876358
2020-05-01 19:50:41 +01:00
Dimitri John Ledkov
99e129f30c Merge branch 'xnox/lp-uc20-8gb' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-05-01 19:48:27 +01:00
Dimitri John Ledkov
e013459a08 Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible. (LP: #1875430) 2020-05-01 19:47:17 +01:00
Dimitri John Ledkov
668898d92c Bump only the UC20 pc image to 8GB, and keep Pi images as small as possible.
LP: #1875430
2020-05-01 19:43:30 +01:00
Robert C Jennings
1f120d7c89
Release 2.664 2020-04-17 11:03:44 -05:00
Robert C Jennings
86b455ce9e
Merge vagrant_40_gb into ubuntu/master [a=patviafore] [r=rcj]
Make Ubuntu Vagrant box 40G. (LP: #1580596)

Vagrant images were previously put at 10G, but this was a regression
from Trusty, in which they were 40G. This made it a tough sell for
users to upgrade if they were using a Ubuntu desktop experience.

This change does not impact disk usage as Vagrant with the virtualbox
provider dynamically allocates space with the VMDK. On a test system,
the VMDK took up 1.1G of disk space according to df, and after
creating a 2G file in Vagrant, the VMDK grew to 3.1G.

Therefore, users who are running on a system with little free space
will not see adverse effects if they upgrade to a new vagrant image

MP: https://code.launchpad.net/~patviafore/livecd-rootfs/+git/livecd-rootfs/+merge/382509
2020-04-17 11:02:56 -05:00
Pat Viafore
2c70ed158b
Make Ubuntu Vagrant box 40G. (LP: #1580596)
Vagrant images were previously put at 10G, but this was a regression
from Trusty, in which they were 40G.  This made it a tough sell for
users to upgrade if they were using a Ubuntu desktop experience.

This change does not impact disk usage as Vagrant with the virtualbox
provider dynamically allocates space with the VMDK.  On a test system,
the VMDK took up 1.1G of disk space according to df, and after
creating a 2G file in Vagrant, the VMDK grew to 3.1G.

Therefore, users who are running on a system with little free space will
not see adverse effects if they upgrade to a new vagrant image
2020-04-17 10:17:18 -05:00
Dimitri John Ledkov
85e91ddc79 releasing package livecd-rootfs version 2.663 2020-04-17 00:58:42 +01:00
Dimitri John Ledkov
ad64e38c48 Run snap info on the downloaded snap, rather than against the store. First of all snap info doesn't have --channel argument, thus queries the wrong channel, and depening on the cohort, a different snap might be visible too. Thus seed the base of the snap revision we dowanloaded, rather than some random one from the store. 2020-04-17 00:58:32 +01:00
Dimitri John Ledkov
28b531d1ea releasing package livecd-rootfs version 2.662 2020-04-16 23:54:41 +01:00
Dimitri John Ledkov
a21a67ab52 Print subiquity ssh login details on s390x line based consoles. 2020-04-16 23:54:27 +01:00
Dimitri John Ledkov
d5850291ca releasing package livecd-rootfs version 2.661 2020-04-16 01:33:53 +01:00
Dimitri John Ledkov
56ac1865f7 Switch Ubuntu desktop to only hwe-20.04 kernel flavour. 2020-04-16 01:30:31 +01:00
Dimitri John Ledkov
f93108006f releasing package livecd-rootfs version 2.660 2020-04-12 15:42:09 +01:00
Dimitri John Ledkov
a80c68d47b Remove dependencies on qemu-utils and snapd on riscv64, we don't have those yet, but at least we can be on parity with i386 livecd-rootfs already. 2020-04-12 15:42:00 +01:00
Robert C Jennings
49fe13a619
Merge bugfix/snapd_for_core18 into ubuntu/master [a=rcj] [r=vorlon]
Ensure snapd is seeded in core18-only images (and no implicit core snap)

The _snap_post_process function is meant to install snapd if core18 is the
only core snap installed or removed snapd if core is installed and snapd
was not explicitly installed. But the current logic in _snap_preseed
will never call _snap_post_process. $core_name will never be empty
with the existing logic, but even if it were that would only be for the
'core' snap and we'd miss using the 'core18' logic that pulls in snapd.
Given the case statement in _snap_post_process can handle doing the
right thing given any snap we can just call it unconditionally.

Seeing any snap via snap_preseed will evaluate the base for each snap
and seed the appropriate base. There should be no reason to explicitly
seed the 'core' snap and with snaps moving to 'core18' this will add
'core' without need.

MP: https://code.launchpad.net/~rcj/livecd-rootfs/+git/livecd-rootfs/+merge/382041
2020-04-10 06:34:52 -05:00
Robert C Jennings
903e743c79
Release 2.659 2020-04-09 15:36:27 -05:00
Robert C Jennings
66041e9d8c
Do not unconditionally install the core snap
Seeing any snap via snap_preseed will evaluate the base for each snap
and seed the appropriate base.  There should be no reason to explicitly
seed the 'core' snap and with snaps moving to 'core18' this will add
'core' without need.
2020-04-09 14:38:45 -05:00
Robert C Jennings
14066ce389
Fix logic to ensure snapd is seeded in core18-only images
The _snap_post_process function is meant to install snapd if core18 is the
only core snap installed or removed snapd if core is installed and snapd
was not explicitly installed.  But the current logic in _snap_preseed
will never call _snap_post_process.  $core_name will never be empty
with the existing logic, but even if it were that would only be for the
'core' snap and we'd miss using the 'core18' logic that pulls in snapd.
Given the case statement in _snap_post_process can handle doing the
right thing given any snap we can just call it unconditionally.
2020-04-09 14:36:35 -05:00
Dimitri John Ledkov
528ec787ed Remove dependencies on qemu-utils and snapd on riscv64, we don't have those yet, but at least we can be on parity with i386 livecd-rootfs already. 2020-04-09 17:05:49 +01:00
Łukasz 'sil2100' Zemczak
50f3d90c9f releasing package livecd-rootfs version 2.658 2020-04-08 10:08:23 +02:00
Łukasz 'sil2100' Zemczak
d2a2ac41a4 Use the raspi KERNEL_FLAVOUR for the raspi images. 2020-04-08 10:06:09 +02:00
Dimitri John Ledkov
c6febea65e releasing package livecd-rootfs version 2.657 2020-04-03 13:03:01 +01:00
Dimitri John Ledkov
0415e42026 server: networkd applies the first sorted matching network file, thus prefix 'all' fallback networks with 'zz-'. 2020-04-03 12:59:05 +01:00
Robert C Jennings
3b6cb7e19e
releasing package livecd-rootfs version 2.656 2020-03-31 09:57:04 -05:00
Robert C Jennings
dcded9305c
Merge branch 'focal-buildd-fix-dns' of lp:~davidkrauser/livecd-rootfs/+git/livecd-rootfs into ubuntu/master
Safely set /etc/resolv.conf to an empty file in buildd images

MP: https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/381316
2020-03-31 09:55:29 -05:00
David Krauser
8bc9cb77a1 Safely set /etc/resolv.conf to an empty file in buildd images
In the buildd image chroot, /etc/resolv.conf is a symbolic link to
a configuration file in the /run directory. A call to truncate will
modify that file, which we should not do. Instead, we want to remove
the symbolic link and replace it with an empty file.
2020-03-27 15:17:05 -04:00
David Krauser
1aef616afd Include -security and -updates packages in bootable buildd images
The base image is built with packages from the release pocket; however,
we want the latest from updates and security. Those pockets are already
enabled, we just need to perform an upgrade to pull in the latest
packages.
2020-03-26 15:44:05 -04:00
Michael Hudson-Doyle
2498aadebb Call udevadm settle before kpartx -d
Back in 2017 some code was added to ignore failures tearing down loop
devices. But debugging that growpart race on cloud images made me (very)
aware of a potential cause of the race: doing something like zerofree on
a device will cause udev scripts to run, and if they are still running
by the time kpartx is called, you would expect the kpartx -d to fail. So
lets see if a udevadm settle helps, and get rid of one of the "sometimes
this fails but we don't know why" comments...
2020-03-21 00:08:07 +13:00
Dimitri John Ledkov
8f76e539b1 releasing package livecd-rootfs version 2.655 2020-03-16 10:42:39 +00:00
Dimitri John Ledkov
cb574d4cb3 minimized: reinstall packages one by one, instead of all of them together, as otherwise apt fails to immediately configure libc6:amd64 & libgcc-s1. LP: #1867607 2020-03-16 10:42:30 +00:00
Dimitri John Ledkov
536f72351f releasing package livecd-rootfs version 2.654 2020-03-13 20:20:23 +00:00
Dimitri John Ledkov
910310dbbb Only install oem-20.04 kernel flavour on amd64, as it doesn't exist on other arches. 2020-03-13 20:18:16 +00:00
Michael Hudson-Doyle
299b6c51c9 releasing package livecd-rootfs version 2.653 2020-03-11 09:56:51 +13:00
Michael Hudson-Doyle
7f09a42d85 Stop trying to extract autoinstall config during boot, subiquity will do it instead. 2020-03-10 10:42:32 +13:00
Łukasz 'sil2100' Zemczak
cc70b57026 releasing package livecd-rootfs version 2.652 2020-03-09 10:02:00 +01:00
Łukasz 'sil2100' Zemczak
091976c4a6 Merge branch 'fix-raspi-gadgets' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2020-03-09 10:00:34 +01:00
Michael Hudson-Doyle
a1a3925250 releasing package livecd-rootfs version 2.651 2020-03-06 17:07:51 +01:00
Michael Hudson-Doyle
4346c47007 Merge branch 'subiquity-waiting' into ubuntu/master 2020-03-06 17:06:37 +01:00
Michael Hudson-Doyle
c3e895fd73 add bug ref to changelog 2020-03-06 13:39:20 +01:00
Michael Hudson-Doyle
6e68a3f13c Do not start subiquity until cloud-final and snapd.seeded have completed. 2020-03-06 13:38:52 +01:00
Łukasz 'sil2100' Zemczak
40c51f78b8 Switch to using the generic pi gadget repo for classic, use the main branches. 2020-03-06 11:57:47 +01:00
Łukasz 'sil2100' Zemczak
54c68b69b4 releasing package livecd-rootfs version 2.650 2020-03-06 11:40:43 +01:00
Łukasz 'sil2100' Zemczak
95772fd9df Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into u-i-disk-info 2020-03-06 11:38:42 +01:00
Michael Hudson-Doyle
2b47f98242 releasing package livecd-rootfs version 2.649 2020-03-05 15:36:31 +01:00
Michael Hudson-Doyle
49e550fb9e Fix autoinstall-extracting runcmd in the case no user-data is passed. 2020-03-05 15:36:19 +01:00
Michael Hudson-Doyle
226a31dfe0 releasing package livecd-rootfs version 2.648 2020-03-04 16:10:46 +01:00
Michael Hudson-Doyle
de170d8bc1 clarify changelog 2020-03-04 16:10:30 +01:00
Michael Hudson-Doyle
187fd01c37 re-add scripts-user to cloud_final_modules 2020-03-04 09:24:18 +01:00
Michael Hudson-Doyle
904f4789ca update changelog 2020-03-03 15:10:32 +01:00
Michael Hudson-Doyle
c969c8e4b9 add runcmd to copy autoinstall from user-data to /autoinstall.yaml 2020-03-03 15:08:52 +01:00
Michael Hudson-Doyle
0dc12a1122 remove stuff for copying autoinstall files around 2020-03-03 15:08:52 +01:00
Michael Hudson-Doyle
f6e5da24f9 enable cloud-init in live session on all architectures 2020-03-03 15:08:45 +01:00
Robert C Jennings
d214127b9f
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.
2020-02-25 16:16:26 -06:00
Iain Lane
bc3e962ee8
Finalise changelog 2020-02-24 11:22:24 +00:00
Iain Lane
ede0be897b
Pass --verbose to snap info so that it includes the base. 2020-02-24 09:56:09 +00:00
Steve Langasek
b843beb26b releasing package livecd-rootfs version 2.645 2020-02-21 13:02:47 -08:00
Robert C Jennings
489f009e49
Use snap cli rather than custom snap-tool
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.
2020-02-21 14:56:25 -06:00
Łukasz 'sil2100' Zemczak
ccbc6aed83 releasing package livecd-rootfs version 2.644 2020-02-21 12:47:48 +01:00
Łukasz 'sil2100' Zemczak
e9170e053b Rename the raspi3 SUBARCH to raspi 2020-02-21 12:46:43 +01:00
Dimitri John Ledkov
7904fd4fe5 releasing package livecd-rootfs version 2.643 2020-02-10 23:50:20 +00:00
Dimitri John Ledkov
d7045b2e09 Fixup subiquity:
- drop ds-identify policy, not needed with improved cloud config
  - drop disabling network, doesn't work with ip=
  - fixup setting up the INSTALLER_ROOT mountpoint
2020-02-10 23:50:03 +00:00
Dimitri John Ledkov
a19d6273fe releasing package livecd-rootfs version 2.642 2020-02-10 12:43:50 +00:00
Dimitri John Ledkov
17dc48cf65 Set uc20 image size to 10G. 2020-02-10 12:43:39 +00:00
Dimitri John Ledkov
133c99c22c releasing package livecd-rootfs version 2.641 2020-02-07 22:19:45 +00:00
Dimitri John Ledkov
438606c5e8 Encode CHANNEL specification in the UC20 model names. 2020-02-07 22:18:04 +00:00
Dimitri John Ledkov
3b1047fbc2 Configure a better nocloud datasource for subiquity cloud-init. 2020-02-07 22:11:54 +00:00
Dimitri John Ledkov
fbf9c5b854 releasing package livecd-rootfs version 2.640 2020-01-30 13:35:47 +00:00
Dimitri John Ledkov
db0c7d68f2 Although the request flavour to install is oem-20.04, it really is called just oem on disk. Override the flavour name from oem-20.04 to oem when renaming built artefacts. This also means that ubuntu-cdimage needs to simply download 'oem' vmlinuz+initrd pairs, not 'oem-20.04'. 2020-01-30 11:13:51 +00:00
Dimitri John Ledkov
7520a60019 releasing package livecd-rootfs version 2.639 2020-01-29 14:16:12 +00:00
Dimitri John Ledkov
e062389eb9 * On s390x subiquity:
- enable cloud-init
  - make cloud-init handle the default/baked in networking configuration
  - install and enable openssh-server for the installation only
  - provide cloud.cfg that generates random installer user password
  - disable subiquity on sclp_line0 line based console
2020-01-29 14:16:00 +00:00
Dimitri John Ledkov
2757f7aee3 releasing package livecd-rootfs version 2.638 2020-01-28 15:06:24 +00:00
Dimitri John Ledkov
f6ca600af2 Install oem-20.04 kernel flavour on Ubuntu Desktop builds. 2020-01-28 15:05:36 +00:00
Łukasz 'sil2100' Zemczak
e6fd34b54d releasing package livecd-rootfs version 2.637 2020-01-24 18:47:55 +01:00
Łukasz 'sil2100' Zemczak
2870738f00 Merge the manually-pushed 2.636 from Laney. 2020-01-24 18:47:22 +01:00
Łukasz 'sil2100' Zemczak
95103e3d36 Ensure seed part. is mounted; wait for getty 2020-01-24 18:34:40 +01:00
Łukasz 'sil2100' Zemczak
2ca3cc9720 Use the datestamp parameter (stored in NOW) instead of the newly added BUILD_ID. 2020-01-16 18:55:24 +01:00
Michael Hudson-Doyle
c35971f515 releasing package livecd-rootfs version 2.635 2019-12-14 21:01:23 +13:00
Michael Hudson-Doyle
a934e042d6 Merge branch 'lp-1855354' into ubuntu/master 2019-12-14 20:59:26 +13:00
Michael Hudson-Doyle
41f4f05cc4 bump version number 2019-12-14 20:59:21 +13:00
Łukasz 'sil2100' Zemczak
fc6d956269 Support generating a .disk/info file via ubuntu-image if BUILD_ID is passed from cdimage to the builder. 2019-12-13 18:13:36 +01:00
Łukasz 'sil2100' Zemczak
3fe3b18719 releasing package livecd-rootfs version 2.634 2019-12-13 17:45:56 +01:00
Michael Hudson-Doyle
f27b432026 ubuntu-cpc hooks are Different 2019-12-13 13:16:34 +13:00
Michael Hudson-Doyle
fb31b64a7c preserve apt preferences for all projects 2019-12-13 13:16:34 +13:00
Michael Hudson-Doyle
d38ceab06d fix in case of no preferences 2019-12-13 13:16:34 +13:00
Michael Hudson-Doyle
94c2d606ca Preserve apt preferences created by any package we install (i.e. ubuntu-advantage-tools) against live-build's attempt to delete them. (LP: #1855354) 2019-12-13 13:16:33 +13:00
David Krauser
b71d1f990e Only build bootable buildd images for amd64 2019-12-12 13:54:32 -05:00
David Krauser
4a0b757dc7 Properly setup the chroot before using the network in buildd hook. 2019-12-12 13:51:25 -05:00
Łukasz 'sil2100' Zemczak
e35866df3e releasing package livecd-rootfs version 2.633 2019-12-12 16:59:24 +01:00
Łukasz 'sil2100' Zemczak
474f232840 Snapd for uc20 model assertions does not support global channel overrides. 2019-12-12 16:58:42 +01:00
Michael Hudson-Doyle
93dd6d3ef4 releasing package livecd-rootfs version 2.632 2019-12-12 10:35:02 +13:00
David Krauser
612c731b26 Fix broken DNS in buildd image builds.
Instead of injecting an empty resolv.conf with an includes.chroot, we'll
inject it in late with a hook. The empty resolv.conf breaks DNS early in
the build, and causes some binary hooks to fail.
2019-12-11 15:06:11 -05:00
Łukasz 'sil2100' Zemczak
5511deae44 releasing package livecd-rootfs version 2.631 2019-12-11 16:12:32 +01:00
Łukasz 'sil2100' Zemczak
2258721d35 Add changelog entry. 2019-12-10 15:28:16 +01:00
Łukasz 'sil2100' Zemczak
a1daf38b93 Add support for Ubuntu Core 20 builds by supporting uc20 models. 2019-12-10 15:27:06 +01:00
Dimitri John Ledkov
4006326978 releasing package livecd-rootfs version 2.630 2019-12-09 14:47:37 +00:00
Dimitri John Ledkov
3551fc1a02 Ship two kernel flavours on desktop image. 2019-12-09 14:47:08 +00:00
Dimitri John Ledkov
39f675eaf6 Drop installing dummy transitional linux-signed-generic, these days linux-generic is always signed, on arches that need/support it. 2019-12-09 14:21:49 +00:00
Steve Langasek
2597ae2e81 releasing package livecd-rootfs version 2.629 2019-11-30 20:56:31 -08:00
Steve Langasek
aafbc0e9fe Also make qemu-utils a non-i386 dependency, since it is only used for cloud images we're not making and pulls in a lot of other dependencies. 2019-11-30 20:56:26 -08:00
Steve Langasek
94b1b2af45 releasing package livecd-rootfs version 2.628 2019-11-29 21:47:07 -08:00
Steve Langasek
c86284f83d Also make the ubuntu-image dependency arch-conditional, since ubuntu-image pulls in snapd. 2019-11-29 21:47:02 -08:00
Steve Langasek
21cae15d33 releasing package livecd-rootfs version 2.627 2019-11-29 10:49:25 -08:00
Steve Langasek
3ca02be281 Don't depend on snapd on i386, since i386 support in focal is only for launchpad buildd chroots. 2019-11-29 10:49:17 -08:00
Michael Hudson-Doyle
1798848608 releasing package livecd-rootfs version 2.626 2019-11-28 11:44:04 +13:00
Michael Hudson-Doyle
b797dfee86 No-change rebuild to build for i386 again (for now). 2019-11-28 11:43:30 +13:00
Michael Hudson-Doyle
16d6c9028c releasing package livecd-rootfs version 2.625 2019-11-28 09:20:53 +13:00
Michael Hudson-Doyle
21c57e2764 pass -xdev to find when making filelists 2019-11-27 21:11:04 +13:00
Michael Hudson-Doyle
741933942e copy the filelists for the root-xz and squashfs into place 2019-11-27 16:09:59 +13:00
Michael Hudson-Doyle
92941d4931 changelog 2019-11-25 11:52:44 +13:00
Michael Hudson-Doyle
51b59ed960 fix bashism 2019-11-25 11:51:51 +13:00
Michael Hudson-Doyle
015d8bab65 add filelist files to all ubuntu-cpc series files 2019-11-25 11:51:51 +13:00
Michael Hudson-Doyle
16881594e0 Create a filelist whenever creating a manifest for an ubuntu-cpc project. 2019-11-25 11:51:51 +13:00
Michael Hudson-Doyle
525f730f7f fix changelog 2019-11-22 13:43:38 +13:00
Michael Hudson-Doyle
1be2ba1779 oops 2019-11-22 13:42:22 +13:00
Michael Hudson-Doyle
fbed1e5846 Make autoinstall files from initrd and filesystem with label autoinstall available on live-server systems. 2019-11-22 13:42:22 +13:00
Michael Hudson-Doyle
547eb7bda8 copy /autoinstall.yaml in initrd to /run/initrd-autoinstall.yaml if present 2019-11-22 13:42:22 +13:00
Michael Hudson-Doyle
377e7b4ddd mount a filesystem with label autoinstall at /autoinstall for live-server
This is one of the ways an autoinstall file can be provided.
2019-11-22 13:42:22 +13:00
Balint Reczey
cff135b43e debian/gbp.conf: Add minimal configuration for branch and tag naming 2019-11-13 21:09:24 +01:00
Balint Reczey
19f5745672 Update changelog 2019-11-13 21:02:35 +01:00
Balint Reczey
2a68f1312a Mark packages as autoinstalled using apt-mark in the chroot
instead of using python-apt that potentially starts talking to the build
system's dbus causing various problems.

LP: #1835406
2019-11-13 19:12:03 +01:00
Łukasz 'sil2100' Zemczak
7bd6163ee5 releasing package livecd-rootfs version 2.623 2019-11-08 20:59:55 +01:00
Łukasz 'sil2100' Zemczak
be4ebf2309 Add +x to 49-policy-rc-d.binary 2019-11-08 20:57:24 +01:00
David Krauser
3bf032853b Include empty resolv.conf only in buildd lxd tarballs. 2019-11-08 11:59:40 -05:00
David Krauser
31a3a42567 Updating changelog. 2019-11-08 10:51:17 -05:00
David Krauser
52a3471922 Add hooks to build bootable buildd images.
Only install policyrcd-script-zg2 in lxd tarball.
2019-11-07 13:55:37 -05:00
David Krauser
0eb16a4b14 Enable building buildd artifacts with an ext4 image target. 2019-11-06 13:29:57 -05:00
Łukasz 'sil2100' Zemczak
a18a7e5294 releasing package livecd-rootfs version 2.622 2019-10-30 14:20:48 +01:00
Łukasz 'sil2100' Zemczak
ac40cadf08 Support fetching classic gadget trees from a non-github-mirrored launchpad repo. 2019-10-30 14:09:23 +01:00
Łukasz 'sil2100' Zemczak
7a92927023 releasing package livecd-rootfs version 2.621 2019-10-29 12:33:55 +01:00
Łukasz 'sil2100' Zemczak
2896d39a7a Make sure the imx6 subarch uses the ubuntu-image imageformat. 2019-10-29 12:33:20 +01:00
Adam Conrad
7c85d91d41 Limit the lxd group to images with an installer; it's less appropriate for random tarball images, which are configured in ways we don't know. 2019-10-13 23:16:48 -06:00
Dimitri John Ledkov
35d16ae485 releasing package livecd-rootfs version 2.619 2019-10-13 20:53:16 +01:00
Dimitri John Ledkov
f918cd5eb1 Subiquity: install linux-firmware in the installer layer, to make firmware blobs available in the live session. LP: #1847835 2019-10-13 20:53:04 +01:00
Steve Langasek
d0b622089e releasing package livecd-rootfs version 2.618 2019-10-08 21:21:50 -07:00
Michael Hudson-Doyle
c89806ba4d Do not create a hook manually for ubuntu-cpc builds, make-hooks does not like that. 2019-10-09 14:34:08 +13:00
Dimitri John Ledkov
8caa938187 releasing package livecd-rootfs version 2.617 2019-10-08 23:01:22 +01:00
Michael Hudson-Doyle
4788e90315 Create the lxd group as a system group for all projects. (LP: #1844498) 2019-10-09 10:12:32 +13:00
Dimitri John Ledkov
3fa91342a9 releasing package livecd-rootfs version 2.616 2019-10-08 19:05:08 +01:00
Dimitri John Ledkov
4c534bc6be subiquity: Use LazyUnmount=yes on memorymapped /usr/lib/modules.
Subiquity images mount /usr/lib/modules from a squashfs, which systemd
tries to unmount on shutdown, whilst they are still being in use. As
systemd-udevd kmod built-in's libkmod has modules.* files
memorymapped. This produces an warning on shutdown, flooding the
screen with messages as systemd switches to a more verbose
output. Specify LazyUnmount=yes on that mount, such that unmount call
succeeds without flooding the shutdown log.
2019-10-08 19:04:20 +01:00
Łukasz 'sil2100' Zemczak
fd9257c294 releasing package livecd-rootfs version 2.615 2019-10-04 18:17:07 +02:00
Robert C Jennings
8cb442c3e8
magic-proxy: dump proxy log to stdout on failure
When we encounter a failure in 'lb binary' the launchpad builders can
only surface the build output from stdout.  If the binary hook failure
implicates the archive we can not determine fault without the apt
proxy log.  This patch will dump the proxy log to stdout to aid in
debugging these failures.
2019-10-04 10:28:02 -05:00
Steve Langasek
312bef9002 releasing package livecd-rootfs version 2.614 2019-10-02 17:05:37 -07:00
Steve Langasek
0902ffefb3 002-add-foreign-kernel.chroot_early: enable amd64 as a foreign arch on i386 image builds, since this is where the kernel comes from henceforth. 2019-10-02 15:59:25 -07:00
Łukasz 'sil2100' Zemczak
503b8b81df releasing package livecd-rootfs version 2.613 2019-09-19 14:03:48 +02:00
Łukasz 'sil2100' Zemczak
1f8f86c17c Final fix to 999-ubuntu-image-customization.chroot, tested to be working. 2019-09-19 14:03:14 +02:00
Łukasz 'sil2100' Zemczak
c4ef397428 releasing package livecd-rootfs version 2.612 2019-09-16 14:57:44 +02:00
Łukasz 'sil2100' Zemczak
6cd2343bea Fix the styling to fit the rest a bit better. 2019-09-16 14:55:32 +02:00
Łukasz 'sil2100' Zemczak
c7f3374f9f Final changes to the 999-ubuntu-image-customization.chroot hook. 2019-09-16 14:46:04 +02:00
Dimitri John Ledkov
8a6ed637b8 releasing package livecd-rootfs version 2.611 2019-09-13 12:37:45 +01:00
Dimitri John Ledkov
9a6f28c131 lb_chroot_layered: also snap_validate_seed after all snaps are seeded
Cherrypick of the similar change done in the non-layered codepath.
2019-09-13 12:36:20 +01:00
Dimitri John Ledkov
b9f9dc1ca5 Execute chroot_hacks in live layer only.
As discussed and explained to Jibel and Didier on 17th of June, based
on canary image build logs, it showed clearly that lb controlled
initrd was only built once at the very first layer by
chroot_hacks. However, that is the wrong layer to build the final
initrd at, as at this point casper is not present yet and is not part
of the build.

Thus insure that chroot_hacks only runs at the live layer.

Ideally a subset of chroot_hacks should run on every layer, as each
layer should be squeaky clean, and most of layers without
initrds. However, jibel & didrocks are still implementing requested
patches to unbreak layer images and make each layer smaller. Hence
this minimal portion of the overall required work.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
2019-09-11 14:40:56 +01:00
Łukasz 'sil2100' Zemczak
6f0a14d1cd releasing package livecd-rootfs version 2.610 2019-09-10 17:36:25 +02:00
Łukasz 'sil2100' Zemczak
2341514fad Fix typo. 2019-09-10 17:35:46 +02:00
Łukasz 'sil2100' Zemczak
af1fd6f6ab releasing package livecd-rootfs version 2.609 2019-09-10 10:49:58 +02:00
Łukasz 'sil2100' Zemczak
114a1b2599 Add changelog entry. 2019-09-10 10:48:59 +02:00
Łukasz 'sil2100' Zemczak
c3002a563a Merge branch 'u-i-cloud-init' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master 2019-09-10 10:46:12 +02:00
Łukasz 'sil2100' Zemczak
d7c4bb4d85 Do not initialize EXTRA_SNAPS with an empty value. Allow overrides via the environment. 2019-09-06 12:09:08 +02:00
Łukasz 'sil2100' Zemczak
56234333f3 Add explaination to why ubuntu-image == device image. 2019-09-06 11:55:33 +02:00
Łukasz 'sil2100' Zemczak
006ed85460 Add support for the Nitrogen6x board. 2019-09-05 17:31:51 +02:00
Colin Watson
a70cddd28d releasing package livecd-rootfs version 2.608 2019-09-03 15:36:06 +01:00
Colin Watson
2987ca1603 Update changelog 2019-09-03 15:35:10 +01:00
Colin Watson
5a251ed8a7 Merge branch 'iptables-legacy' into ubuntu/master 2019-09-03 15:34:32 +01:00
Colin Watson
dc61b17db3 Use iptables-legacy on older kernel versions
Use iptables-legacy rather than iptables when running on older
(pre-4.15) kernel versions.  The newer nf_tables-based tools misbehave
at least on 4.4.
2019-09-03 15:23:06 +01:00
Iain Lane
2d19a9446e
snap_preseed: Handle SNAP_NO_VALIDATE_SEED being unset
Some builds run with `set -u` and were broken due to this.
2019-09-03 14:52:30 +01:00
Iain Lane
bf6d8253ea
Finalise changelog 2019-09-02 15:45:59 +01:00
Iain Lane
9619dad5ad
Update changelog 2019-09-02 12:56:01 +01:00
Iain Lane
b68a5abf65
snap seeding: Defer validation for regular image builds
When getting the list of snaps to include on an image via germinate, we
process the snaps in alphabetical order. Currently we seed several
packages `gnome-foo` and also `gtk-common-themes`, the default provider
of `gtk-3-themes`. Since `gtk-common-themes` is alphabetically after
`gnome-foo`, the `seed.yaml` we generate is invalid when we are part way
through generating.

What we really care about, though, is not that the `seed.yaml` is always
valid at every step, but it is that it is valid at the *end* of seeding.
So for the germinate case, let's defer validation to happen once at the
end. Other callsites of `snap_preseed`, where callers are careful to
seed snaps in the right order, are unaffected by this.
2019-09-02 12:56:00 +01:00
Colin Watson
57a13cc16c releasing package livecd-rootfs version 2.606 2019-08-27 17:06:29 +01:00
Colin Watson
9a65a4013d Undivert update-initramfs more carefully
Previously the wrapper script and diversion were left in place on images
such as buildd images that don't have initramfs-tools installed.

LP: #1841573
2019-08-27 12:45:57 +01:00
Colin Watson
ce58687eed Fix placement of update-grub undiversion
Chroot deconfiguration should happen in the opposite order from chroot
configuration, so, for symmetry, undivert_grub should be called between
"lb chroot_debianchroot remove" and "lb chroot_sysfs remove".
2019-08-27 09:17:55 +01:00
Łukasz 'sil2100' Zemczak
f6cbbf01e1 Add a new u-i specific chroot hook, move the NoCloud system-boot cloud-init datasource configuration there to make sure all u-i built ship with it. 2019-08-08 12:22:33 +02:00
Dimitri John Ledkov
9584b2bf93 releasing package livecd-rootfs version 2.605 2019-07-26 14:36:28 -03:00
Dimitri John Ledkov
584ac368b0 Merge branch 'kvm-derives-uefi' of git+ssh://git.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2019-07-26 14:35:16 -03:00
Łukasz 'sil2100' Zemczak
277d96f129 releasing package livecd-rootfs version 2.604 2019-07-23 18:21:54 +02:00
Łukasz 'sil2100' Zemczak
b4ba74885f Remove pulseaudio and udisks2 from kassel images. This will fix the image build failures. 2019-07-23 18:19:33 +02:00
Łukasz 'sil2100' Zemczak
5439131162 releasing package livecd-rootfs version 2.603 2019-07-23 09:28:59 +02:00
David Krauser
0eecd0c344 KVM disk images should derive from the uefi image. 2019-07-22 13:12:21 -04:00
Robert C Jennings
0afb887cb7
ubuntu-cpc: use sys.exit() rather than quit() 2019-07-22 11:29:04 -05:00
Robert C Jennings
5083d76835
ubuntu-cpc: remove unused final.binary hook support
Right now this is a solution looking for a problem as the implementation
no longer relies on it.
2019-07-22 11:29:04 -05:00
Robert C Jennings
cb535805d7
ubuntu-cpc: rework image artifact cleanup
The livecd.ubuntu-cpc.ext4 that is present in each build (plus kernel
and initrd) are not renamed from /build/binary/boot/filsystem.ext4
and friends until after the binary hooks are run, so this patch moves
from trying to perform this cleanup in a binary hook.  Now the cleanup
will be run at the end of live-build/binary for the ubuntu-cpc project.
2019-07-22 11:29:04 -05:00
Robert C Jennings
14b7f62b17
ubuntu-cpc: Only produce explicitly named artifacts (LP: #1837254)
In parallel builds where a list of image targets are provided the build
may produce binaries that are not part of the named set of targets but
are created by series dependencies.  These implicitly created binaries
may be generated by multiple builds but are unused as our convention for
the ubuntu-cpc project is to only consume binaries from the explicitly
named image targets; this avoid overwriting the same object by multiple
parallel builds.

This patch adds support for a 'provides' keyword for series files. It can
be specified multiple times per series file.  The field is used by the
make-hooks script to generate a list of output files created explicitly by
the named image targets.  The list is saved to the "explicit_provides"
file in the hooks output directory. In the case of the "all" target
this list would be empty.  This list is consumed by the "final.binary"
hook file.

This patch adds support for optional final.binary hooks in hooks.d/base
and/or hooks.d/extra.  These final.binary hooks are always included as
the last hook(s) if either exist with the hook in "extra" running last.

The base/final.binary hook includes logic to parse the "explicit_provides"
file generated by the make-hooks script and remove any binary output not
explicitly specified.

Some series files named unnecessary dependencies, specifically
disk-image, to keep output of implicit artifacts consistent between
parallel builds.  These unnecessary dependencies are removed in this
patch.
2019-07-22 11:29:04 -05:00
Tobias Koch
6c4b2f1b1f Add retry logic to snap-tool to make downloads more resilient 2019-07-22 10:58:42 +02:00
Dimitri John Ledkov
16ab0a40fc releasing package livecd-rootfs version 2.602 2019-07-18 14:07:30 +01:00
Dimitri John Ledkov
2550b1dda7 Merge branch 'fix-hyperv-links' of git+ssh://git.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2019-07-18 14:06:22 +01:00
David Krauser
5a2b49950a Fixing broken binary hook symlinks for hyperv gallery image builds. 2019-07-17 15:27:06 -04:00
Iain Lane
c623a7ee3e
Finalise changelog 2019-07-16 11:30:31 +01:00
Iain Lane
d712c068e6
Update changelog 2019-07-16 10:28:26 +01:00
Iain Lane
979dbde6a2
Fix slight whitespace error 2019-07-16 10:27:47 +01:00
Iain Lane
b208ded59e
Merge branch 'snap-validate-seed' of git+ssh://git.launchpad.net/~mvo/livecd-rootfs into ubuntu/master 2019-07-16 10:27:27 +01:00
Michael Vogt
4fb73c2b19 functions: use CHROOT_ROOT in snap_preseed 2019-07-16 08:29:09 +02:00
Michael Vogt
248efab2fd live-build: move snap seed validation into snap_preseed 2019-07-15 20:12:33 +02:00
Michael Vogt
ac717bff40 live-build: move snap seed validation into preinstall_snaps (thanks to rcj) 2019-07-15 17:32:28 +02:00
Iain Lane
bc36d4a3f7
Finalise changelog 2019-07-15 16:28:27 +01:00
Iain Lane
4319b217f6
Update changelog 2019-07-15 16:28:27 +01:00
Iain Lane
7f07cc8991
live-build/functions: Seed core again on non-minimized builds
This is apparently still required; without it snapd gives an error
message like:

  stateengine.go:102: state ensure error: devicemgr: cannot proceed without seeding "core"
2019-07-15 16:15:31 +01:00
Tobias Koch
18468c4218 Check exit status of snap-tool info call while determining base snap 2019-07-15 07:49:59 +02:00
Michael Vogt
8bc09a160b Run "snap debug validate-seed" to do basic validation of the geerated seed.yaml 2019-07-12 17:55:16 +02:00
Łukasz 'sil2100' Zemczak
7ec97a627a releasing package livecd-rootfs version 2.599 2019-07-03 15:38:52 +02:00
Łukasz 'sil2100' Zemczak
bf80f2100b Add changelog entry. 2019-07-02 11:43:10 +02:00
Łukasz 'sil2100' Zemczak
1e275b6b46 Append seeded snaps to manifests for all images. 2019-07-02 11:39:07 +02:00
Julian Andres Klode
b716446b34 releasing package livecd-rootfs version 2.598 2019-06-24 17:55:47 +02:00
Julian Andres Klode
4c053597b4 Change minimize-manual to read package section from version
Change minimize-manual to read package section from version instead of
package objects, fixing compatibility with (python-)apt 1.9.0.
2019-06-24 17:54:39 +02:00
Dimitri John Ledkov
3a90e5f8f3 releasing package livecd-rootfs version 2.597 2019-06-20 23:28:00 +01:00
Dimitri John Ledkov
124d074101 Unbreak cpc/server builds, by ensuring that includes are copied with archived symlinks, and only hooks resolve symlinks when getting copied. 2019-06-20 23:27:36 +01:00
Dimitri John Ledkov
095c8f4696 Install s390-tools-zkey into the installer layer for zkey support in subiquity. 2019-06-20 23:26:13 +01:00
Colin Watson
2fb9773476 releasing package livecd-rootfs version 2.596 2019-06-19 23:22:46 +01:00
Colin Watson
dc85df854b Add tzdata to buildd images
It isn't strictly build-essential, but it has traditionally been present
in both Debian and Ubuntu, and a variety of things fail without it.
2019-06-19 17:20:54 +01:00
Steve Langasek
93471ebb1f releasing package livecd-rootfs version 2.595 2019-06-15 11:09:55 -07:00
Steve Langasek
796a89a3c0 Remove dangling symlink /usr/lib/systemd/system/local-fs.target.wants/media-region.lower.mount. It's unclear why this has just started causing build failures, but the symlink should have been removed in 2.592 with the rest of the MAAS stuff. 2019-06-15 11:09:45 -07:00
Tiago Stürmer Daitx
04d08e6ca9
releasing package livecd-rootfs version 2.594
Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
2019-06-12 14:49:12 -03:00
Tiago Stürmer Daitx
bc4534c192
Merge davidkrauser/hyperv-gallery-images: Add support for HyperV Gallery images
Source: ~davidkrauser/livecd-rootfs/+git/livecd-rootfs:hyperv-gallery-images

Modifications: update debian/changelog to merge entries and use 2.594
as the version.

Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
2019-06-12 10:13:47 -03:00
David Krauser
0e3b1e206b
Add support for HyperV Gallery images 2019-06-11 23:26:07 -04:00
Tiago Stürmer Daitx
f2bbe1fd85
Merge patviafore/linux_kvm_image: Add linux-kvm image
We are creating a derivative of disk-image, replacing the kernel with
linux-kvm, removing initramfs, and creating a qcow2 image.

Source: ~patviafore/livecd-rootfs/+git/livecd-rootfs:linux_kvm_image

Modifications: fixed conflict in debian/changelog entry and bumped
version.

Signed-off-by: Tiago Stürmer Daitx <tdaitx@gmail.com>
2019-06-11 22:17:20 -03:00
Pat Viafore
b57455fecd
Changing series to UNRELEASED 2019-06-11 17:27:20 -05:00
Łukasz 'sil2100' Zemczak
3e98eb94db releasing package livecd-rootfs version 2.593 2019-06-07 14:37:43 +02:00
Łukasz 'sil2100' Zemczak
b74d703c70 The changelog entry should be UNRELEASED. 2019-06-07 14:34:51 +02:00
Łukasz 'sil2100' Zemczak
d830cfccee Merge Dave's changes: Use boot-partition for c-i seed on RPi
Configure cloud-init to look for its seed in the vFAT boot partition on
raspberry pi images; the corresponding gadget is configured to place the
user-data, meta-data, and network-config files there.

Source: ~waveform/ubuntu/+source/livecd-rootfs:cloud-init-boot
2019-06-07 14:31:57 +02:00
Pat Viafore
419f511496
Fixing merge conflict 2019-06-06 08:24:03 -05:00
Pat Viafore
514a83b926
Unmount the image before we convert to qcow2 to avoid corruption 2019-06-06 08:21:22 -05:00
Pat Viafore
9bf4c7cb52
Adding apt-get autoremove and setting IMAGE_STR 2019-06-06 08:21:22 -05:00
Pat Viafore
975a620e59
Various fixes from code review.
Cleaning indices; removing superfluous apt-get update; adding debug
messages; adding better output name
2019-06-06 08:21:22 -05:00
Pat Viafore
239012c608
Add changelog 2019-06-06 08:21:21 -05:00
Pat Viafore
afbda566eb
Adding hooks and making replace_kernel function 2019-06-06 08:20:45 -05:00
Pat Viafore
528b2ea57a
Add kvm image 2019-06-06 08:20:45 -05:00
Pat Viafore
be817e0bd1
Unmount the image before we convert to qcow2 to avoid corruption 2019-06-06 08:15:40 -05:00
Dimitri John Ledkov
44f91a2784 releasing package livecd-rootfs version 2.592 2019-06-05 13:55:14 +01:00
Dimitri John Ledkov
d7b629cae6 Do not force lzma on ubuntu-core builds, the compress format default should be set universally inside initramfs-tools-ubuntu-core package instead of getting duplicated multiple times all over the place. 2019-06-05 13:50:20 +01:00
Dimitri John Ledkov
3d36dc0794 Stop overriding initramfs compression default to lzma. LP: #1831736 2019-06-05 13:47:09 +01:00
Dimitri John Ledkov
67b26519bc Drop trying to mount removed maas squashfs. 2019-06-05 00:03:03 +01:00
Dimitri John Ledkov
4b5bac1f42 releasing package livecd-rootfs version 2.591 2019-06-04 23:53:16 +01:00
Dimitri John Ledkov
11756d2d1e Fix typpo when dropping jasper. 2019-06-04 23:51:50 +01:00
Dimitri John Ledkov
655126d7b4 releasing package livecd-rootfs version 2.590 2019-06-04 23:45:52 +01:00
Dimitri John Ledkov
de1055de29 Merge branch 'dead-ubuntu-rtm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:43:52 +01:00
Dimitri John Ledkov
28c37f405f Merge branch 'dead-ubuntu-touch-hooks' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:42:51 +01:00
Dimitri John Ledkov
702ccb4c77 Merge branch 'dead-ubuntu-touch' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:42:31 +01:00
Dimitri John Ledkov
279c91924e Merge branch 'ubuntu-desktop-next-hooks' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:41:25 +01:00
Dimitri John Ledkov
af96b80116 Merge branch 'dead-ubuntu-desktop-next' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:40:37 +01:00
Dimitri John Ledkov
97adf4c160 Merge branch 'drop-old-arm' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:39:44 +01:00
Dimitri John Ledkov
b0312baeb7 Merge branch 'dead-jasper' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:38:32 +01:00
Dimitri John Ledkov
1a3eaf75c8 Merge branch 'dead-wubi' of git+ssh://git.launchpad.net/~xnox/livecd-rootfs into ubuntu/master 2019-06-04 23:37:47 +01:00
Pat Viafore
7b2d783047
Adding apt-get autoremove and setting IMAGE_STR 2019-06-04 16:03:21 -05:00
Pat Viafore
5d425edb86
Various fixes from code review.
Cleaning indices; removing superfluous apt-get update; adding debug
messages; adding better output name
2019-06-04 15:31:46 -05:00
Pat Viafore
d1c8c42d9c
Add changelog 2019-06-04 14:23:25 -05:00
Pat Viafore
f1718bf3e4
Adding hooks and making replace_kernel function 2019-06-04 10:52:49 -05:00
Pat Viafore
9297751059
Add kvm image 2019-06-04 10:50:44 -05:00
Łukasz 'sil2100' Zemczak
a9e120f6e1 releasing package livecd-rootfs version 2.589 2019-05-31 12:19:01 +02:00
Łukasz 'sil2100' Zemczak
e3b7b319c1 Merge branch 'uc18-kassel' of git+ssh://git.launchpad.net/livecd-rootfs into ubuntu/master
Bumped the changelog entry timestamp.
2019-05-31 10:42:11 +02:00
Steve Langasek
1506f7cccc releasing package livecd-rootfs version 2.588 2019-05-30 14:23:15 -07:00
Steve Langasek
4b18800182 Add an explicit build-dependency on python3-yaml since livecd-rootfs uses it, rather than relying on this dependency being pulled in indirectly via ubuntu-image. 2019-05-30 14:23:09 -07:00
Dimitri John Ledkov
d56653396d Drop ubuntu-rtm configs 2019-05-30 12:20:12 +01:00
Dimitri John Ledkov
a7631ad0f5 Drop ubuntu-touch hooks 2019-05-30 12:14:16 +01:00
Dimitri John Ledkov
44fd9ba9fd Drop ubuntu-touch configs 2019-05-30 12:13:31 +01:00
Dimitri John Ledkov
25224180e1 Drop ubuntu-desktop-next hooks 2019-05-30 12:02:05 +01:00
Dimitri John Ledkov
2aa3a59b7c Drop ubuntu-desktop-next configs 2019-05-30 12:00:59 +01:00
Dimitri John Ledkov
5b89298cd9 Drop old arm platforms. 2019-05-30 11:49:06 +01:00
Dimitri John Ledkov
c596d3d376 Drop dead jasper subproject. 2019-05-30 11:09:46 +01:00
Dimitri John Ledkov
6d02eac861 Drop dead wubi subproject. 2019-05-30 11:04:40 +01:00
Steve Langasek
188218b166 releasing package livecd-rootfs version 2.587 2019-05-28 08:41:19 -07:00
Balint Reczey
76a57f37ef Merge lp:~rbalint -b ubuntu/master 2019-05-27 19:19:04 +02:00
Steve Langasek
6af9dd4148 Merge lp.1829333 2019-05-24 09:18:44 -07:00
Michael Hudson-Doyle
561001ece2 releasing package livecd-rootfs version 2.586 2019-05-23 12:34:10 +12:00
Robert C Jennings
c10ca357b5
magic-proxy: Send headers on error (LP: #1829944) 2019-05-21 19:21:26 -05:00
Michael Hudson-Doyle
b8e4966097 releasing package livecd-rootfs version 2.585 2019-05-21 09:38:05 +12:00
Michael Hudson-Doyle
d35d115938 Merge branch 'ubuntu/master_parallel_cpc_fixes' into ubuntu/master 2019-05-21 09:26:42 +12:00
Michael Hudson-Doyle
8b70933598 update version number in changelog 2019-05-21 09:26:33 +12:00
Steve Langasek
c306763147 Strip translation files out of the minimal images.
This is another thing that goes unused when there is no human console user
(and we already don't have the locales themselves present on a minimal
image).

Bug-Ubuntu: https://bugs.launchpad.net/bugs/1829333
2019-05-17 18:25:21 +02:00
Balint Reczey
2bb15e03f4 wsl.binary: Add comment about tar usage 2019-05-17 16:41:21 +02:00
Balint Reczey
9479a4eb9e Update changelog 2019-05-16 23:07:25 +02:00
Balint Reczey
c8812c7b69 Merge lp:~rbalint/livecd-rootfs -b wsl into ubuntu/master 2019-05-16 22:49:51 +02:00
Balint Reczey
3ae9628528 Build WSL rootfs tarball
LP: #1827930
2019-05-16 18:16:44 +02:00
Dimitri John Ledkov
a4f6f6d134 releasing package livecd-rootfs version 2.583 2019-05-16 15:23:32 +02:00
Dimitri John Ledkov
9d7b6a8e7e Drop maas hook from server-live. 2019-05-16 13:09:25 +02:00
Dimitri John Ledkov
aa58b069ed Set executable bit on kernel-bits.binary 2019-05-16 13:05:56 +02:00
Dimitri John Ledkov
ba49d6db5f Use snap-tool to seed subiquity snap. 2019-05-16 13:03:30 +02:00
Julian Andres Klode
66e382d73b releasing package livecd-rootfs version 2.582 2019-05-13 14:23:08 +02:00
Julian Andres Klode
bed915a0fb Don't purge busybox-static in minimized, no longer installed
This caused the builds to fail because we were purging are non
existing package.
2019-05-13 14:22:53 +02:00
Michael Hudson-Doyle
d4923801ca releasing package livecd-rootfs version 2.581 2019-05-08 10:35:28 +12:00
Michael Hudson-Doyle
42992467a1 Remove device nodes later for ubuntu-base:minimized (i.e. docker) builds. (LP: #1828118) 2019-05-08 10:04:23 +12:00
Robert C Jennings
bca9242474
ubuntu-cpc: Allow comments in series files and add comments
The addition of disk-image to series files in a prior commit required
some explanation.  Without comment support in series files that was
not possible.  This patch adds support for comments and adds those
comments as well.
2019-05-02 17:15:33 -05:00
Robert C Jennings
05850394d7
ubuntu-cpc: Ensure base disk image is the same between all build targets
The following targets have livecd.ubuntu-cpc.manifest (and
livecd.ubuntu-cpc.ext4) which differ in some way from the 'all'
target. They are all missing grub-efi and other modifications:

root-dir
squashfs
tarball

These targets do not depend on the 'disk-image' target. This means that
the ext4 produced will lack the uefi modifications (and any from the
disk-image target binary hooks).

Since the ext4 file is common to all builds there is a chance that a
parallel build from one of these targets could overwrite this artifact.
This patch ensures that all targets will produce consistent base output.
2019-05-02 16:04:10 -05:00
Robert C Jennings
0bfc5c4290
ubuntu-cpc: Fixup comment references to file names post-parallelization 2019-05-02 15:50:21 -05:00
Julian Andres Klode
263cc6f453 releasing package livecd-rootfs version 2.580 2019-04-26 10:30:18 +02:00
Julian Andres Klode
ffd06b6e09 Merge branch 'minimize-manual-earlier' of lp:~juliank/livecd-rootfs into ubuntu/master 2019-04-26 10:29:25 +02:00
Dimitri John Ledkov
0fe925b591
releasing package livecd-rootfs version 2.579 2019-04-25 17:07:19 +01:00
Dimitri John Ledkov
d13964805e
Fix ubuntu-server-live images to generate initrd with casper UUID. Whilst configs are sources, the variables are not exported into the environment by default. Thus when casper hook is executed, it had no idea that it should generate UUID. 2019-04-25 17:07:02 +01:00
Julian Andres Klode
e95ad81c47 Run clean_debian_chroot after minimize_manual
This avoids us having apt cache files in the final image.

For auto/build, we move the call to clean_debian_chroot to the end,
this also takes care of the caches generated by apt-get update
in case of a preinstalled-pool.

For layered, it's just a simple swap of the lines.

LP: #1826377
2019-04-25 11:51:30 +02:00
Steve Langasek
b83f70a2ea Add support for the 'kassel' subflavor of UC18 images. 2019-04-19 15:24:45 -07:00
Steve Langasek
d5c0bd170b releasing package livecd-rootfs version 2.578 2019-04-13 02:13:22 -07:00
Steve Langasek
39f2558b96 Fix the sed script that Tobias had right in the first place and I mangled in the previous upload. 2019-04-13 02:13:17 -07:00
Steve Langasek
85b7813ff8 releasing package livecd-rootfs version 2.577 2019-04-12 13:38:45 -07:00
Steve Langasek
f4fa240ed7 Adjust sed command for clarity. 2019-04-12 13:37:02 -07:00
Tobias Koch
79e3123053 Make snapd-explicit-install-stamp a part of the image 2019-04-12 13:37:02 -07:00
Tobias Koch
796211dde7 If image has core18 snaps only, automatically preseed snapd 2019-04-12 13:37:02 -07:00
Tobias Koch
05e71b3840 Do not include any snaps in ubuntu-cpc:minimized builds 2019-04-12 13:37:02 -07:00
Balint Reczey
04e5864c51 Merge ~rbalint/livecd-rootfs:ubuntu/master 2019-04-12 17:33:45 +02:00
Balint Reczey
2d162dd121 Pass --sort=name to tar to make tarballs more reproducible and rsync-friendly 2019-04-10 14:38:35 +02:00
Łukasz 'sil2100' Zemczak
b952a0c243 releasing package livecd-rootfs version 2.576 2019-04-10 10:28:25 +02:00
Łukasz 'sil2100' Zemczak
e779a202c5 Merge branch 'feature/snap-tool-prefer-stable-for-core' of https://git.launchpad.net/~tobijk/livecd-rootfs/+git/livecd-rootfs into ubuntu/master 2019-04-09 18:31:27 +02:00
Mathieu Trudel-Lapierre
c6c7d5618a releasing package livecd-rootfs version 2.575 2019-04-01 14:30:02 -04:00
Robert C Jennings
a45342f269
ubuntu-cpc: avoid duplicate snaps listed in qcow manifest
commit a993592 introduced an additional call to create_manifest
(and snap-seed-parse) to write binary/boot/filesystem.packages. This
caused duplicate snap lines in the qcow manifest. This is because the
live-build/auto/binary code assumes that after 'lb binary' is run the
filesystem.packages will only have debs and it calls snap-seed-parse to
add them to the file. The commit changed filesystem.packages in the
ubuntu-cpc uefi binary hook to include debs and snaps.

This patch keeps the intent of the prior patch, updating the
filesystem.packages file for the content of the uefi disk image, but
only writes a listing of debian packages to match the expected content
of filesystem.packages.  The snaps will still be added in generic code
in live-build/auto/build.
2019-03-29 15:39:47 -05:00
Dimitri John Ledkov
2db7f01a58
releasing package livecd-rootfs version 2.574 2019-03-21 22:51:27 +00:00
Dimitri John Ledkov
036d7d2949
Make serial-subiquity@ use the same codepath as tty1 subiquity.
Such that subiquity runs in the correct environment.
Depends on: https://github.com/CanonicalLtd/subiquity/pull/428
2019-03-21 12:27:15 +00:00
Didier Roche
a44c468a6c releasing package livecd-rootfs version 2.573 2019-03-20 17:11:39 +01:00
Didier Roche
b20cf752e6 Add languages to live pass
The name of the pass is live and not "ubuntu-live" which is the live pass
default task.
2019-03-20 17:10:05 +01:00
Tobias Koch
79ed860c5e snap-tool info prints out the base 2019-03-20 17:00:58 +01:00
Tobias Koch
ee4fc93b06 snap-tool: prefer 'stable' channel over 'stable/ubuntu-X.X' for core snaps
When the "snap-tool" script encounters a core snap it will switch to
the "stable" channel if the channel was set to "stable/ubuntu-X.X". This
ensures that core snaps always come from one canonical source.
2019-03-20 14:58:01 +01:00
Dimitri John Ledkov
1f5c21fd12
releasing package livecd-rootfs version 2.572 2019-03-20 00:58:27 +00:00
Dimitri John Ledkov
1ab438750d
Revert "subiquity: fix name of mdoules.squashfs to mount"
This reverts commit 98e0b1031d931cbe87f3744613f05557e3bc9acf.
2019-03-20 00:57:41 +00:00
Dimitri John Ledkov
2adae2ef2c
releasing package livecd-rootfs version 2.571 2019-03-18 14:21:52 +00:00
Dimitri John Ledkov
98e0b1031d
subiquity: fix name of mdoules.squashfs to mount
ubuntu-cdimage/debian-cd/tools/add_live_filesystem helpfully adds a
'filesystem.' prefix to the squashfs, hence the name of the file
didn't match what's on disk.
2019-03-18 14:18:27 +00:00
Didier Roche
ad4f8f745c releasing package livecd-rootfs version 2.570 2019-03-18 09:59:22 +01:00
Didier Roche
73bf25a664 releasing package livecd-rootfs version 2.570 2019-03-18 09:58:58 +01:00
Didier Roche
995f3cf9e0 Ensure default langpacks are removed after installation
Add langpacks to live tasks to have them in the ubiquity diff file and
thus, purged after installation if not selected. (LP: #1818890)
2019-03-18 09:45:47 +01:00
Jean-Baptiste Lallement
38bb0b3301 Fix grub divert for multilayer images
grub-probe must not be called during image build so grub is diverted. In
multilayer image the chroot is always the tip of the filesystem, so we
divert grub at the beginning of each pass and undivdert it as the end.
For flat images, it's diverted just before building the chroot and
undiverted after.
2019-03-18 09:33:07 +01:00
Steve Langasek
41c342ebe2 releasing package livecd-rootfs version 2.569 2019-03-14 10:05:54 -07:00
Steve Langasek
e5e1c8dc96 Also don't create the update-motd directory since we're not writing to it.
It will almost certainly be created at some point but we don't need to
create it here.
2019-03-12 12:25:30 -07:00
Steve Langasek
4ca92b04a7 Drop /etc/update-motd.d/51-cloudguest from cloud images; this is not consistent with current Ubuntu Advantage product language. Any future customizations to update-motd for cloud images should be done via a package instead. 2019-03-12 11:47:01 -07:00
Steve Langasek
8deb87f037 releasing package livecd-rootfs version 2.568 2019-03-11 18:14:53 -07:00
Steve Langasek
ea5f01942f divert grub when calling into lb chroot
UbuntuStudio image builds have recently begun failing as a result of adding a
grub theme customization to their flavor, which they then try to apply by
running update-grub from their maintainer scripts.  This fails with:

  Setting up plymouth-theme-ubuntustudio (0.57) ...
  update-alternatives: using /usr/share/plymouth/themes/ubuntustudio-logo/ubuntustudio-logo.plymouth to provide /usr/share/plymouth/themes/default.plymouth (default.plymouth) in auto mode
  update-alternatives: using /usr/share/plymouth/themes/ubuntustudio-text/ubuntustudio-text.plymouth to provide /usr/share/plymouth/themes/text.plymouth (text.plymouth) in auto mode
  update-initramfs: diverted by livecd-rootfs (will be called later)
  /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
  dpkg: error processing package plymouth-theme-ubuntustudio (--configure):
   installed plymouth-theme-ubuntustudio package post-installation script subprocess returned error exit status 1

Packages providing grub themes should be able to call update-grub from their
maintainer scripts, and they should be able to be installed under
livecd-rootfs.  It's surprising to me that this hasn't been a problem before
now for any flavors.

We know that grub-probe should not be called as part of an image build, so
just use our standard helper function to divert it before running the chroot
stage and undivert it after.
2019-03-09 20:08:29 +00:00
Tobias Koch
3cebce2fb9 snap-tool: exit non-zero if problem occurred 2019-02-27 10:17:38 +01:00
Julian Andres Klode
d8962ee22f releasing package livecd-rootfs version 2.567 2019-02-27 09:02:17 +01:00
Julian Andres Klode
b0684bbeee Fix change to ignore ubiquity packages, it failed to mark anything as automatic. 2019-02-27 09:02:10 +01:00
Julian Andres Klode
57d23cf034
releasing package livecd-rootfs version 2.566 2019-02-26 08:57:23 +01:00
Tobias Koch
3a294f5b50 magic-proxy: return 404 when InRelease file cannot be found "by hash"
When the magic-proxy script could not find a valid InRelease file for the
configured timestamp, it would fall back to serving the canonical version
of it. This meant that builds would succeed, even though snap-shotting the
repository failed.

This update makes the script return HTTP 404 when an InRelease by-hash
link for a given combination of mirror, suite and timestamp cannot be
found.
2019-02-26 08:43:34 +01:00
Julian Andres Klode
b2db5bf365 Do not mark direct dependencies of ubiquity as auto installed
This caused cryptsetup to remain auto on the installed system

LP: #1801629
2019-02-22 11:00:14 +01:00
Steve Langasek
e8f064324b releasing package livecd-rootfs version 2.565 2019-02-20 08:26:22 +01:00
Steve Langasek
1053349a32 Drop python3-minimal alternate dependency; nothing should depend on python3-minimal. 2019-02-20 08:26:11 +01:00
Steve Langasek
d314a8c9b1 Also drop dependency on python. 2019-02-20 08:24:46 +01:00
Steve Langasek
5e6f65e374 releasing package livecd-rootfs version 2.564 2019-02-19 08:28:59 +01:00
Steve Langasek
7e4a2627ed Use python3 vmdkstream exclusively; we should not fall back to python2. 2019-02-18 18:06:01 +01:00
Colin Watson
b5ff7a0618 releasing package livecd-rootfs version 2.563 2019-02-18 15:58:19 +00:00
Colin Watson
3b22ad381a Make sure buildd images have a /usr/sbin/policy-rc.d symlink
Installing policyrcd-script-zg2 doesn't quite do this because of the way
that live-build installs its own temporary version of policy-rc.d.  The
only remotely sensible way I can see to deal with this is to create the
symlink manually.
2019-02-18 14:58:59 +00:00
Dimitri John Ledkov
5376c013a7
releasing package livecd-rootfs version 2.562 2019-02-18 12:01:55 +01:00
Dimitri John Ledkov
a77ec4a9df
Add python3 vmdkstream support 2019-02-18 12:01:25 +01:00
Dimitri John Ledkov
89dee6610d
subiquity: make subiqutiy_config.mount optional 2019-02-18 10:27:16 +01:00
Dimitri John Ledkov
37d9b77b95
subiquity: make subiqutiy_config.mount optional
Remove wants from local-fs.target, add wants from the uuid device instead.

Tested by applying these changes from pre-pivot-root by modifying
/root files in place whilst booting with break=bottom.
2019-02-18 10:26:08 +01:00
Łukasz 'sil2100' Zemczak
cd6a85cfde releasing package livecd-rootfs version 2.561 2019-02-07 12:40:44 +01:00
Łukasz 'sil2100' Zemczak
8c8b7164d4 Support building pi3-arm64 core18 images. At the same time, make sure we still use the right gadget tree repository for the classic arm64 pi3 image. 2019-02-06 18:11:27 +01:00
Balint Reczey
039ed8ec31 Merge fixing minimized text spacing 2019-02-06 17:55:10 +07:00
Balint Reczey
3cf7de97cc Update changelog 2019-02-05 19:51:38 +07:00
Balint Reczey
0182d380ca Nicely separate motd text about minimizing from texts above 2019-02-05 17:24:09 +07:00
Balint Reczey
8a78ab4021 Merge make-rprivate-before-umount 2019-02-05 17:10:49 +07:00
Balint Reczey
96cc185813 Merge feature/parallelization-snap-version-fixing 2019-02-05 17:06:24 +07:00
Balint Reczey
9f532ad4cf Update changelog 2019-02-05 17:04:08 +07:00
Didier Roche
1c435c03d2 Fix customized images with multiple brand/models
Some customized images are built from the same chroot, but need to
override brands and models.
2019-02-05 10:13:37 +01:00
Tobias Koch
eabe867003 Bugfix: specify channel when requesting snap info 2019-02-05 10:05:15 +01:00
Tobias Koch
654fcae467 Replace "snap download" with tool that uses snap store's coherence feature
This is important for parallel image builds to ensure all pre-seeded snaps
have the same versions across image variants.
2019-02-05 10:04:40 +01:00
Balint Reczey
33c5ad0b19 live-build/functions: Always use mount --make-private before umount
Util-linux 2.33 fixed mount --rbind --make-rslave which did not pass MS_REC
with MS_BIND and livecd-rootfs did only --bind --make-rslave effectively with
prior mount versions.
While mount --rbind --rslave are properly passed the flags to mount()
unmounting did not work cleanly with --make-rslave.

To clearly stop propagation of umount, --make-private is used instead of
--make-rslave and it is always set before umounts. Umount -R is replaced
with a simple umount since submounts are tore down in teardown_mountpoint()
earlier.

LP: #1813730
2019-02-05 07:54:37 +07:00
Balint Reczey
a06d208871 Merge branch feature/parallelization-pkg-version-fixing 2019-02-04 23:03:56 +07:00
Colin Watson
305d5cef50 Drop code to handle buildd images for <disco
We'll deal with those in stable updates instead.
2019-02-01 18:07:58 +00:00
Colin Watson
36af2769dc Disable merged /usr in buildd images
Otherwise we might end up building packages with hardcoded paths that
assume a merged /usr.
2019-02-01 18:03:20 +00:00
Colin Watson
fe59f6fce8 Add ubuntu-base:buildd: to ALL_TRIPLETS 2019-02-01 18:03:15 +00:00
Tobias Koch
5b70d86f5c Inject a proxy into the build providing a snapshot view of the package repo.
When the REPO_SNAPSHOT_STAMP variable is set, the auto/build script will attempt
to launch a transparent HTTP proxy on port 8080, and insert an iptables rule to
redirect all outgoing HTTP requests to this proxy.

The proxy, contained in the `magic-proxy` Python script, examines each request
and silently overrides those pointing to InRelease files or files that are
listed in InRelease files. It will instead provide the contents of the requested
file as it was at REPO_SNAPSHOT_STAMP, by downloading the corresponding asset
"by hash".
2019-02-01 11:26:20 +01:00
Didier Roche
7d42c3f4b4 releasing package livecd-rootfs version 2.559 2019-02-01 08:05:48 +01:00
Michael Hudson-Doyle
211213216d Merge branch 'jibel-layers' into ubuntu/master 2019-02-01 17:22:35 +13:00
Michael Hudson-Doyle
ae04fee7c2 changelog entry 2019-02-01 17:22:25 +13:00
Michael Hudson-Doyle
a9991a908e revert change to ubuntu-server:live snap seeding 2019-02-01 17:22:25 +13:00
Jean-Baptiste Lallement
3dce125d72 Remove inidrd and vmlinuz from live layers after they've been moved to casper 2019-01-31 12:16:07 +01:00
Jean-Baptiste Lallement
f5d3233c64 Fixed wonky indentation 2019-01-31 09:39:22 +01:00
Jean-Baptiste Lallement
f84d92d76f Calculate total size of the image + typos 2019-01-30 12:29:57 +01:00
Jean-Baptiste Lallement
3db920c40c Fixed quoting of subproject variable 2019-01-30 12:29:57 +01:00
Jean-Baptiste Lallement
52d9bd3ead Run live specific scripts on non live layers
Allow execution of lb_binary_linux-image and lb_chroot_live-packages on
any layer by setting LIVE_PASSES.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
d1a2e24c41 Adds reduce_pass_size
Adds a function reduce_pass_size which removes duplicated files between
layers. A duplicate file is a file with same path, size, mode, owners
and content on 2 related layers.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
402cdd15be Adds is_root_layer
Factored the code to detect if a layer is a root layer in function
is_root_layer and execute lb_chroot_archives only on root layers.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
283871573d Changed the naming scheme for multi layer images to dot format 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
addef92e23 Decouple from ubuntu-cdimage & debian-cd landings
We don't want to regress the ubuntu desktop traditional image when
livecd-rootfs lands uncordinated with ubuntu-cdimage & debian-cd.
Decoupling enables us to:
- land livecd-rootfs (no change for ubuntu-desktop project,
ubuntu-desktop:ubiquity-ng can be tested once the 2 others branches
lands)
- land ubuntu-cdimage & debian-cd for publishing any arbitrary squashfs
names
- finally, revert that commit and land it in livecd-rootfs to transform
the traditional ubuntu-desktop image to a layered approach.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
2d2ce6eea4 Rename chroot.$PASS -> overlay.$PASS 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
e0d30dd2d3 Fixed substract -> subtract 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
15cacaee96 configure network manager _after_ installing network-manager 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
1bfac23725 Add ubiquity-ng image autopkgtest 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
41becb0af7 Ensure snaps are available on ubuntu-server live 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
e0ed85c400 Fixed pattern for matching manifest 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
3075d65578 Cleanup and handle manifest-remove files
manifest-remove files are generated in all cases and removed for
projects/subprojects that don't need it like the new ubiquity.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
9dba350834 Added lb_binary_layered
Created lb_binary_layered based on lb_binary
Factorized several helpers
These helpers are called from lb_chroot
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
43ec452fa0 Moved reusable functions to functions
Moved functions to reuse in lb_binary and lb_chroot to functions
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
693e0a7360 Clean up chroot helpers
Removed obsolete chroot helpers on Disco+:
 - selinux
 - sysv-rc
 - upstart

Added a note about needlessly triggering chroot_archives on each pass.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
047f883e92 Various fixes
Fixed prefix for passes to not conflict with global prefix
Set layer to none for layer without language packs
Copy size and manifest to the target directory
Make sure the diff always diffes existing manifests
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
9077289332 Add includes by pass
lb_chroot_includes now takes the name of the pass as first argument and
will includes files for the corresponding pass from the directory
include.chroot.<pass>
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
3b21bd9a2e Moved back config helper functions to config
Moved back config specific functions from functions to config
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
42d1d77612 Layered Ubuntu desktop by default
Default Ubuntu desktop to the layered format
Remove the requirement on setting IMAGEFORMAT to layered to build a
layered image and relies on PASSED instead.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
f3dadf1091 Support for positive and negative sublayers
Calculate positive and negative package lists for sublayers
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
a9908e0c9d Add support for negative package lists 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
53b06af931 Added sublayers support
Adds support for sublayers by defining package lists corresponding to
each sublayer. The name of the package list defines the name of the
layer.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
78c196031b Add snaps to manifest
Make sure that all the snaps are listed in the full manifest of each
layer and as delta in the delta manifest.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
903ba3b276 Actually install snap for each layer. 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
1ab78e783b Generate snap list from task 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
00e474e2ff Make snap functions idempotent
_snap_preseed and snap_prepare_assertions can be called several times
with the same snap and will only provision it once.
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
ef72cf5fe8 Code refactoring:
* Moved *inheritance functions from config to functions
 * Moved code to extract snap from seed to snap_from_seed function
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
6a7368bf95 Clean-up dead code for server live builds. 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
d4f7a0b23d live-build/auto/config: Added ubuntu-desktop-minimal to install-minimal task 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
0f4fcbc7d3 lb_chroot_layered: Export _PASS as PASS to be available in hooks 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
d5a16296f4 live-build/auto/build: Create one manifest by layer in diff format and one full manifest with all the layers in standard format 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
ca63d43696 live-build/auto/build: Add size of the filesystems. This is used by the installer to calculate the minimum partition size to reserve for installation. The installer will have to sum all the sizes to compute the final size. Thank didrocks 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
7e2f4d4304 live-build/lb_chroot_layered: removed useless comment 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
940873e6cb live-build/lb_chroot_layered: overlayfs supports only 2 stacked layers. Changed the code to use several lower dirs instead like casper does 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
b6287916c2 auto/build: Order generated squashfs filesystems 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
ce973ba07b auto/build: Removed useless comment 2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
7b4acba31d * Added lb_chroot_layered to add support for multi layered squashfs images
* auto/*: Added live-layered image format
2019-01-30 12:29:56 +01:00
Jean-Baptiste Lallement
3e34faaa70 Moved add_task and add_package to functions in order to be available in hooks 2019-01-30 12:29:56 +01:00
Łukasz 'sil2100' Zemczak
ff860d4717 releasing package livecd-rootfs version 2.558 2019-01-21 10:34:03 +01:00
Łukasz 'sil2100' Zemczak
b3dd27aedd Use linux-firmware-raspi2 instead of raspi3-firmware. 2019-01-18 17:10:11 +01:00
Colin Watson
8465a11865 releasing package livecd-rootfs version 2.557 2019-01-16 12:52:29 +00:00
Colin Watson
2b15590f3b Fix buildd images for series earlier than bionic
Don't install gpg or gpg-agent when building buildd images for series
earlier than bionic.  (In earlier series, those packages didn't exist
and gnupg was build-essential.)
2019-01-16 12:39:21 +00:00
Łukasz 'sil2100' Zemczak
48f98803bd releasing package livecd-rootfs version 2.556 2019-01-11 11:34:35 +01:00
Łukasz 'sil2100' Zemczak
a140fdcd5a Bump the timestamp 2019-01-11 11:25:30 +01:00
Łukasz 'sil2100' Zemczak
bf61fdecf3 Merge branch 'ubuntu/master' of git+ssh://git.launchpad.net/livecd-rootfs into sil2100/raspi-wpasupplicant 2019-01-11 11:24:54 +01:00
Łukasz 'sil2100' Zemczak
480eab7e32 releasing package livecd-rootfs version 2.555 2019-01-10 22:58:28 +01:00
Łukasz 'sil2100' Zemczak
abec4f4c1d Link to the proper name instead. 2019-01-10 22:58:07 +01:00
Łukasz 'sil2100' Zemczak
7a2a551ca0 releasing package livecd-rootfs version 2.554 2019-01-09 10:48:11 +01:00
Łukasz 'sil2100' Zemczak
e60bcbaecd Add proper IMAGAFORMAT for raspi3 classic builds, output the images with the expected naming. 2019-01-09 10:47:24 +01:00
Colin Watson
75fa8802ec releasing package livecd-rootfs version 2.553 2019-01-07 21:24:38 +00:00
Colin Watson
46942330d8 Move buildd image building to binary hooks 2018-12-20 01:20:57 +00:00
Colin Watson
082a2046e7 Add a LXD image to builds for the buildd subproject 2018-12-19 22:11:16 +00:00
Michael Hudson-Doyle
65397a6e62 releasing package livecd-rootfs version 2.552 2018-12-19 11:00:20 +13:00
Michael Hudson-Doyle
625ace8483 Do not include curtin in the live-server installer.squashfs as the version of subiquity that includes it in the snap has now been released to stable. 2018-12-18 15:18:04 +13:00
Łukasz 'sil2100' Zemczak
85eed4a91d Add wpasupplicant to the additional packages installed for the raspi2 and raspi3 targets. 2018-12-17 17:34:43 +01:00
Michael Hudson-Doyle
d6444ffe6e releasing package livecd-rootfs version 2.551 2018-12-17 20:27:29 +13:00
Michael Hudson-Doyle
b461b15ccd changelog typo 2018-12-17 14:02:35 +13:00
Michael Hudson-Doyle
1b93df3ae8 A few simple tweaks to reduce size of live servers installer.squashfs
- Do not run apt-get update (which can bring in package lists if we are
    unlikely wrt publisher schedules).
  - Run apt-get clean to clear out downloaded debs of curtin/casper and
    dependencies.
  - Do not install user-setup.
  - Use the core snap from the base filesystem if present.
2018-12-17 13:51:58 +13:00
Michael Hudson-Doyle
1e9fc65863 Use right lsb_release argument for HWE kernel name (-sc -> bionic, need -sr -> 18.04). 2018-12-17 13:49:01 +13:00
Michael Hudson-Doyle
f81fb59a00 Do no install openssh-server in the base filsystem for the live server installer. 2018-12-17 13:40:57 +13:00
Michael Hudson-Doyle
2a9aac5635 releasing package livecd-rootfs version 2.550 2018-12-13 14:12:51 +13:00
Michael Hudson-Doyle
cacdc73ee6 changelog entry for switch to git 2018-12-13 14:12:34 +13:00
Michael Hudson-Doyle
d5b4aed656 Merge branch 'live-server-kernel-futzing' into ubuntu/master 2018-12-13 13:31:32 +13:00
Michael Hudson-Doyle
71c04ecfeb changelog 2018-12-13 13:00:13 +13:00
Michael Hudson-Doyle
460332296b remove cloud-initramfs-copymods before installing kernel 2018-12-13 11:23:15 +13:00
Michael Hudson-Doyle
7167e3718b add initramfs hook to record kernel metapackage & mount modules 2018-12-13 11:22:34 +13:00
Michael Hudson-Doyle
5565e3a3d8 add hook to create kernel/initrd/modules for ISO 2018-12-13 11:18:55 +13:00
Michael Hudson-Doyle
e3e2e5f9ff do not unmount the installer overlay in 032-installer-squashfs.binary
so that a new hook can create yet further overlays on top of it
2018-12-13 11:10:44 +13:00
Michael Hudson-Doyle
c4e5659217 do not include kernel in base install for ubuntu-server:live
this actually makes things closer to the non-live server build and so
makes things a bit simpler
2018-12-13 10:47:54 +13:00
Balint Reczey
25b16f97a6 debian/control: Update Vcs-*: URLs 2018-12-12 16:25:54 +01:00
Balint Reczey
73409ddb77 Add .keep files to preserve empty directories 2018-12-12 15:36:25 +01:00
Łukasz 'sil2100' Zemczak
65304356d6 Fix typo preventing builds of ubuntu-core images. 2018-12-12 10:26:49 +01:00
Michael Hudson-Doyle
4b01505952 Fix typo preventing builds of ubuntu-core images. 2018-12-12 15:09:56 +13:00
Steve Langasek
0799fdb21b releasing package livecd-rootfs version 2.549 2018-12-10 14:15:42 -08:00
Steve Langasek
a16979b58b Merge lp:~tobijk/livecd-rootfs/image-sets 2018-12-10 13:04:53 -08:00
Tobias Koch
cbd4eb5717 Use series files with dependency handling to generate hook symlinks dynamically
This patch currently only applies to the "ubuntu-cpc" project.
          
More and more logic has been going into the hook scripts to decide under which conditions they should run or not. As we are moving to parallelized builds of image sets, this will get even more complicated. Base hooks will have to know which image sets they belong to and modification of the dependency chain between scripts will become more complicated and prone to errors, as the number of image sets grows.
            
This patch introduces explicit ordering and dependency handling for scripts through the use of `series` files and an explicit syntax for dependency specification.
2018-12-10 09:18:02 +01:00
Steve Langasek
a44a311e89 releasing package livecd-rootfs version 2.548 2018-12-06 13:38:12 +02:00
Steve Langasek
5300bb9eb7 Key netplan delegation to NetworkManager on presence of
/usr/sbin/NetworkManager, not on /usr/lib/NetworkManager which may have
hooks from other packages (i.e., wpasupplicant).
2018-12-06 13:38:07 +02:00
Łukasz 'sil2100' Zemczak
6346dba6da releasing package livecd-rootfs version 2.547 2018-11-29 15:34:32 +01:00
Łukasz 'sil2100' Zemczak
6345ccd34c Add a few minor fixes for raspi3 builds. 2018-11-28 16:05:24 +01:00
Łukasz 'sil2100' Zemczak
d3eb3dd0ac Add missing arguments to ubuntu-image classic calls. 2018-11-26 13:03:24 +01:00
Łukasz 'sil2100' Zemczak
72716862ff Missing comma in debian/control. 2018-11-26 12:41:52 +01:00
Łukasz 'sil2100' Zemczak
c229012efb Add raspi3 arm64 rootfs build support. 2018-11-23 17:39:40 +01:00
Łukasz 'sil2100' Zemczak
cdd196d0f6 Fix the changelog, remove duplicate entries. 2018-11-23 15:59:15 +01:00
Łukasz 'sil2100' Zemczak
65d907268a raspi3 support: be sure to create /boot/firmware during pi3 rootfs builds. Also, for the raspi3 we need to explicitly specify the kernel flavor to raspi2. We also switch to using raspi3-firmware instead of linux-firmware-raspi2 because the latter is not available for arm64. 2018-11-23 15:56:26 +01:00
Steve Langasek
6ee39485dd Merge lp:~sil2100/livecd-rootfs/use-ubuntu-image-classic 2018-11-21 12:51:00 -08:00
Łukasz 'sil2100' Zemczak
05a8be839f Do the same for ubuntu-image snap builds. 2018-11-21 21:07:16 +01:00
Łukasz 'sil2100' Zemczak
8a33b23dd0 Use -O instead of -o for ubuntu-image classic builds. 2018-11-21 21:05:21 +01:00
Łukasz 'sil2100' Zemczak
2947cdbe60 First batch of obvious changes - use better shellism, only call make (without make install). 2018-11-21 20:22:38 +01:00
Steve Langasek
f2f3512339 Merge lp:~mzanetti/livecd-rootfs/drop-sf-support 2018-11-19 16:53:56 -08:00
Steve Langasek
b3c9d8bac8 Merge lp:~sil2100/livecd-rootfs/raspi3-u-i-classic 2018-11-19 10:40:17 -08:00
Steve Langasek
77c44167df Delete no longer accurate comments 2018-11-13 11:21:19 -08:00
Dimitri John Ledkov
75b9ab1664 Move overlay include.binary /lib to /usr/lib. 2018-11-13 11:25:52 +00:00
Dimitri John Ledkov
93df6705a0 Revert "Do not mount result, on top of lowerdir, appears to fail in
disco." the actual problem is in live-build with merged-usr and
copying over chroot/binary includes.
2018-11-12 20:39:25 +00:00
Dimitri John Ledkov
9a8d7117e3 Also strip duplicate \n from the below. 2018-11-09 22:47:27 +00:00
Dimitri John Ledkov
ba0260690e releasing package livecd-rootfs version 2.545 2018-11-09 22:22:32 +00:00
Dimitri John Ledkov
0c2e3c1342 Fix snap-seed-parse to take filename argument instead of printing to
stdout
2018-11-09 22:21:46 +00:00
Dimitri John Ledkov
a5a7a0be8d Do not mount result, on top of lowerdir, appears to fail in
disco. Should unblock building server-live images in disco.
2018-11-09 22:15:02 +00:00
Dimitri John Ledkov
6ad590157a Do not mount result, on top of lowerdir, appears to fail in
disco. Should unblock building server-live images in disco.
2018-11-09 22:14:26 +00:00
Cody Shepherd
5062c1285b Fixing changelog formatting 2018-11-09 14:04:55 -08:00
Cody Shepherd
c7e0c27607 [ Cody Shepherd ]
Fix snap-seed-parse to take filename argument instead of printing to
stdout
2018-11-08 15:10:09 -08:00
Dimitri John Ledkov
e03defbf90 releasing package livecd-rootfs version 2.544 2018-11-08 17:17:34 +00:00
Dimitri John Ledkov
8868522e78 When calling snap-seed-parse append stdout to file, but redirect
stderr to stdout, thus unbreak autopkgtests.
2018-11-08 15:40:16 +00:00
Dimitri John Ledkov
1b424926db Do not mount result, on top of lowerdir, appears to fail in disco. 2018-11-08 14:54:20 +00:00
Dimitri John Ledkov
e24dccadcc mount_overlay only takes 3 args 2018-11-08 14:53:43 +00:00
Steve Langasek
1e1c6a8572 Properly fix the hard-linking of vmlinuz, taken astray by my misguided
merge review.
2018-11-02 14:47:26 -07:00
Steve Langasek
af4858dcec releasing package livecd-rootfs version 2.543 2018-11-02 14:40:20 -07:00
Steve Langasek
8f910aab4b Merge lp:~vorlon/livecd-rootfs/initramfsless-everywhere 2018-11-02 14:39:42 -07:00
Łukasz 'sil2100' Zemczak
a3a9b2ab60 Merge latest prerequisite branch. 2018-11-02 09:28:29 +01:00
Łukasz 'sil2100' Zemczak
b0910cbe50 Remove more unneeded raspi3 conditionals. 2018-11-02 09:27:01 +01:00
Steve Langasek
7a993d10e4 Merge lp:~sil2100/livecd-rootfs/dangling-vmlinuz 2018-11-01 15:12:34 -07:00
Łukasz 'sil2100' Zemczak
37f3cb1714 Merge latest prerequisite branch. 2018-10-31 12:51:59 +01:00
Łukasz 'sil2100' Zemczak
2e3c7d050c Remove unneeded code and code duplication, add comments. 2018-10-31 12:46:57 +01:00
Łukasz 'sil2100' Zemczak
6ac3384f34 Merge latest prerequisite branch 2018-10-31 11:39:06 +01:00
Łukasz 'sil2100' Zemczak
a274206e1a Don't overcomplicate bash conditionals. 2018-10-31 11:17:01 +01:00
Łukasz 'sil2100' Zemczak
cc5d39b93d Merge latest prerequisite branches. 2018-10-30 17:43:03 +01:00
Łukasz 'sil2100' Zemczak
501afa0783 Merge latest prerequisite branch 2018-10-30 16:10:57 +01:00
Łukasz 'sil2100' Zemczak
61ba85df21 Merge trunk 2018-10-30 15:11:49 +01:00
Łukasz 'sil2100' Zemczak
f8529c9038 Add support for building classic images using makefile-based gadget trees. 2018-10-30 14:13:02 +01:00
Steve Langasek
41382692ba Merge lp:~codyshepherd/livecd-rootfs/uefi-manifests-cosmic 2018-10-29 10:48:42 -07:00
Cody Shepherd
a9935923f8 Changes to include grub efi packages and dependencies in uefi image manifests. 2018-10-29 09:28:50 -07:00
Steve Langasek
03add93632 Add changelog entry for previous change 2018-10-26 14:56:42 -06:00
Steve Langasek
840015fbbe Merge lp:~aleks.bogdanov/livecd-rootfs/remove-vagrant-console-log 2018-10-26 13:47:18 -06:00
Steve Langasek
286a52407d Merge lp:~codyshepherd/livecd-rootfs/snaps-manifest 2018-10-25 23:08:45 -06:00
Steve Langasek
da171f59d3 Merge lp:~codyshepherd/livecd-rootfs/snaps-manifest 2018-10-25 23:00:00 -06:00
Cody Shepherd
2819290352 Changed absoluted paths to relative; set changelog message to UNRELEASED 2018-10-23 10:32:52 -07:00
Cody Shepherd
5bee1ade70 Ensure pre-seeded snaps are now published in the image manifests. 2018-10-22 10:21:50 -07:00
Łukasz 'sil2100' Zemczak
41b4130759 * Add support for raspi3 rootfs builds (based on Ryan Finnie).
* For ubuntu-image consumption, export the kernel and initrd to
  image/boot/uboot for raspi*.
2018-10-17 19:03:16 +01:00
Łukasz 'sil2100' Zemczak
e115b2cbe7 Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a
dangling symlink.
2018-10-17 19:01:22 +01:00
Łukasz 'sil2100' Zemczak
7dbb2c8d60 releasing package livecd-rootfs version 2.542 2018-10-12 14:19:18 +02:00
Łukasz 'sil2100' Zemczak
a3e4b51207 Decide what model assertion series to fetch depending on the suite. Use 16 for xenial and 18 for other series (bionic+). This enables core18 image builds. 2018-10-12 14:18:36 +02:00
Łukasz 'sil2100' Zemczak
4f6e5dc11e For the pc model, the name changed so we need to special case it a bit. 2018-10-11 17:12:50 +02:00
Aleksandr Bogdanov
aba10dc702 vagrant: disabling automatic console log file 2018-10-11 12:01:48 +02:00
Łukasz 'sil2100' Zemczak
1498baada5 The model assertions for 18 don't actually use series=18 because that would be too logical. 2018-10-10 21:57:55 +02:00
Steve Langasek
b6dedb62ce Unconditionally set GRUB_FORCE_PARTUUID in cloud images; as of version
2.02+dfsg1-5ubuntu5 grub will automatically fall back to booting with an
initrd if one is available, so we can now always attempt initramfsless
boot for cloud images which almost always works and causes only minimal
increase in boot speed for cases where it does not.
2018-10-03 17:21:56 -07:00
Łukasz 'sil2100' Zemczak
1d8aea6f20 Changelog entry 2018-10-03 11:53:59 +02:00
Łukasz 'sil2100' Zemczak
c184977a90 Decide what model assertion series to fetch depending on the suite. For xenial use 16 and for others (so bionic+): 18. 2018-10-03 11:51:49 +02:00
Steve Langasek
b85cf0fc58 releasing package livecd-rootfs version 2.541 2018-09-27 15:22:13 -07:00
Steve Langasek
a8e19c5675 Merge lp:~rcj/livecd-rootfs/trunk 2018-09-27 14:28:32 -07:00
Robert C Jennings
5bbb8e6b3f Improve snap model assertion code for readability 2018-09-27 15:15:55 -05:00
Robert C Jennings
0e00214cc6 Ensure snap models have been added prior to snap preseeding 2018-09-27 15:15:34 -05:00
Robert C Jennings
8d603cc87f Simplify snap model assertion customization 2018-09-27 13:09:50 -05:00
Robert C Jennings
97b0bbeed3 Add logging when snap assertions are not replaced 2018-09-27 12:55:57 -05:00
Robert C Jennings
52e5a2b25b Allow hooks to replace generic snap assertion
The generic assertion will be put in place if there are preseeded snaps.
A hook that wants to add its own model should be able to overwrite
the generic assertion.  This patch allows a hook to continue unchanged
calling snap_prepare_assertions with a custom brand/model.  The patch
will replace the generic brand/model if a custom brand/model is specified.
Prior to this patch the generic brand/model would remain in place.
2018-09-27 11:36:53 -05:00
Robert C Jennings
9f96dcb4de Add the server snap seed to the ubuntu-cpc project 2018-09-27 11:36:01 -05:00
Michael Hudson-Doyle
ef1e3425a1 Remove device nodes from Docker images. (LP: #1645468) 2018-09-26 13:12:09 +12:00
Michael Hudson-Doyle
c241a3e3f8 fix changelog 2018-09-26 12:43:50 +12:00
Michael Hudson-Doyle
791d2adfd8 merge trunk 2018-09-26 12:42:42 +12:00
Dimitri John Ledkov
08c9c26e58 Ensure /lib/modules exists in root tarballs and sqashfs.
(LP: #1792905)
2018-09-20 13:37:25 +02:00
Adam Conrad
94230324e0 Stop building buildd chroots with --xattrs until we move to python3. 2018-09-20 02:56:56 -06:00
Colin Watson
e33fd318ba releasing package livecd-rootfs version 2.538 2018-09-19 16:37:17 +02:00
Colin Watson
a5181b8b3d [r=adconrad] Add a buildd subproject. 2018-09-19 16:35:11 +02:00
Colin Watson
bb652c238f Merge trunk. 2018-09-19 16:24:26 +02:00
Colin Watson
c4c5c1f349 Generate tar file with --xattrs. 2018-09-19 16:19:17 +02:00
Adam Conrad
1e2e25deb5 Releasing version 2.537. 2018-09-18 04:15:23 -06:00
Adam Conrad
4d55ffd053 [juliank, r=adconrad] Improve autoremove behaviour by minimizing manual installs 2018-09-18 03:52:04 -06:00
Julian Andres Klode
1746e65953 Reorganize minimal-manual file location.
This also gets rid of the change to debian/rules
2018-09-18 11:44:06 +02:00
Łukasz 'sil2100' Zemczak
e547599e5a Add support for raspi3 rootfs generation for ubuntu-image consumption with all the additional changes required. 2018-09-18 11:06:16 +02:00
Julian Andres Klode
3bb028c86d Fix debian/rules test for shell scripts to ignore python 2018-09-18 10:39:59 +02:00
Łukasz 'sil2100' Zemczak
97fcf09972 Merge trunk 2018-09-18 10:22:12 +02:00
Julian Andres Klode
08376f8e64 Fix version number 2018-09-18 09:29:58 +02:00
Julian Andres Klode
fc6907b701 fixup: Do not assume current directory 2018-09-18 09:27:27 +02:00
Julian Andres Klode
2e9349c543 minimize-manual.py: Followup with some cleanup, correct permissions 2018-09-18 09:15:42 +02:00
Julian Andres Klode
9360135b2c Minimize the number of manually installed packages in images by marking
dependencies of metapackages as automatically installed.
2018-09-18 09:01:12 +02:00
Michael Hudson-Doyle
f04caf6104 releasing package livecd-rootfs version 2.536 2018-08-28 11:00:43 +12:00
Michael Hudson-Doyle
ae4a760edb Fix live-server journald config snippet to actually disable journald rate
limiting.
2018-08-28 10:55:19 +12:00
Michael Hudson-Doyle
2c76f50499 releasing package livecd-rootfs version 2.535 2018-08-24 13:04:56 +12:00
Michael Hudson-Doyle
85cca5c86d Disentangle enabling universe in the final image a little from having
PREINSTALLED=true set and enable it for a live-server build.
(LP: #1783129)
2018-08-24 13:00:08 +12:00
Michael Hudson-Doyle
061ea26984 fix changelog 2018-08-17 16:14:41 +12:00
Michael Hudson-Doyle
15505866a8 add bug ref to changelog 2018-08-17 13:51:55 +12:00
Michael Hudson-Doyle
59b8eb76e2 Disentangle enabling universe in the final image a little from having
PREINSTALLED=true set and enable it for a live-server build.
2018-08-17 12:04:12 +12:00
Michael Hudson-Doyle
e804cc4e00 a less hackish approach 2018-08-17 12:01:27 +12:00
Michael Hudson-Doyle
a261471969 a less hackish approach 2018-08-17 12:00:41 +12:00
Michael Hudson-Doyle
e80459b967 grumble 2018-08-17 11:09:37 +12:00
Michael Hudson-Doyle
1aa8b9d882 ffs 2018-08-17 10:09:57 +12:00
Michael Hudson-Doyle
00151c5e0b Set PREINSTALLED=true for live-server so that universe ends up being
enabled in the image.
2018-08-16 21:28:52 +12:00
Steve Langasek
67142507ae releasing package livecd-rootfs version 2.534 2018-08-06 13:12:05 -07:00
Steve Langasek
c7ca0a77c8 Merge lp:~vorlon/livecd-rootfs/lp.1302192 2018-08-02 11:57:59 -07:00
Steve Langasek
7d16b0d40a Merge lp:~mwhudson/livecd-rootfs/lp-1776891 2018-08-01 23:31:08 -07:00
Steve Langasek
3db2340c54 generate all tar files with --xattrs. LP: #1302192. 2018-08-01 18:02:13 -07:00
Adam Conrad
dee54ed412 Releasing 2.533 2018-07-18 11:07:30 -06:00
Adam Conrad
dd274dfec6 Disable checksum generation. 2018-07-18 11:06:27 -06:00
Michael Hudson-Doyle
333a3e2b1b moderate comment 2018-07-18 10:11:25 +12:00
Michael Hudson-Doyle
092b316357 add a comment explaining why /dev cleaning is docker-only 2018-07-17 13:34:01 +12:00
Michael Hudson-Doyle
013dff431e Remove device nodes from Docker images. (LP: #1645468) 2018-07-17 12:02:34 +12:00
Robert C Jennings
c3f5ee6716 Disable checksum generation
These checksums are unused, integrity checking in launchpad is performed
separately.
2018-07-11 15:06:16 -05:00
Łukasz 'sil2100' Zemczak
c7bf282875 Update unminimize script text and install ubuntu-standard when unminimizing a minimal image 2018-07-04 18:16:39 +02:00
Phil Roche
89c54953d5 Update changelog to add unminimize change to current UNRELEASED changelog entry 2018-07-04 17:13:02 +01:00
Phil Roche
b7403fabf1 Update unminimize script text and install ubuntu-standard when unminimizing a minimal image (LP: #1778777) 2018-07-04 16:48:23 +01:00
Steve Langasek
a72bfb8a07 Merge lp:~cjwatson/livecd-rootfs/drop-lp-hostname-filtering 2018-07-03 08:12:49 -07:00
Colin Watson
1e6563aa79 Merge trunk. 2018-06-29 22:07:49 +01:00
Colin Watson
baee4ed403 We know cosmic's name now. 2018-06-29 21:57:15 +01:00
Michael Hudson-Doyle
c9aaddd56a Disable journald rate limiting in the live-server live session.
(LP: #1776891)
2018-06-15 14:36:24 +12:00
Colin Watson
8b1970f661 live-build/auto/config: Drop "lp-*" hostname filter for Launchpad
builders, since LP #1747015 is now fixed; "*.buildd" should be enough.
2018-06-14 12:41:46 +01:00
Steve Langasek
6caddc0a8c changelog fix-up 2018-06-11 15:01:15 -07:00
Steve Langasek
0e308cb2ec Merge lp:~rcj/livecd-rootfs/trunk 2018-06-08 10:36:28 -07:00
Robert C Jennings
58b510cf99 ubuntu-cpc: Remove git-man for minimized images 2018-06-08 10:14:16 -07:00
Adam Conrad
ea4cfaa935 ubuntu-cpc: Generate the root image contents once, and use it for both the
-root.tar.xz and the .squashfs.
2018-06-07 17:42:20 -06:00
Daniel Watkins
f9cae3ff7f Restore removal of /boot/grub from rootfs artifacts 2018-06-07 16:24:59 -07:00
Daniel Watkins
ab85167fb5 Shell formatting cleanup 2018-06-07 16:24:29 -07:00
Daniel Watkins
605b97de97 ubuntu-cpc: Generate the root image contents once, and use it for both the
-root.tar.xz and the .squashfs.
2018-06-07 14:23:18 -07:00
Steve Langasek
2e915c1eee releasing package livecd-rootfs version 2.531 2018-06-06 17:34:19 -07:00
Steve Langasek
fff89931db Merge lp:~vorlon/livecd-rootfs/coinstallable-grubz 2018-06-06 17:34:02 -07:00
Steve Langasek
4eae5bc0e7 Merge lp:~daniel-thewatkins/livecd-rootfs/1775472 2018-06-06 17:29:44 -07:00
Daniel Watkins
80459b6c1b ubuntu-cpc: Use linux-kvm for all amd64 minimized builds (LP: #1775472). 2018-06-06 17:19:17 -07:00
Steve Langasek
91f26e016c resync with trunk 2018-06-06 17:11:07 -07:00
Adam Conrad
63ec8ad163 ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233). 2018-06-06 17:10:48 -06:00
Daniel Watkins
a9bb37c661 Use a relative path for config/functions 2018-06-06 16:04:45 -07:00
Steve Langasek
92497af14f live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: don't manually
install grub-efi-amd64 since that forces off grub-pc, which is otherwise
now coinstallable.
2018-06-06 15:41:30 -07:00
Daniel Watkins
136e2e2200 Drop /lib/modules creation as MAAS handles it downstream 2018-06-06 15:32:06 -07:00
Daniel Watkins
8e344b1f6b Add comment explaining /lib/modules creation 2018-06-06 14:53:58 -07:00
Daniel Watkins
0e5b19259d ubuntu-cpc: Reintroduce the -root.tar.xz artifact (LP: #1585233). 2018-06-06 11:24:10 -07:00
Michael Hudson-Doyle
02581df4a1 releasing package livecd-rootfs version 2.529 2018-06-07 05:59:20 +12:00
Michael Hudson-Doyle
8d12630933 * Improvements to the ubuntu-base (i.e. Docker) build:
- Customize the unminimize script to not install ubuntu-minimal.
  - Divert /usr/bin/man to a script that points to the unminimize script.
  - Remove apt lists that are currently removed downstream anyway. 
    (LP: #1699913)
2018-06-07 05:59:08 +12:00
Michael Hudson-Doyle
5979538f43 UNRELEASED 2018-06-07 05:49:53 +12:00
Michael Hudson-Doyle
ba96d42d7e fix version number 2018-06-07 05:47:40 +12:00
Michael Hudson-Doyle
664ace2f30 man un-diverting man idempotent 2018-06-06 10:51:35 +12:00
Michael Hudson-Doyle
7c7c2c5b30 rm -r the lists 2018-06-06 07:36:49 +12:00
Michael Hudson-Doyle
ccef323973 go back to having docker unminimize not install any extra packages
update text of man diversion to mention need to install man-db package
2018-06-06 07:12:01 +12:00
Michael Hudson-Doyle
2fc3993d48 Remove apt lists that are currently removed downstream anyway.
(LP: #1699913)
2018-06-06 06:44:20 +12:00
Michael Hudson-Doyle
a2bd86d326 update changelog 2018-06-05 20:01:13 +12:00
Michael Hudson-Doyle
fa1bce5389 still install a few packages in docker unminimize 2018-06-05 19:58:46 +12:00
Michael Hudson-Doyle
514faae2db divert /usr/bin/man in minimized images to a script that mentions the unminimize script 2018-06-05 11:08:33 +12:00
Michael Hudson-Doyle
7e1bd33544 do not install ubuntu-minimal in ubuntu-base's unminimize 2018-06-05 11:07:06 +12:00
Mathieu Trudel-Lapierre
027ea79085 releasing package livecd-rootfs version 2.528 2018-05-28 10:39:53 -04:00
Mathieu Trudel-Lapierre
056e760c06 Don't divert grub-probe; otherwise we're missing the filesystem UUIDs that
the grub search command needs to find the right prefix/root. This is
different than the PARTUUID for booting initrd-less.
2018-05-28 10:39:06 -04:00
Michael Hudson-Doyle
9c4028cc85 releasing package livecd-rootfs version 2.527 2018-05-23 14:27:08 +12:00
Michael Hudson-Doyle
1ec1452086 * Symlink systemd-networkd-wait-online to /bin/true in the live installer
live session to avoid depending on buggy systemd behaviour.
* Remove "optional: true" from installer netplan config.
2018-05-23 14:26:57 +12:00
Michael Hudson-Doyle
7c4d8ca173 fix mis-merge 2018-05-23 14:26:02 +12:00
Michael Hudson-Doyle
7ff90045b2 update changelog 2018-05-22 11:45:10 +12:00
Michael Hudson-Doyle
038b003da0 merge trunk 2018-05-22 11:44:36 +12:00
Michael Hudson-Doyle
4bee7b1898 remove "optional: true" from 00-installer-config.yaml 2018-05-22 11:42:39 +12:00
Adam Conrad
021ffbbf16 Release 2.526 2018-05-16 15:11:32 -06:00
Adam Conrad
a8654edd2a Drop workarounds for Lubuntu Next and drop Lubuntu's no-follow-recommends argument. 2018-05-16 15:10:39 -06:00
Łukasz 'sil2100' Zemczak
7982442e32 Avoid issues of hard-linking to a symbolic vmlinuz as this can lead to a dangling symlink. 2018-05-16 16:37:29 +02:00
Simon Quigley
9ba04172d4 Completely drop Lubuntu Next. 2018-05-08 21:12:15 -05:00
Simon Quigley
382f17b08c Don't follow recommends. 2018-05-03 23:23:30 -05:00
Simon Quigley
0f073af403 Add a changelog entry. 2018-05-03 23:19:45 -05:00
Simon Quigley
480e02443e Drop seed workarounds for unbuilt Lubuntu Next. 2018-05-03 23:08:44 -05:00
Colin Watson
2c782e076c Add an empty /etc/resolv.conf to buildd chroots.
We don't want the symlink to /run/systemd/resolve/stub-resolv.conf, and
launchpad-buildd will inject its own version if it doesn't get confused by a
symlink.
2018-05-01 11:30:51 +01:00
Colin Watson
1fab544a84 Add init to buildd chroots, since it's needed for LXD-based builds. 2018-04-30 16:39:01 +01:00
Colin Watson
9bd386caa1 Explicitly order remaining buildd hooks. 2018-04-30 09:57:54 +01:00
Colin Watson
2a9efb44a6 Move some buildd hooks to includes.chroot. 2018-04-30 09:57:12 +01:00
Colin Watson
b77de06bfd Remove some unnecessary buildd configuration. 2018-04-30 09:54:28 +01:00
Michael Hudson-Doyle
eca9613bf3 Symlink systemd-networkd-wait-online to /bin/true in the live installer
live session to avoid depending on buggy systemd behaviour.
2018-04-30 20:01:54 +12:00
Colin Watson
9e99d9f1cf Fix sedding of /etc/apt/sources.list. 2018-04-29 22:54:24 +01:00
Colin Watson
07487675b6 Sort buildd tarballs by name and use numeric user and group IDs. 2018-04-29 21:43:46 +01:00
Colin Watson
416093beec Use a public-facing mirror URL in the final buildd /etc/apt/sources.list. 2018-04-29 21:42:41 +01:00
Colin Watson
0bd2526ac5 Use a more generic version number. 2018-04-29 21:41:58 +01:00
Colin Watson
cb22177287 Add a buildd subproject. 2018-04-27 16:07:44 +01:00
Mathieu Trudel-Lapierre
532f5c4bdb releasing package livecd-rootfs version 2.525 2018-04-24 13:06:32 -04:00
Daniel Watkins
10feacf941 Don't fail to build CPC images if /lib/modules already exists in the
squashfs.
2018-04-24 12:35:40 -04:00
Daniel Watkins
87c11b5114 Don't fail to build CPC images if /lib/modules already exists in the
squashfs.
2018-04-24 12:01:44 -04:00
Dimitri John Ledkov
4c7dea98aa releasing package livecd-rootfs version 2.524 2018-04-19 21:23:33 +01:00
Dimitri John Ledkov
94b49f9a1c Ensure MAAS squashfsi are clean of passwords. LP: #1764991. 2018-04-19 21:22:49 +01:00
Steve Langasek
9465166169 Merge lp:~daniel-thewatkins/livecd-rootfs/custom-model-assertions 2018-04-19 08:49:26 -07:00
Daniel Watkins
44274041a6 Add changelog entry 2018-04-19 11:47:18 -04:00
Dimitri John Ledkov
f32b6ed261 Clear maas role password 2018-04-19 14:52:39 +01:00
Dimitri John Ledkov
3ed266091c Ensure MAAS squashfsi are clean of passwords. LP: #1764991. 2018-04-19 13:29:33 +01:00
Daniel Watkins
42ef796b92 Remove necessarily true conditional 2018-04-18 20:01:40 -04:00
Daniel Watkins
fe76613e69 Require brand:model to be passed to snap_prepare_assertions
We only need the default in one place, so remove it from all but the top-level
function.
2018-04-18 20:00:43 -04:00
Daniel Watkins
38518507ec Generalise other assertion paths 2018-04-18 14:47:41 -04:00
Daniel Watkins
265218c1cb Don't include model assertion name in FS path (LP: #1764541)
There can only be one model assertion, so we don't need to disambiguate them.
This also brings us in line with the behaviour of `snap prepare-image`, and
consistency is nice.
2018-04-18 12:41:47 -04:00
Daniel Watkins
a09c14c0ab Fix missing local variables 2018-04-18 10:06:55 -04:00
Daniel Watkins
a844c6f8cd Fix another unbound variable 2018-04-17 22:01:47 -04:00
Daniel Watkins
ed50ee0e0d Fix use of unbound variable 2018-04-17 17:35:10 -04:00
Steve Langasek
bff2e8cf5e releasing package livecd-rootfs version 2.522 2018-04-17 13:53:04 -07:00
Daniel Watkins
d908e89a52 Fix typo 2018-04-17 16:32:44 -04:00
Daniel Watkins
54649b40c3 Allow custom model assertions in snap_prepare_assertions
This also splits up the preparation in to two functions, so that images that
want to use a custom model assertion but don't have any snaps to preinstall
don't end up with the core snap installed.
2018-04-17 14:46:56 -04:00
Steve Langasek
e6089e9e32 Remove landscape-common from minimal image, and handle restoring it in
unminimize script.  LP: #1763182.
2018-04-11 14:26:43 -07:00
Dimitri John Ledkov
862ace223d releasing package livecd-rootfs version 2.521 2018-04-11 14:20:32 +02:00
Dimitri John Ledkov
466607c590 In subiquity image, mount additional squashfs in /media. 2018-04-11 14:20:18 +02:00
Michael Hudson-Doyle
65dd7df171 last minute pre-upload typo fix 2018-04-11 19:18:47 +12:00
Michael Hudson-Doyle
f786c0b325 releasing package livecd-rootfs version 2.520 2018-04-11 19:15:59 +12:00
Michael Hudson-Doyle
64ca1acc40 Make lzma initramfs compression opt-in rather than opt-out, and do not
opt-in to it for live-server builds to speed up the boot. (LP: #1750873)
2018-04-11 19:15:45 +12:00
Michael Hudson-Doyle
aacb8daaee merge trunk 2018-04-11 19:10:32 +12:00
Steve Langasek
e5a57e5cc0 releasing package livecd-rootfs version 2.519 2018-04-10 15:59:37 -07:00
Steve Langasek
c46962ca2e Refactor snap preseeding to allow additional snaps to be preseeded from
hooks
2018-04-10 15:59:31 -07:00
Robert C Jennings
26f31fbd9c live-build/functions: spelling fix 2018-04-10 16:33:22 -05:00
Robert C Jennings
5f12253791 live-build/functions: Help developers resolve snap download issues 2018-04-10 15:03:23 -05:00
Robert C Jennings
73dba1f31a snap preseeding: capture Ubuntu snap seeding policy in code
When no channel is given for a pre-seeded snap, the channel
should be stable/ubuntu-XX.YY to match Ubuntu policy.

This patch adds the LB_DISTRIBUTION var to config/{binary,chroot}
to have a common way of determining the Ubuntu XX.YY version
number between hooks and auto/build.
2018-04-10 11:59:19 -05:00
Robert C Jennings
cbcb5d3ed8 live-build/functions: reduce scope of snap account variable
* Only shell out to set $account when we need to use it.
* Reduce scope of $account to make it local to the function
* Fix indenting within an 'if' block
2018-04-10 10:09:26 -05:00
Robert C Jennings
0dbaf4cc9d live-build/functions: Drop spurious backslash 2018-04-06 20:14:23 -05:00
Robert C Jennings
936c3dbc79 live-build/functions: Update snap seed.yaml format to comply with yaml spec 2018-04-06 17:05:15 -05:00
Robert C Jennings
829716a6d7 live-build/functions: Change arithmetic to make the file 'sh' friendly 2018-04-06 17:03:27 -05:00
Robert C Jennings
57261c3edf auto/build: Install snaps using common functions 2018-04-06 13:12:53 -05:00
Robert C Jennings
e655aff7b1 live-build/functions: Migrate from generic snap account-id 2018-04-06 12:51:47 -05:00
Dimitri John Ledkov
e65b912d89 releasing package livecd-rootfs version 2.518 2018-04-03 14:57:02 +01:00
Dimitri John Ledkov
8d5af150cd Make subiquity installer boot quicker, by making dhcp interfaces
optional, such that wait-online is not blocking bringing up the
installer UI.
2018-04-03 14:56:34 +01:00
Iain Lane
f73c0f4068 releasing package livecd-rootfs version 2.517 2018-04-03 11:56:34 +01:00
Iain Lane
e68923777e merge lp:~tsimonq2/livecd-rootfs/lubuntu-seed-mangling 2018-04-03 11:56:28 +01:00
Robert C Jennings
152adcaa04 live-build/functions: add snap preseeding support 2018-04-03 05:12:22 -05:00
Steve Langasek
2be57e7e60 releasing package livecd-rootfs version 2.516 2018-03-27 12:12:35 -07:00
Steve Langasek
4bb0414a5d Make sure we call the build "minimal" within the cloud build info,
when building a minimized image.
2018-03-27 12:12:26 -07:00
Steve Langasek
4be1b98517 releasing package livecd-rootfs version 2.515 2018-03-27 12:10:29 -07:00
Christopher Glass
51c663a892 Fixed whitespace/tabs. 2018-03-27 16:09:35 +02:00
Michael Hudson-Doyle
3cb1f38cf2 Set the default locale to C.UTF-8 in all server and cloud images.
(LP: #1751051, #1759003)
2018-03-27 09:47:12 +13:00
Simon Quigley
e4151ca741 Proper bash is rad, let's do it. 2018-03-25 10:10:39 -05:00
Simon Quigley
10ebe98d84 Special-case Lubuntu's seeds so that the minimal install works. 2018-03-25 10:06:13 -05:00
Christopher Glass
0b2239c069 Parametrize BUILD_NAME in /etc/cloud/build.info to make it "minimal-aware". 2018-03-22 10:24:44 +01:00
Dimitri John Ledkov
bfa43c1c5c On amd64, if building minimal images for bionic, xenial, or extra ppa,
use kvm kernel, otherwise fallback to virtual.
2018-03-21 11:05:46 +00:00
Michael Hudson-Doyle
2cb679b281 releasing package livecd-rootfs version 2.513 2018-03-21 15:58:05 +13:00
Michael Hudson-Doyle
8ee1f566e2 In the live-server build, prevent casper from mounting any existing
swap partitions from drives we might later be installing to.
(LP: #1743643)
2018-03-21 15:57:54 +13:00
Steve Langasek
46fc8e3baf Merge lp:~daniel-thewatkins/livecd-rootfs/minimized-skips 2018-03-20 13:00:02 -07:00
Daniel Watkins
12339422c5 ubuntu-cpc: When performing a minimized build, don't generate artifacts
that won't boot with the linux-kvm kernel (LP: #1757223).
2018-03-20 14:30:27 -04:00
Dimitri John Ledkov
815c3dfc10 Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
should own the directory, and only adjust the permissions in
postinst. LP: #1754332
2018-03-16 18:38:22 +00:00
Michael Hudson-Doyle
8ece245153 In the live-server build, prevent casper from mounting any existing swap
partitions from drives we might later be installing to.
2018-03-15 20:26:00 +13:00
Michael Hudson-Doyle
44e7d70046 releasing package livecd-rootfs version 2.510 2018-03-15 14:10:02 +13:00
Michael Hudson-Doyle
8bf3ef7764 * Rename the directory containing the systemd override file for subiquity to
the correct name :/
* Add Environment=SNAP_REEXEC=0 to the above override file.
* Remove the snap.subiquity.started overrides, that service is long gone.
2018-03-15 13:42:43 +13:00
Michael Hudson-Doyle
950fb91e6e remove empty directories 2018-03-15 13:24:42 +13:00
Michael Hudson-Doyle
a5a4f4e0d8 * Rename the directory containing the systemd override file for subiquity to
the correct name :/
* Add Environment=SNAP_REEXEC=0 to the above override file.
* Remove the snap.subiquity.started overrides, that service is long gone.
2018-03-15 13:22:22 +13:00
Michael Hudson-Doyle
c787069c5c do not set INITRAMFS_COMPRESSION for projects that end up passing --initramfs=none to lb config 2018-03-15 10:17:40 +13:00
Michael Hudson-Doyle
d46edbffdb reduce duplication somewhat 2018-03-15 09:48:10 +13:00
Michael Hudson-Doyle
b7f3ec398b Make lzma initramfs compression opt-in rather than opt-out, and do not
opt-in to it for live-server builds to speed up the boot. (LP: #1750873)
2018-03-14 15:54:06 +13:00
Michael Hudson-Doyle
0d750f78bc Set INITRAMFS_COMPRESSION to gzip for live-server builds to speed up the
boot. (LP: #1750873)
2018-03-13 21:37:06 +13:00
Dimitri John Ledkov
156f66db36 releasing package livecd-rootfs version 2.509 2018-03-06 12:58:53 +00:00
Dimitri John Ledkov
bc194dd48b Build EFI armhf images. 2018-03-06 12:58:38 +00:00
Steve Langasek
8fddc6b469 Merge lp:~vorlon/livecd-rootfs/many-loops 2018-03-06 10:30:25 +01:00
Steve Langasek
52617400b3 releasing package livecd-rootfs version 2.508 2018-03-06 10:15:46 +01:00
Steve Langasek
93176f134f Add dependency on distro-info for the above. 2018-03-06 10:15:41 +01:00
Steve Langasek
90ef53cef1 Merge lp:~vorlon/livecd-rootfs/ubuntu-channels-for-snaps 2018-03-06 10:15:00 +01:00
Dimitri John Ledkov
9df3a91e26 ubuntu-server: generate multi-lowerdir overlayfs for
maas-rack-controller, and full maas. To be used in subiquity for maas
install options.
2018-03-01 13:33:42 +00:00
Iain Lane
2db71b0c67 releasing package livecd-rootfs version 2.506 2018-02-23 15:37:43 +00:00
Iain Lane
ba4b16626f live-build-auto/{build,config}: Support fetching a file from the seed
mirror (BASE_SEED.minimal-remove) and putting it into the livefs build as
filesystem.manifest-minimal-remove. It's intended for ubiquity to read
this file as a list of packages to remove when doing a 'minimal' desktop
installation.
2018-02-23 12:08:17 +00:00
Michael Hudson-Doyle
38cb38be6c releasing package livecd-rootfs version 2.505 2018-02-23 16:55:10 +13:00
Michael Hudson-Doyle
002495b264 Move casper from filesystem.squashfs to installer.squashfs. 2018-02-23 16:54:15 +13:00
Michael Hudson-Doyle
57200eaa01 tyop 2018-02-23 16:53:20 +13:00
Michael Hudson-Doyle
4407aaf1ae it is config/common, not config/binary, grr 2018-02-23 14:58:03 +13:00
Michael Hudson-Doyle
adcd8928fc clean up changelog 2018-02-23 13:41:00 +13:00
Michael Hudson-Doyle
27eaa9328a source config/binary in 032-installer-squashfs.binary 2018-02-23 13:38:15 +13:00
Michael Hudson-Doyle
3e69d30c9e remove some of the cargo culted scorpions 2018-02-23 09:52:26 +13:00
Michael Hudson-Doyle
b163743456 call recreate_initramfs with the argument it needs 2018-02-23 09:41:50 +13:00
Michael Hudson-Doyle
4b66f89e56 move skip_lb_stage to config 2018-02-23 09:37:51 +13:00
Michael Hudson-Doyle
416ef912ed make another possibly more generally useful function 2018-02-23 09:30:29 +13:00
Michael Hudson-Doyle
c85cae9bfe respond to some review feedback 2018-02-23 09:18:33 +13:00
Michael Hudson-Doyle
a7e7ee9154 fix mis-merge 2018-02-22 13:59:18 +13:00
Michael Hudson-Doyle
d46e397b24 merge trunk 2018-02-22 13:58:12 +13:00
Michael Hudson-Doyle
64b1ae38b2 releasing package livecd-rootfs version 2.504 2018-02-21 10:40:04 +13:00
Michael Hudson-Doyle
d1b26ce330 Override JobRunningTimeoutSec to 0s on the .device unit that
subiquity_config.mount depends on to avoid a 5s delay on switching to a
new VT when there is no device there (LP: #1750117)
2018-02-20 15:22:43 +13:00
Steve Langasek
131f14d33c Use Ubuntu-specific branches when seeding snaps, as required in
<https://wiki.ubuntu.com/UbuntuSeededSnaps>.
2018-02-16 14:09:03 -08:00
Michael Hudson-Doyle
f054c56bec releasing package livecd-rootfs version 2.503 2018-02-15 09:54:21 +13:00
Michael Hudson-Doyle
c970f108db Install linux-signed-generic in the live-server image. (LP: #1749065) 2018-02-15 09:54:09 +13:00
Michael Hudson-Doyle
15d9269e57 Install linux-signed-generic in the live-server image. (LP: #1749065) 2018-02-15 09:31:07 +13:00
Michael Hudson-Doyle
110c558d2a releasing package livecd-rootfs version 2.502 2018-02-14 12:46:10 +13:00
Michael Hudson-Doyle
26d9eeb576 Shuffle subiquity service definition to a mix of a snapd-generated service
file (from the subiquity snap) and an overlay (in this package).
2018-02-14 12:44:46 +13:00
Michael Hudson-Doyle
b01a9b0d7a leave getty@tty1 in a state where it can be re-enabled 2018-02-13 14:53:10 +13:00
Dimitri John Ledkov
4533ccfc5a releasing package livecd-rootfs version 2.501 2018-02-12 11:24:52 +00:00
Michael Hudson-Doyle
62a6e6270f shuffle subiquity service definition to a mix of a snapd-generated service file (not in this branch) and an overlay (in this branch) 2018-02-09 15:08:51 +13:00
Michael Hudson-Doyle
e2f5f3b56b releasing package livecd-rootfs version 2.500 2018-02-08 20:13:50 +13:00
Michael Hudson-Doyle
f72140d453 Disable the snapd.refresh.timer in the live server session. 2018-02-08 20:07:08 +13:00
Michael Hudson-Doyle
a7f8044a85 Disable the snapd.refresh.timer in the live server session. 2018-02-08 13:43:36 +13:00
Mathieu Trudel-Lapierre
621f6864aa releasing package livecd-rootfs version 2.499 2018-02-06 23:37:46 -05:00
Mathieu Trudel-Lapierre
762536b5bf live-build/auto/config: Take into account SUBPROJECT when setting seeded
snaps, and also make sure we can work with snaps seeded in project hooks.
2018-02-06 23:37:28 -05:00
Dimitri John Ledkov
d4fe705be7 Stop building vagrant.box, ova, vmdk images for i386.
https://trello.com/c/zhisDVTq
2018-02-05 15:37:52 +00:00
Iain Lane
8366959fd6 releasing package livecd-rootfs version 2.498 2018-02-01 11:53:00 +00:00
Iain Lane
301fdd2e02 Don't write config/seeded-snaps if no snaps have been seeded. 2018-02-01 11:52:41 +00:00
Adam Conrad
2219f62998 * live-build/auto/config: Clean out unused hostname matches and fix indenting.
* live-build/auto/config: Reinstate hostname filtering for "*.buildd", which
  is the correct match for non-lxd builders, and add "lp-*" for the lxd ones.
* live-build/auto/config: Fix incorrect quoting causing a skipped if statement
  in non-live ubuntu-server builds since sometime in mid-October of last year.
2018-01-31 21:00:49 -07:00
Adam Conrad
925e470693 Fix incorrect shell variable quoting. 2018-01-31 20:38:11 -07:00
Steve Langasek
3c4a1979cc releasing package livecd-rootfs version 2.496 2018-01-31 16:41:26 -08:00
Steve Langasek
2c40db69bc Update hostname matches for launchpad buildds to match current practice,
fixing build failures due to LP being unable to reach
people.canonical.com.
2018-01-31 16:41:21 -08:00
Iain Lane
c41bf27806 releasing package livecd-rootfs version 2.495 2018-01-31 09:38:09 +00:00
Iain Lane
72edc20589 Set ports/archive as appropriate for default mirror - should fix
autopkgtests.
2018-01-31 09:38:05 +00:00
Adam Conrad
c2edf57a3f Run subiquity on any serial consoles that the user told systemd about. 2018-01-31 02:29:12 -07:00
Iain Lane
9e09b3172c Set a default archive mirror - needed for germinate. 2018-01-31 02:26:10 -07:00
Michael Hudson-Doyle
a7ca4fbd03 merge trunk 2018-01-31 21:59:36 +13:00
Michael Hudson-Doyle
6ca49ecf0f remove some commented out gunk from .service files 2018-01-31 21:41:32 +13:00
Iain Lane
42a6450584 Oops. I shouldn't reference my private stuff. 2018-01-30 11:51:23 +00:00
Iain Lane
284240feb5 releasing package livecd-rootfs version 2.491 2018-01-30 11:20:34 +00:00
Iain Lane
9bd0fd192f Specify seeds for all flavours too 2018-01-30 10:49:38 +00:00
Iain Lane
9978fd7b39 Support seeding of snaps, as emitted by germinate >= 2.27. 2018-01-30 10:16:36 +00:00
Iain Lane
77de6a289f snap: Add BASE_SEED for all desktop flavours 2018-01-30 09:51:32 +00:00
Iain Lane
26612d0b26 snap: move the seeding block down, so that it is common to all flavours 2018-01-30 09:44:25 +00:00
Mathieu Trudel-Lapierre
019d166878 releasing package livecd-rootfs version 2.490 2018-01-29 12:15:27 -05:00
Mathieu Trudel-Lapierre
0f4ae44c0c ubuntu-cpc: Initramfs compression should match default for
update-initramfs (LP: #1744114)
2018-01-29 12:15:05 -05:00
Robert C Jennings
d41cc70bf5 ubuntu-cpc: Initramfs compression should match runtime default (LP: #1744114)
Cloud images created from the 'ubuntu-cpc' project use lzma initramfs
compression for the initial initramfs shipped in the image; this is the
default for livecd-rootfs. When a user updates the initramfs (or installs
a new kernel) on a running instance created from a cloud image they will
get gzip compression, which is the default shipped in initramfs-tools.

With this patch the compression method used to create the initramfs in
the initial cloud images will match the compression menthod used when
the end-user creates/updates an initramfs, namely gzip compression.
2018-01-19 12:26:32 -06:00
Michael Hudson-Doyle
47911d3221 changelog 2018-01-17 10:53:42 +13:00
Michael Hudson-Doyle
ec1f465e2c fix path in serial-subiquity@.service 2018-01-16 13:14:46 +13:00
Michael Hudson-Doyle
2ebe4ec60d run subiquity on the serial console 2018-01-15 14:56:49 +13:00
Steve Langasek
168e2def92 releasing package livecd-rootfs version 2.489 2018-01-12 15:04:48 -08:00
Steve Langasek
8e1d2ac6fb Merge lp:~vorlon/livecd-rootfs/u-i-channels 2018-01-12 15:04:37 -08:00
Steve Langasek
e6a66dd3bf Add support for passing snap channel to ubuntu-core image builds. 2018-01-12 14:56:57 -08:00
Balint Reczey
d3e460d399 Merge lp:~rbalint/livecd-rootfs/drop-nexus7-support 2018-01-09 01:29:01 +01:00
Balint Reczey
c499490e55 Update changelog 2018-01-06 23:49:44 +01:00
Balint Reczey
df89bff043 Drop Nexus 7 support 2018-01-06 01:26:42 +01:00
Balint Reczey
510f16b757 Stop suggesting partimage which is not used anymore 2018-01-05 01:52:00 +01:00
Steve Langasek
cb635a6035 Merge lp:~rbalint/livecd-rootfs/minimize-1g-revert 2018-01-04 15:07:51 -08:00
Balint Reczey
c85549a2d7 Update changelog 2018-01-04 14:38:27 +01:00
Balint Reczey
34dd1fb2f4 Revert to building minimized and not minimimized images with the same ~2.2 GiB size 2018-01-04 14:37:02 +01:00
Iain Lane
07873ec528 Support seeding of snaps
We run germinate during configure, and read from each resulting <seed>.snaps
file (expanded from STRUCTURE) to find out which snaps to seed. This is written
to config/seeded-snaps, which is read during build to download each one.
2018-01-04 12:11:46 +00:00
Michael Hudson-Doyle
4cbb91b55f releasing package livecd-rootfs version 2.488 2018-01-04 09:37:28 +13:00
Michael Hudson-Doyle
7c1c7a80c2 enable networkd for live-server systems
the logic for doing this is the same as why it is done for cloud-images, for which
see http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk/revision/1520

I think this behaviour is a bug in cloud-init (see lp:#1737630) but this is a good
workaround in the mean time
2017-12-21 11:00:22 +13:00
Michael Hudson-Doyle
3ecbd2802e tweaks before review 2017-12-13 22:32:22 +13:00
Michael Hudson-Doyle
8c8b16b5e6 sigh 2017-12-13 19:27:37 +13:00
Michael Hudson-Doyle
0113b9aad7 self-review 2017-12-13 16:13:14 +13:00
Michael Hudson-Doyle
b913dcdf1c gen the initramfs with the right options and repack it with lzma 2017-12-13 15:42:37 +13:00
Michael Hudson-Doyle
6ddf832b20 slimy hack to get a casper-ized initrd in place 2017-12-13 10:07:14 +13:00
Michael Hudson-Doyle
26753602fe Move casper from filesystem.squashfs to installer.squashfs. 2017-12-12 23:29:59 +13:00
Dimitri John Ledkov
a7ecb03492 releasing package livecd-rootfs version 2.487 2017-12-11 12:22:43 +00:00
Dimitri John Ledkov
5f64c373f1 Drop android-tools-fsutils dependency, and instead install it on
demand for the nexus7 sub-arch. This target is no longer produced,
thus by doing this android-tools can fall out of main to universe.
2017-12-11 12:22:31 +00:00
Steve Langasek
a43830fa39 releasing package livecd-rootfs version 2.486 2017-12-06 14:22:46 -08:00
Steve Langasek
c02f0f0f4c Install grub-ieee1275 instead of grub2 on ppc64el; grub2 is a dummy
transitional package in universe.
2017-12-06 14:22:41 -08:00
Michael Hudson-Doyle
ebb9fd968c releasing package livecd-rootfs version 2.485 2017-12-04 11:10:27 +13:00
Balint Reczey
d0e03e12ed fix long line in changelog 2017-12-01 22:20:19 +01:00
Balint Reczey
0dc6880b47 Merge lp:~rbalint/livecd-rootfs/minimize-1g
* Zero fill space in UEFI partitions, too
* Set LB_ISO_PREPARER to livecd-rootfs to avoid unbound variable in default string
* Build minimized images in a 1GiB image
2017-12-01 22:13:48 +01:00
Michael Hudson-Doyle
c24e13f8f9 install grub-ieee1275 instead of grub2 on ppc64el
grub2 is a dummy transitional package that is in universe.
2017-12-01 13:44:32 +13:00
Balint Reczey
187f1e51ff Update changelog 2017-11-23 20:32:19 +01:00
Balint Reczey
532bd5b5ed Build minimized images in a 1GiB image 2017-11-23 20:27:16 +01:00
Balint Reczey
89e87b4c2c Set LB_ISO_PREPARER to livecd-rootfs to avoid unbound variable in default string 2017-11-23 20:27:16 +01:00
Balint Reczey
3631c1f778 Zero fill space in UEFI partitions, too 2017-11-23 20:27:16 +01:00
Balint Reczey
79377f4312 Use default xz compression (-6) for raspi2 image.
Xz with -0 generated ~35% bigger compressed image. (LP: #1732681)
2017-11-23 20:25:28 +01:00
Balint Reczey
fcac798632 Update changelog 2017-11-20 21:19:26 +01:00
Balint Reczey
c45ea223b4 Use default xz compression (-6) for raspi2 image
Xz with -0 generated ~35% bigger compressed image.

LP: #1732681
2017-11-20 21:18:33 +01:00
Michael Hudson-Doyle
43483b356f Automount a partition of fixed UUID for giving subiquity canned answers. 2017-11-20 09:13:25 +13:00
Michael Hudson-Doyle
12defca931 fix changelog 2017-11-20 09:12:56 +13:00
Michael Hudson-Doyle
e0809e31f6 Automount a partition of fixed UUID for giving subiquity canned answers. 2017-11-17 15:08:15 +13:00
Steve Langasek
ae41b74b1f releasing package livecd-rootfs version 2.484 2017-11-14 16:58:37 -08:00
Steve Langasek
be29d44c3d Merge lp:~rbalint/livecd-rootfs/s390x-skip-missing-initrd 2017-11-14 13:01:27 -08:00
Balint Reczey
578fa5a92d Update changelog 2017-11-14 19:04:21 +01:00
Balint Reczey
4a168af954 Skip setting up initrd for s390x when it is not generated for the image
This fixes building minimized s390x images.
2017-11-14 18:44:06 +01:00
Steve Langasek
5598da902f releasing package livecd-rootfs version 2.483 2017-11-13 09:15:16 -08:00
Steve Langasek
49e17b717e Fix lingering reference to livecd-rootfs.ubuntu-core.model-assertion
that breaks the ubuntu-core image build.
2017-11-13 09:15:11 -08:00
Steve Langasek
2bab8488c1 releasing package livecd-rootfs version 2.482 2017-11-09 23:49:48 -08:00
Steve Langasek
f384f10867 Merge lp:~vorlon/livecd-rootfs/minimize-round-two 2017-11-09 23:49:30 -08:00
Steve Langasek
5b6c91a7a9 releasing package livecd-rootfs version 2.481 2017-11-09 23:29:55 -08:00
Steve Langasek
a1f402df6d Merge ../livecd-rootfs.ubuntu-image-improvements/ 2017-11-09 23:28:29 -08:00
Steve Langasek
ea2840ddfc fix wrong use of PREFIX literal 2017-11-09 16:13:25 -08:00
Steve Langasek
7c07f8a65b Change ubuntu-core image builds to use the standard "$PREFIX" naming for
artifacts instead of being gratuitously different; requires a matching
change to ubuntu-cdimage.
2017-11-09 16:13:08 -08:00
Steve Langasek
02246dbf84 move configuration bits into live-build/auto/config from live-build/auto/build, per Adam 2017-11-09 15:55:45 -08:00
Steve Langasek
696ae6e1eb Name the manifest the way ubuntu-cdimage expects it for subarchs 2017-11-08 12:35:38 -08:00
Steve Langasek
e96fa8b878 ubuntu-image now produces a manifest file listing the snap revisions
used; publish this so that it's picked up by launchpad-buildd.
2017-11-08 12:22:05 -08:00
Steve Langasek
b3cf7b9013 The target for x86 ubuntu-core images is VMs, so create them with
a buffer of free space in order to work if booted in place.
2017-11-08 12:11:40 -08:00
Steve Langasek
807e91863e releasing package livecd-rootfs version 2.480 2017-11-06 11:12:58 -08:00
Steve Langasek
017fde3a27 Add the IMAGEFORMAT=none to support generating a single rootfs. 2017-11-06 11:07:52 -08:00
Gary.Wzl
78da9b579b Per the suggestions, we exclude all binary hooks when IMAGEFORMAT is none. 2017-11-06 20:25:57 +08:00
Steve Langasek
3b9f3e3c45 releasing package livecd-rootfs version 2.479 2017-10-31 09:58:38 -07:00
Steve Langasek
1976255e5c divert /usr/bin/systemd-detect-virt as part of the grub diversions, so
that the grub kernel postinst hook is operational when we're building
in a container.  LP: #1729034.
2017-10-31 09:58:22 -07:00
Steve Langasek
083d58397c Make sure to remove any initramfs that was generated in a minimized
image.
2017-10-21 18:51:20 -07:00
Steve Langasek
dfaf247193 Properly handle loop device names when there are > 10 devices on the
system.
2017-10-21 00:54:02 -07:00
Steve Langasek
2b30a986c3 Merge lp:~vorlon/livecd-rootfs/minimize-purge-initramfstools 2017-10-18 23:20:19 -07:00
Steve Langasek
f91a9f16ee Also remove old dpkg files from the live images 2017-10-18 22:20:44 -07:00
Steve Langasek
51890b5b43 add 'file' to the axe list for minimized 2017-10-18 18:11:53 -07:00
Steve Langasek
c9b427c11b Another round of package removals for minimization 2017-10-18 17:50:56 -07:00
Steve Langasek
8991c5cb41 releasing package livecd-rootfs version 2.478 2017-10-17 22:08:41 -07:00
Steve Langasek
06eec402e8 Merge lp:~mwhudson/livecd-rootfs/subiquity-stable-refresh-safety 2017-10-17 22:08:35 -07:00
Michael Hudson-Doyle
1a99680334 Remove snap.subiquity.started from subiquity's After=/Requires= as it
does not fix the race condition they were intended to address and causes
subiquity to be killed when snapd refreshes subiquity (LP: #1724411)
2017-10-18 13:26:08 +13:00
Michael Hudson-Doyle
895e2a51f1 Seed the subiquity snap to track the stable channel (LP: #1724410) 2017-10-18 13:23:45 +13:00
Gary.Wzl
8c12c46d08 Resolve the conflict. 2017-10-16 11:17:22 +08:00
Gary.Wzl
c260534758 Add the IMAGEFORMAT=none to support generating a single rootfs. 2017-10-16 10:43:22 +08:00
Steve Langasek
c69a9707c6 releasing package livecd-rootfs version 2.477 2017-10-15 13:44:58 -07:00
Steve Langasek
e53ad3b354 Fix server live image to pull subiquity from the stable channel, not
from edge.
2017-10-15 13:44:54 -07:00
Steve Langasek
c0bb8d760f remove vim a little harder 2017-10-13 23:52:03 -04:00
Steve Langasek
df94729c60 sync with purge-initramfstools branch 2017-10-13 23:34:58 -04:00
Steve Langasek
e99636027f busybox-initramfs and busybox-static have reverse-recommends, so it's not enough to use apt-mark auto; remove these packages by name. 2017-10-13 23:27:07 -04:00
Steve Langasek
d24ca0490b Pass --cache false to lb config; otherwise we copy around caches of
.debs that are never used properly, and which prevent us from emptying
/var/cache/apt in images.
2017-10-13 22:15:38 -04:00
Steve Langasek
783437f533 instead, call apt clean from the chroot 2017-10-13 21:50:26 -04:00
Steve Langasek
dec765f035 no actual point in apt clean here, since that just cleans files from the bind mount 2017-10-13 21:40:02 -04:00
Steve Langasek
bc361bc33b call apt clean separately for the squashfs 2017-10-13 17:35:33 -04:00
Steve Langasek
dc875735b8 More packages to remove when minimizing 2017-10-13 17:25:50 -04:00
Steve Langasek
3a092539ca purging initramfs-tools as a prereq 2017-10-13 17:17:24 -04:00
Steve Langasek
018525ba12 resync with trunk 2017-10-13 17:15:48 -04:00
Steve Langasek
56a85e74c9 Also mark busybox-{initramfs,static} as automatically installed, so they can be removed again 2017-10-13 17:11:24 -04:00
Steve Langasek
add1cca991 Refactor, mark all lib'*' and python'*' packages auto-installed so they can be cleaned up as dependencies instead 2017-10-13 17:00:37 -04:00
Steve Langasek
54427d4440 When building minimized cloud images, remove various packages that we
don't want installed by default.  Some are tools that aren't needed for
non-interactive use; some are libraries whose reverse-dependencies
will have already been removed; and one, open-vm-tools, should only be
included in images that are targeted to VMWare (which is not the case
for any of the current minimal images), rather than being included
directly in the cloud-image seed.
2017-10-13 14:59:37 -04:00
Steve Langasek
08a5fc58ba Remove apt, debconf cruft files from /var/cache in all our livefses. 2017-10-13 14:28:17 -04:00
Steve Langasek
ad78957f01 Remove boot/grub leftovers from our root squashfs, left behind after
grub purge.
2017-10-13 14:20:50 -04:00
Steve Langasek
ca8e7a90d5 releasing package livecd-rootfs version 2.476 2017-10-12 09:23:54 -04:00
Steve Langasek
bea8a0696e snap.subiquity.started.service must be RemainAfterExit=yes to satisfy
the service dependencies.
2017-10-12 09:23:44 -04:00
Steve Langasek
c388598f88 releasing package livecd-rootfs version 2.475 2017-10-12 00:32:52 -04:00
Steve Langasek
f58957acd6 Add the SNAP_REEXEC=0 enviroment to the subiquity service as well. 2017-10-12 00:32:44 -04:00
Steve Langasek
8ab84a0f9f releasing package livecd-rootfs version 2.474 2017-10-11 18:24:24 -04:00
Steve Langasek
9f040f0481 Fix wrong variable name in systemd unit snippets. 2017-10-11 18:24:19 -04:00
Steve Langasek
16d7a516a8 releasing package livecd-rootfs version 2.473 2017-10-11 12:46:16 -04:00
Steve Langasek
857f1984c9 export SNAP_REEXEC=0 to our snappy systemd units in the livefs overlay,
to work around apparmor not working reliably against aufs.
2017-10-11 12:46:10 -04:00
Steve Langasek
6269a2e9d0 Merge lp:~rbalint/livecd-rootfs/fix-minimized-ppc64el-image-build 2017-10-10 21:36:02 -04:00
Balint Reczey
2e518950c7 Update changelog 2017-10-11 01:59:06 +02:00
Balint Reczey
314655a2ae Skip installing server task when building minimial images 2017-10-11 01:57:03 +02:00
Balint Reczey
d6bb42bc63 Use kvm kernel only on amd64 2017-10-11 01:57:03 +02:00
Balint Reczey
d3ef9c6231 Revert ignoring failure of minimized autopkgtest on ppc64el 2017-10-11 01:57:03 +02:00
Balint Reczey
549232f607 Clean up dangling /boot/initrd.img symlink when needed 2017-10-11 01:57:03 +02:00
Steve Langasek
cf74474d4b releasing package livecd-rootfs version 2.472 2017-10-10 18:41:05 -04:00
Steve Langasek
7798e70d8f Purge initramfs-tools from minimized images. 2017-10-10 10:52:06 -04:00
Steve Langasek
4d1b06a0f6 changelog fixup 2017-10-10 10:50:21 -04:00
Steve Langasek
8094bfb4ee Merge lp:~mwhudson/livecd-rootfs/subiquity-ordering 2017-10-10 10:38:08 -04:00
Dimitri John Ledkov
0fa3c96bce releasing package livecd-rootfs version 2.471 2017-10-10 13:26:26 +01:00
Dimitri John Ledkov
4b9e6e811f Now that grub-related diversions have been factored out in 2.466
instead of having bogus root=stuff arg generated in grub.cfg, it is
actually empty. Therefore update the sed command to make the arg in
the root= token optional. This should resolve non-booting livecd cpc
images.
2017-10-10 13:23:30 +01:00
Michael Hudson-Doyle
bc07094f9a add changelog 2017-10-09 15:10:25 +13:00
Michael Hudson-Doyle
c9128a31e3 add snap.subiquity.started.service to subiquity.service's Requires= 2017-10-09 15:07:56 +13:00
Steve Langasek
482c927f11 releasing package livecd-rootfs version 2.470 2017-10-08 21:49:34 -04:00
Steve Langasek
58be5d5712 Merge lp:~vorlon/livecd-rootfs/snap-in-mate/ 2017-10-08 21:49:04 -04:00
Steve Langasek
cea8e122df releasing package livecd-rootfs version 2.469 2017-10-08 16:08:14 -04:00
Steve Langasek
e509a81f1d Unminimization information should only go to motd when we are actually
minimized.
2017-10-08 16:08:07 -04:00
Steve Langasek
1bcb0009ac mkdir before use 2017-10-07 21:35:16 +00:00
Steve Langasek
aec4452acf Fix quoting 2017-10-07 21:15:32 +00:00
Steve Langasek
c61850e168 Use regular chroot, not the Chroot wrapper, so we can actually debug our failing command 2017-10-07 20:51:54 +00:00
Steve Langasek
e59db65edb Add initial support for preinstallation of snaps in images, and
preinstall pulsemixer in the Ubuntu MATE image.
2017-10-07 05:17:27 +00:00
Michael Hudson-Doyle
cb7fe7592f releasing package livecd-rootfs version 2.468 2017-10-06 12:53:11 +13:00
Michael Hudson-Doyle
81f44354e3 Merge lp:~mwhudson/livecd-rootfs/subiquity-ordering 2017-10-06 10:06:28 +13:00
Steve Langasek
d18cb38c4e Merge lp:~xnox/livecd-rootfs/drop-harmful-resolv-fixes 2017-10-05 09:06:29 -07:00
Michael Hudson-Doyle
b5638379a4 Have subiquity.service order after on a service defined by the subiquity
snap, which in turn will order after the job that mounts the subiquity
snap. (LP: #1721414)
2017-10-05 21:39:24 +13:00
Steve Langasek
e6a0fd17be releasing package livecd-rootfs version 2.467 2017-10-04 23:52:25 -07:00
Steve Langasek
e7008feb7a fix remaining wrong references to /etc/default/grub.d/40-partuuid 2017-10-04 23:52:19 -07:00
Steve Langasek
90e7ee57c3 and the filename was still wrong 2017-10-04 23:50:26 -07:00
Steve Langasek
bc221a8d67 fix a remaining wrong reference to /etc/default/grub.d/40-partuuid 2017-10-04 23:38:22 -07:00
Steve Langasek
35b6107410 releasing package livecd-rootfs version 2.466 2017-10-04 23:02:38 -07:00
Steve Langasek
f809512da8 Merge lp:~vorlon/livecd-rootfs/grub-diversions 2017-10-04 22:58:55 -07:00
Steve Langasek
f296ec41c7 Merge lp:~vorlon/livecd-rootfs/generic-model-assertion-handling 2017-10-04 22:57:54 -07:00
Steve Langasek
a75cbf210b Fix the force-partuuid handling to create the file under
/etc/default/grub.d/ with a .cfg extension as grub expects; it's unclear
how this ever worked without.
2017-10-04 22:51:30 -07:00
Steve Langasek
a5e27120c0 Factor out grub-related diversions and use them consistently, so we
don't end up with wrong os-probe output in our grub.cfg.
2017-10-04 22:33:41 -07:00
Steve Langasek
c300b35173 releasing package livecd-rootfs version 2.465 2017-10-04 10:31:23 -07:00
Steve Langasek
7a8f02903c * Skip installation of kernel headers for all minimal images
* Use the kvm kernel flavor for minimized cloud image where available,
  not virtual.
2017-10-04 10:31:18 -07:00
Steve Langasek
4204faa484 If we're not on xenial and don't have extra ppas, don't try to use the kvm flavor for minimal images since it's not currently available. 2017-10-04 10:13:13 -07:00
Steve Langasek
203eb6251f mkdir our assertions dir 2017-10-03 21:45:50 -07:00
Steve Langasek
ff575bd93d add ubuntu-mate to the set of projects we add snap model assertions to. 2017-10-03 15:52:06 -07:00
Steve Langasek
12b07ae5af move snap assertion handling into the generic build script (and, in
the process, from the subiquity overlay to the base squashfs).
2017-10-03 15:50:06 -07:00
Steve Langasek
e1ac04f887 ubuntu-server: drop hard-coded test key from the subiquity overlay in
favor of the generic-classic assertion from the store.
2017-10-03 15:33:16 -07:00
Steve Langasek
fffec4782f skip installation of kernel headers for all minimal images 2017-10-02 15:17:23 -07:00
Steve Langasek
a85cf55f29 Use kvm kernel flavor for minimized cloud image, not virtual 2017-10-02 14:47:46 -07:00
Dimitri John Ledkov
35e801f00a Drop obsolete fix-ups of resolv.conf, debootstrap should now result in
correct symlink to resolved without any further fixes.
2017-10-02 14:29:52 +01:00
Steve Langasek
8eea25278d releasing package livecd-rootfs version 2.464 2017-10-01 13:39:22 -07:00
Steve Langasek
1368e2d24c Use /bin/sh, not /bin/bash, for autopkgtest. 2017-10-01 13:39:14 -07:00
Steve Langasek
f17a7e62c3 Ignore failure of new autopkgtest on ppc64el, where it's not a
regression.
2017-10-01 13:38:46 -07:00
Steve Langasek
50eada5bc7 releasing package livecd-rootfs version 2.463 2017-09-29 17:33:08 -04:00
Steve Langasek
f35e618db5 Merge lp:~mwhudson/livecd-rootfs/subiquity-loadkeys 2017-09-29 17:05:34 -04:00
Michael Hudson-Doyle
b5420ebf2e changelog 2017-09-29 17:03:14 -04:00
Michael Hudson-Doyle
a8344ad249 update path again 2017-09-29 16:59:33 -04:00
Steve Langasek
4561f17d35 Merge lp:~rbalint/livecd-rootfs/minimized 2017-09-29 16:41:58 -04:00
Balint Reczey
3d57c2af17 Update changelog 2017-09-29 15:38:59 -04:00
Balint Reczey
f0cb85a506 When SUBPROJECT environment variable is not set assume it to be "" 2017-09-29 15:20:14 -04:00
Balint Reczey
2dcf16634b Run autopkgtest for SUBPROJECT=minimized 2017-09-29 15:20:14 -04:00
Balint Reczey
2ef2aee456 Use SUBPROJECT=minimized name instead of SUBPROJECT=minimize for consistency 2017-09-29 15:20:14 -04:00
Balint Reczey
d496915741 Warn users that unminimize may fail reinstalling packages 2017-09-29 15:20:11 -04:00
Balint Reczey
69c1eb6d26 Mention unminimize script in motd 2017-09-29 15:16:25 -04:00
Balint Reczey
59fe9b1550 Bump needed live-build version which can build images without initrd 2017-09-29 15:16:25 -04:00
Steve Langasek
9b651d77a0 releasing package livecd-rootfs version 2.462 2017-09-29 15:10:50 -04:00
Steve Langasek
894ca9ccfc Fix a reference to an undefined variable in a script that's set -u. 2017-09-29 15:10:45 -04:00
Michael Hudson-Doyle
c643176917 fix path to subiquity-loadkeys 2017-09-29 08:45:02 -04:00
Dimitri John Ledkov
850495d5f9 releasing package livecd-rootfs version 2.461 2017-09-28 13:59:24 -04:00
Dimitri John Ledkov
9d3ebb79e4 merge lp:~mwhudson/livecd-rootfs/subiquity-loadkeys 2017-09-28 13:57:49 -04:00
Steve Langasek
8c4ef15806 releasing package livecd-rootfs version 2.460 2017-09-28 09:24:41 -04:00
Steve Langasek
0e23c75afa Merge lp:~rbalint/livecd-rootfs/minimize-unminimize 2017-09-28 09:21:20 -04:00
Balint Reczey
83c2984556 Update changelog 2017-09-27 18:54:21 -04:00
Balint Reczey
c5d01a6635 Force partuuid in /etc/default/grub.d/* instead of in /etc/default/grub
This prevents ucf questions upon installation of changed /etc/default/grub
2017-09-27 18:54:09 -04:00
Steve Langasek
0365171ce3 minimization handling for UEFI disk images 2017-09-26 22:39:09 -04:00
Balint Reczey
2858d7fb62 Print the documentation files which could not be restored by unminimize 2017-09-26 22:39:09 -04:00
Balint Reczey
e28933a1d5 Explain why unminimization script is a bit complicated 2017-09-26 22:39:09 -04:00
Balint Reczey
583d813b9b Verify only documentation that should have been restored after unminimization 2017-09-26 22:39:09 -04:00
Balint Reczey
3532fa0b18 Use "dpkg --verify-format rpm" explicitly to be safe when the default changes 2017-09-26 22:39:09 -04:00
Balint Reczey
11da0c59a5 Fix typo 2017-09-26 22:39:09 -04:00
Balint Reczey
9dd615d380 Drop initramfs-tools diversion
Kernels which are able to boot without initramfs now dropped dependency
on initramfs-tools thus initramfs-tools can be removed from the image
instead of having to divert it to avoid initramfs generation.
2017-09-26 22:39:09 -04:00
Balint Reczey
d5483eb728 Install ubuntu-minimal while unminimizing the system 2017-09-26 22:39:09 -04:00
Balint Reczey
6672dde922 Add unminimize script for reverting minimization on running system 2017-09-26 22:39:09 -04:00
Balint Reczey
bb7e620701 Drop man pages and most of the documentation from minimized images
/usr/share/doc/*/copyright and changelog.Debian.gz files are still kept
2017-09-26 22:39:09 -04:00
Balint Reczey
d65e1edfd1 Source config/binary instead of /build/config/binary which may not exist 2017-09-26 22:39:09 -04:00
Steve Langasek
83f165ec91 if we're using SUBPROJECT=minimize, and tzdata is not installed, remove
files that have been left behind.  This is a workaround for a bug that should
be fixed in tzdata.
2017-09-26 22:39:09 -04:00
Steve Langasek
3ed1f4fdd1 In a cloud environment, we can rely on the kernel being able to boot the
root filesystem directly, without an initramfs; enable this when
building minimized.
2017-09-26 22:39:09 -04:00
Steve Langasek
95890f6713 We probably still want sudo, even in a minimal image. 2017-09-26 22:39:09 -04:00
Steve Langasek
786370819c Make the 999-cpc-fixes.chroot subproject-aware, so we don't try to locale-gen 2017-09-26 22:39:09 -04:00
Steve Langasek
e6bbe5f8a5 Export the subproject into config/chroot and config/binary, so that this
information is available to per-project hooks that need to be
subproject-aware (e.g., to skip steps when SUBPROJECT=minimize)
2017-09-26 22:39:09 -04:00
Steve Langasek
abbbeb8fda Begin adding support for a project-independent 'minimize' subproject,
which (ironically) omits ubuntu-minimal in favor of using only the
minbase package set.
2017-09-26 22:39:08 -04:00
Steve Langasek
7c58bcecf0 Merge lp:~rbalint/livecd-rootfs/vagrant 2017-09-26 12:19:56 -04:00
Steve Langasek
12b1a5de4d Merge lp:~rbalint/livecd-rootfs/mount-make-rslave 2017-09-26 00:59:56 -04:00
Balint Reczey
20617c6f51 Don't ask for password and GECOS while creating vagrant user 2017-09-25 18:02:09 -04:00
Michael Hudson-Doyle
8d43597228 add ExecStartPre=/usr/bin/subiquity-loadkeys to subiquity.service
This makes shift-tab work
2017-09-25 15:03:18 -04:00
Balint Reczey
45201111a6 Mount using --make-rslave to ensure safe unmounts for rbind mounts 2017-09-25 11:42:28 -04:00
Michael Hudson-Doyle
6d5ab03a14 releasing package livecd-rootfs version 2.459 2017-09-21 11:35:07 +12:00
Steve Langasek
7a6a1a3987 Merge lp:~mwhudson/livecd-rootfs/server-live-disable-console-spam 2017-09-20 16:33:06 -07:00
Gary.Wzl
5355732bc8 * Add GENERATE_ROOTFS_ONLY to support generating a single rootfs.
* Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
2017-09-20 18:23:35 +08:00
Gary.Wzl
8a8d203743 * Add a test for SUBPROJECT when PROJECT comes to ubuntu-server.
* Use notations "0/1" instead of "false/true" as a value for GENERATE_ROOTFS_ONLY.
2017-09-20 18:15:16 +08:00
Michael Hudson-Doyle
61764acade only show alert (i.e. panic) kernel messages on the console when subiquity is running
otherwise we get spam when probing for block devices and not finding any floppy
drives...
2017-09-20 11:59:57 +12:00
Steve Langasek
bcb2bcc1cd Remove spurious call to 'sync'; we don't need to flush all disk caches
on the system to cleanly unmount a partition.
2017-09-19 13:17:26 -07:00
Dimitri John Ledkov
f16f1c4229 Move default netplan config for server-live image to where hook will
pick it up.
2017-09-19 12:07:35 +01:00
Michael Hudson-Doyle
9802843885 make file paths a bit less comical 2017-09-19 19:18:09 +12:00
Gary.Wzl
8fc8c6dc00 Add a changelog entry. 2017-09-18 09:54:22 +08:00
Gary.Wzl
54c78064d2 Add GENERATE_ROOTFS_ONLY to support to generate a single rootfs. 2017-09-18 09:50:04 +08:00
Gary.Wzl
228ed7c87b Remove 'IMAGETYPE' and 'IMAGEFORMAT' bits per the suggestions. 2017-09-18 09:38:20 +08:00
Michael Hudson-Doyle
233c96a87f add changelog entry 2017-09-18 10:48:36 +12:00
Michael Hudson-Doyle
4941d4ee14 move default netplan to where the hook will pick it up
(i hope)
2017-09-18 10:47:06 +12:00
Dimitri John Ledkov
7b85fa69bb releasing package livecd-rootfs version 2.457 2017-09-17 16:29:22 +01:00
Dimitri John Ledkov
9c9dbda327 * Enable systemd-networkd by default.
- Usually, netplan's systemd-generator enables systemd-networkd and
  systemd-networkd-wait-online on boot. But netplan configuration is not
  yet generated at that point by cloud-init. Cloud-init generates in the
  network-pre.target and expects the network.target /
  network-online.target to work. These are already part of the ongoing
  systemd transaction, thus cannot be injected into the boot-sequency by
  cloud-init local mode. Therefore make sure cloud images include
  networkd in the initial boot transaction.
  - src:systemd will shortly not enable networkd unconditionally by
  default.
* Drop ifupdown e-n-i configuration files, no longer used.
2017-09-14 17:17:57 +01:00
Steve Langasek
c479b4aa1e releasing package livecd-rootfs version 2.456 2017-09-13 22:35:05 -07:00
Steve Langasek
7f9094170b remove another straggler udevadm+sleep 2017-09-13 22:34:11 -07:00
Steve Langasek
2386370666 changelog 2017-09-13 22:31:33 -07:00
Steve Langasek
03d7dff3ff Merge lp:~mwhudson/livecd-rootfs/default-netplan-for-server-live 2017-09-13 18:04:33 -07:00
Steve Langasek
801aad2f77 * Improve teardown_mountpoint to recursively find all submounts and
unmount them, instead of working from a hard-coded list.  This makes
  the code resilient against other submounts being added later, including
  downstream.
* Also nuke the sleep / udevadm settle calls in the process, which should
  never be required and slow down the builds.
2017-09-13 13:42:28 -07:00
Steve Langasek
7198b6c0ff releasing package livecd-rootfs version 2.455 2017-09-13 12:50:13 -07:00
Steve Langasek
c9ef91e262 Restore the call to 'umount -R $mountpoint' from umount_partition,
accidentally dropped in previous upload.
2017-09-13 12:50:07 -07:00
Steve Langasek
df7bb19cec releasing package livecd-rootfs version 2.454 2017-09-13 12:04:51 -07:00
Steve Langasek
bacde14e41 Also adjust live-build/ubuntu-server/hooks/032-installer-squashfs.binary
to use teardown_mountpoint.
2017-09-13 12:03:34 -07:00
Steve Langasek
7757c10c2c Merge lp:~rcj/livecd-rootfs/trunk 2017-09-13 12:02:24 -07:00
Robert C Jennings
83b4f5338c live-build/ubuntu-cpc/functions: Add teardown_mountpoint to reverse setup_mountpoint
* live-build/ubuntu-cpc/functions: Add a function, teardown_mountpoint,
  to reverse the work done in setup_mountpoint.  Lack of this function
  has forced users of setup_mountpoint to implement this separately
  and the implementations have diverged. (LP: #1716992)
* live-build/ubuntu-cpc/functions: Remove umount_settle function.
  The was only used where teardown_mountpoint was lacking.
2017-09-13 13:31:12 -05:00
Steve Langasek
8589d3548f live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary: call apt-get
update *before* installing packages, not after.
2017-09-12 14:39:04 -07:00
Steve Langasek
a246300940 * live-build/functions: mount tmpfs on /var/cache/apt and var/lib/apt, so
we don't have to leave empty space in our derivative images for packages
  that have been downloaded/installed/removed.  This normally isn't
  relevant for the installed system, since the root filesystem will
  auto-expand in place on the target disk, but lets us ship smaller
  images.
* live-build/functions: also call 'apt-get update' after mounting the
  blank /var/lib/apt.
2017-09-12 14:36:50 -07:00
Steve Langasek
ece4c400d4 releasing package livecd-rootfs version 2.453 2017-09-11 11:39:19 -07:00
Steve Langasek
148fa39a8e Merge lp:~cjwatson/livecd-rootfs/recursive-mount-dev 2017-09-11 11:38:37 -07:00
Michael Hudson-Doyle
1676147a84 add some dhcp-on-wired-looking-things default netplan for the server live image 2017-09-11 23:24:30 +12:00
Colin Watson
6a42148b22 Mount and unmount /dev recursively, to cope with setups where there are
interesting bind-mounts under /dev (e.g. loop devices bind-mounted by
LXD).
2017-09-08 11:48:06 +01:00
Adam Conrad
ee344f1d1a Add changelog entry for previous commit 2017-09-01 10:54:50 -06:00
Adam Conrad
fc48e02c37 [tribaal, r=adconrad] Create vagrant user per upstream requirements
This branch changes the behavior for default users on the vagrant image,
according to much of https://www.vagrantup.com/docs/boxes/base.html

Specifically, this adds a new "vagrant" user with a know password on top
of the already existing ubuntu user.

This conforms to the expectations of the Vagrant community, despite some
security concerns. Vagrant images are not used for production systems but
for development environments, and the absence of the "standard" vagrant user
has been hurting ubuntu adoption on that platform.
2017-09-01 10:50:32 -06:00
Christopher Glass
f10cd80ebb Make sure the .ssh directory has the right permissions. 2017-09-01 18:25:41 +02:00
Christopher Glass
e798276910 Fixed review comments by Adam.
- use adduser instead of useradd.
2017-09-01 18:21:53 +02:00
Steve Langasek
7d0503d212 releasing package livecd-rootfs version 2.452 2017-08-30 08:10:13 -07:00
Steve Langasek
c78c2f91ea Merge lp:~rbalint/livecd-rootfs/fix-suppressing-kpartx-error 2017-08-30 08:10:04 -07:00
Balint Reczey
4d72521491 Fix suppressing kpartx error 2017-08-30 16:46:47 +02:00
Christopher Glass
3d901daef4 Fix file permission problem - the authorized_keys file was still owned by root since the chown call came before its creation. 2017-08-29 16:27:03 +02:00
Balint Reczey
9ecbce203c Start working on next upload 2017-08-29 16:19:04 +02:00
Christopher Glass
e6fd2b657e Remove ubuntu user customisations.
Let's just do the absolute minimum here, the default is what people expect.
2017-08-29 09:23:33 +02:00
Gary.Wzl
eb76178ab5 Support to only generate rootfs via variable (GENERATE_ROOTFS_ONLY). 2017-08-28 15:14:54 +08:00
Gary.Wzl
84da578380 Add IMAGETYPE to support classic image creation by ubuntu-image. 2017-08-28 11:24:51 +08:00
Steve Langasek
5c1b9f5c5c releasing package livecd-rootfs version 2.451 2017-08-25 14:28:47 -07:00
Steve Langasek
62c7528416 add changelog entry 2017-08-25 14:28:41 -07:00
Steve Langasek
b1432b36be Don't reference dropped grub_modules variable in grub-install command 2017-08-25 11:18:19 -07:00
Christopher Glass
87f34122fb Remove useless diff. 2017-08-25 17:02:52 +02:00
Christopher Glass
97c8996c29 Remove the useless user and password from default config. 2017-08-25 16:57:36 +02:00
Christopher Glass
72dbb4c75d Added comments. 2017-08-25 13:19:21 +02:00
Christopher Glass
467b8c9c06 Reset the default SSH user to being vagrant.
Using "vagrant ssh" is confusing otherwise.
2017-08-25 12:59:53 +02:00
Christopher Glass
1cc6041cd6 Remove root login. Ubuntu user keeps generated password. 2017-08-25 12:05:29 +02:00
Christopher Glass
b9363e97fb Explicitely permit passworded root login over SSH. 2017-08-25 08:37:18 +02:00
Christopher Glass
c0730ef6f6 Fix typo in variable name. 2017-08-24 21:19:30 +02:00
Christopher Glass
cc8a6e2709 Turns out the user adding should be done when the chroot is available... 2017-08-24 19:17:17 +02:00
Steve Langasek
a6ef49ccd8 releasing package livecd-rootfs version 2.450 2017-08-23 17:27:58 -07:00
Steve Langasek
33918809c9 add changelog entry 2017-08-23 17:27:52 -07:00
Steve Langasek
994fdc8a57 Merge lp:~cyphermox/livecd-rootfs/grub-modules 2017-08-23 17:26:22 -07:00
Mathieu Trudel-Lapierre
563abee702 Drop special handling of grub modules, adding a note. Modules should be included in the signed grub binaries when necessary. 2017-08-23 20:23:32 -04:00
Mathieu Trudel-Lapierre
869bb9808a Clean up GRUB_MODULES_PRELOAD / grub_modules. Remove the modules already loaded in stock signed grub EFI binaries. 2017-08-23 19:25:12 -04:00
Christopher Glass
5442860c14 Added a "vagrant" user to the vagrant image build, as per the vagrant community's
expectations.
2017-08-21 11:09:18 +02:00
Dimitri John Ledkov
bec201601d Set a default locale of C.UTF-8 in the cloud images. 2017-08-18 09:12:22 +01:00
Steve Langasek
406c58d72b Merge lp:~vorlon/livecd-rootfs/locale 2017-08-17 08:54:17 -07:00
Steve Langasek
8aadf2c73d Set a default locale of C.UTF-8 in the cloud images. 2017-08-16 16:32:27 -07:00
Dimitri John Ledkov
e94b04b0e0 releasing package livecd-rootfs version 2.449 2017-08-14 17:03:02 +01:00
Dimitri John Ledkov
55508d96f7 Drop creating upstart jobs for serial getty. 2017-08-14 17:02:01 +01:00
Dimitri John Ledkov
4f0e9c286c Drop add_serial_console for upstart. 2017-08-11 14:51:51 -04:00
Steve Langasek
6e4308be65 Merge lp:~rbalint/livecd-rootfs/vmdkstream-by-module 2017-07-24 15:01:43 -07:00
Balint Reczey
3b37842219 Use VMDKstream in a more future-proof way 2017-07-24 20:46:51 +02:00
Brian Murray
c1bc88e7ce releasing package livecd-rootfs version 2.448 2017-07-24 11:34:10 -07:00
Brian Murray
9baa0d07bc live-build/functions: Update path for VMDKstream.py (LP: #1706116) 2017-07-24 11:04:26 -07:00
Robert C Jennings
f05a8a238f live-build/functions: Update path for VMDKstream.py
LP: #1706116
2017-07-24 19:20:21 +02:00
Steve Langasek
a8a6d208f6 Merge lp:~rbalint/livecd-rootfs/xz 2017-06-30 13:19:11 -07:00
Balint Reczey
cfda7d20bd Use xz -T4 -0 instead of pxz
Test showed very little difference in file-size between -0 and -9 while
both compression and decompression need much less memory and compression
needs less CPU time for -0.

Supported xz versions before 5.2 also accept the -T4 option but ignore it.

Also depend on xz-utils instead of on pxz.

LP: #1701132
2017-06-30 12:22:29 +02:00
Mathieu Trudel-Lapierre
726e6192e0 auto/config: enable Debug::pkgDepCache::AutoInstall so tracking down
dependency bugs in the livefs is a little clearer.
2017-06-23 14:23:53 -04:00
Steve Langasek
926b22a834 Merge lp:~rbalint/livecd-rootfs/deps 2017-06-15 23:46:40 -07:00
Steve Langasek
9900a84214 releasing package livecd-rootfs version 2.447 2017-06-15 23:36:46 -07:00
Steve Langasek
23d9db863e Add cm3 as a known ubuntu-core image type. LP: #1698223. 2017-06-15 23:36:42 -07:00
Balint Reczey
0bee1ec424 Update changelog 2017-06-14 18:26:22 +02:00
Balint Reczey
6c9cf10d72 Depend on pxz and vmdk-stream-converter instead of installing them at runtime 2017-06-14 18:25:15 +02:00
Balint Reczey
aa54a130c3 Depend on packages in main instead of installing them at runtime 2017-06-14 18:25:11 +02:00
Didier Roche
1ce405bb8c releasing package livecd-rootfs version 2.446 2017-06-06 09:15:32 +02:00
Didier Roche
414c3ba23f Update changelog 2017-06-06 09:15:05 +02:00
Didier Roche
1260f67b8a Build ubuntu back with tasks. The metapackage switch was due to g++ transition
and needed some additional hint. This is adding maintenance and as mentioned
in 2.335, we can revert this.
2017-06-02 15:07:11 +02:00
Steve Langasek
8a1ad92cf3 releasing package livecd-rootfs version 2.445 2017-05-23 15:56:56 -07:00
Steve Langasek
fc5bce13fc Add changelog entries 2017-05-23 15:56:50 -07:00
Steve Langasek
45cb5a0447 Merge lp:~tsimonq2/livecd-rootfs/proper-task-names 2017-05-23 15:54:11 -07:00
Simon Quigley
0d82c84cdf Update the file based on gilir's feedback 2017-05-16 20:09:26 -05:00
Simon Quigley
538c89f984 Set correct tasks for Lubuntu 2017-05-12 23:20:58 -05:00
Mathieu Trudel-Lapierre
8de300621f For ubuntu-server images, the live user created by user-setup is 'ubuntu-server', not 'ubuntu'. Fix this so that gettys will start on VTs. 2017-05-03 09:09:26 -04:00
Steve Langasek
f75be1c606 Resurrect Balint's fix from
lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix to wrap kpartx
and trap spurious errors, since the problem is still being seen
intermittently on i386 despite us calling sync before kpartx.
2017-04-28 20:44:09 -07:00
Steve Langasek
a96a371101 releasing package livecd-rootfs version 2.444 2017-04-28 18:22:49 -07:00
Steve Langasek
dbba32fae6 For now, make sure all automated image builds are on the edge channel.
Eventually we will want to pass the channel as build metadata instead.
2017-04-28 18:02:16 -07:00
Steve Langasek
6aad636452 releasing package livecd-rootfs version 2.443 2017-04-28 17:50:10 -07:00
Steve Langasek
4f2c623e27 Use xz to compress ubuntu-image .img files before transfer, so that we
have smaller downloads and retain file sparseness everywhere.
2017-04-28 17:50:02 -07:00
Steve Langasek
c9b65e13bd Mark autopkgtests isolation-machine since debootstrap won't work in a
container.
2017-04-28 17:41:23 -07:00
Steve Langasek
13ac4328fb releasing package livecd-rootfs version 2.442 2017-04-28 15:15:16 -07:00
Mathieu Trudel-Lapierre
d463581569 Merge in lp:~ubuntu-core-dev/livecd-rootfs/zesty-proposed for the changes that landed in zesty but previously missing in livecd-rootfs trunk. 2017-04-28 17:48:46 -04:00
Mathieu Trudel-Lapierre
0da6b23075 releasing package livecd-rootfs version 2.441.2 2017-04-28 17:44:10 -04:00
Mathieu Trudel-Lapierre
2e21d6d6b1 The ubuntu-server:live should use a casper-based initramfs to work
correctly. (LP: #1682460)
2017-04-28 17:43:58 -04:00
Mathieu Trudel-Lapierre
608e738d38 releasing package livecd-rootfs version 2.441.1 2017-04-28 17:43:15 -04:00
Mathieu Trudel-Lapierre
03c991faef Setup kernel properly for ubuntu-server:live; we *do* want to build
kernel-generic and initrd-generic for this image. (LP: #1682460)
2017-04-28 17:43:04 -04:00
Steve Langasek
821d5823b1 Merge lp:~rbalint/livecd-rootfs/use-ubuntu-image 2017-04-28 14:33:54 -07:00
Balint Reczey
63188748c0 Update changelog 2017-04-28 22:30:22 +02:00
Balint Reczey
0109d5304e Optionally use ubuntu-image for building snap based images 2017-04-28 22:30:18 +02:00
Balint Reczey
f807c3703a Allow overriding IMAGEFORMAT even for ubuntu-cpc and ubuntu-server 2017-04-28 22:27:50 +02:00
Balint Reczey
44f9dceeb4 Require PROJECT environment to be set for lb build 2017-04-28 22:27:50 +02:00
Balint Reczey
cf20be3266 ddd 2017-04-28 22:27:35 +02:00
Balint Reczey
b616075f47 Sort and list dependencies nicely 2017-04-28 22:26:51 +02:00
Steve Langasek
ca79c05a23 Merge lp:~rbalint/livecd-rootfs/livecd-rootfs-autopkgtest-fix, w/ modifications
Only call sync, don't wrap kpartx and parse its output (doesn't appear to be
needed)
2017-04-25 11:46:26 -07:00
Balint Reczey
21efeb6795 Work around kpartx's nonzero exit due to "Device or resource busy" errors
which still permit kpartx to finally remove loop device (LP: #1684090).
Also sync before calling kpartx to let writing to loop devices finish.
2017-04-21 18:40:19 +02:00
Steve Langasek
e89c54b271 Merge lp:~rcj/livecd-rootfs/trunk/ 2017-04-13 10:54:14 -07:00
Mathieu Trudel-Lapierre
6096be5a55 releasing package livecd-rootfs version 2.441 2017-04-12 19:37:16 -04:00
Mathieu Trudel-Lapierre
1986240d40 * Add ubuntu-server:live for a subiquity-based server image.
* Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
2017-04-12 19:34:58 -04:00
Robert C Jennings
01b476c0eb live-build/ubuntu-cpc/hooks/999-extras.binary: Exit on first failure
Failure should be quick to eliminate excessive buildd time and make
identification of failure easier (no more buried errors).
2017-04-11 22:27:58 -05:00
Robert C Jennings
166b5eb4b3 ubuntu-cpc/060-ipv6.chroot: remove release comparison (LP: #1681548) 2017-04-11 22:27:08 -05:00
Mathieu Trudel-Lapierre
22ec1d6f6f Sanitize comments. 2017-04-11 23:16:48 -04:00
Mathieu Trudel-Lapierre
94275558de Make sure variables are exported for run-parts in 999-extras.binary; and drop the unnecessary sourcing of functions. 2017-04-11 22:38:18 -04:00
Mathieu Trudel-Lapierre
6272f60665 Merge fixes from rcj. 2017-04-11 22:14:40 -04:00
Robert C Jennings
f8264a59c6 Change remaining CLOUD_IMG_STR references to IMAGE_STR 2017-04-11 21:10:56 -05:00
Mathieu Trudel-Lapierre
4e01beda8c Set IMAGE_STR and FS_LABEL for ubuntu-cpc 999-extras.binary hook too; but also export CLOUD_IMG_STR. 2017-04-11 22:03:04 -04:00
Mathieu Trudel-Lapierre
4613a2c82e Don't outright remove fstab for ubuntu-server:live, that breaks grub-legacy-ec2. 2017-04-11 21:44:25 -04:00
Mathieu Trudel-Lapierre
9ed476572f Resynchronize with parent branch. 2017-04-11 17:30:48 -04:00
Mathieu Trudel-Lapierre
46bae4cebf Fix up functions refactoring tfor a proper path to the file. 2017-04-11 17:16:35 -04:00
Balint Reczey
47a72d1c7d Add a basic but configurable autopkgtest. 2017-04-10 16:35:58 -07:00
Balint Reczey
a1067d556a Add basic autopkgtest 2017-04-10 19:08:27 +02:00
Mathieu Trudel-Lapierre
ab949fac18 Rename ubuntu-server-live -> ubuntu-server 2017-04-07 17:15:54 -04:00
Mathieu Trudel-Lapierre
46fd6c58f5 Refactor functions out of ubuntu-cpc and ubuntu-server hooks. 2017-04-07 17:14:56 -04:00
Mathieu Trudel-Lapierre
292c5f300c De-duplicate functions in ubuntu-server-live; use the file from ubuntu-cpc. 2017-04-06 16:47:28 -04:00
Mathieu Trudel-Lapierre
97303de428 Add ubuntu-server-live for a subiquity-based server image. 2017-04-06 16:24:44 -04:00
Mathieu Trudel-Lapierre
715f13b887 Don't spam with unnecessary login messages; skip login altogether. 2017-04-06 15:39:44 -04:00
Mathieu Trudel-Lapierre
2cfa4a9088 Override gettys to wait for the user the press enter, and autologin to the ubuntu user. 2017-04-06 15:11:05 -04:00
Mathieu Trudel-Lapierre
e577ed7672 Rename to ubuntu-server-live; some build process fixes. 2017-04-06 14:04:29 -04:00
Mathieu Trudel-Lapierre
bf958b1472 Disable cloud-init for the live-session. user-setup will create our ubuntu user via casper. 2017-04-05 13:35:38 -04:00
Balint Reczey
16eee8d7eb Use all config hooks from the proper place, not from /build/ 2017-04-03 16:42:55 +02:00
Balint Reczey
7cae48fd12 Source ubuntu-cpc functions from the right place 2017-03-31 15:16:36 +00:00
Mathieu Trudel-Lapierre
29f5dc57fd mkdir must not fail. 2017-03-27 20:55:58 -04:00
Mathieu Trudel-Lapierre
436ee0ed24 Merge changes from parent. 2017-03-23 16:19:58 -04:00
Mathieu Trudel-Lapierre
6978674cfe Add cloud-init for subiquity image. 2017-03-23 16:19:16 -04:00
Adam Conrad
24a6552b56 Releasing 2.440 2017-03-23 11:39:58 -06:00
Mathieu Trudel-Lapierre
303c7a29ec Move subiquity systemd service to includes.binary; so that it's copied only on the installer overlay. 2017-03-21 18:32:55 -04:00
Mathieu Trudel-Lapierre
86b64ef78e Move curtin to installer squash. 2017-03-21 18:22:58 -04:00
Mathieu Trudel-Lapierre
d5a6f5cbe3 Add 'ubuntu-server-next' subiquity image. 2017-03-20 20:57:45 -04:00
Steve Langasek
738ff116a5 Merge lp:~vorlon/livecd-rootfs/image-flavors/ 2017-02-27 22:34:19 -08:00
Steve Langasek
fe82ab60f1 fix the changelog to match the implementation, thanks to Colin for catching 2017-02-27 22:31:13 -08:00
Brian Murray
f79fc7973c Add replace_grub_root_with_label function thereby consolidating multiple
uses of the same calls to sed. Thanks to Dan Watkins.
2017-02-17 14:30:31 -08:00
Adam Conrad
7b576e4c4d Set device_tree_address for the new kernel in the RPi bootloader config.txt 2017-02-16 10:30:45 -07:00
Brian Murray
a5cc2033a0 Fix the OVF's metadata to include Ubuntu specific identifiers and
descriptions instead of the generic Linux ones. Thanks to Chris Glass.
(LP: #1656293)
2017-02-16 09:04:07 -08:00
Christopher Glass
5da94c05e5 Fixed template omission (found wile running a build withthis branch). 2017-02-16 03:11:06 +01:00
Christopher Glass
b6e7b22680 Rool both switches into one for all affected files (the vagrant file was still
doing two switches on $ARCH).
2017-02-16 01:42:25 +01:00
Steve Langasek
aa7a204691 Merge lp:~nacc/livecd-rootfs/iscsi-initiatorname 2017-02-08 21:55:21 -08:00
Nish Aravamudan
404e524013 live-build/ubuntu-cpc/hooks/061-open-iscsi.chroot: generate iSCSI
Initiator Name at first iscsid run for cloud images to ensure it is
unique (LP: #1444992).
2017-02-08 18:10:35 -08:00
Steve Langasek
dc38efa4bd merge from trunk 2017-02-08 15:19:54 -08:00
Steve Langasek
60da7e7c43 Also make squashfs skippable with $IMAGE_TARGETS 2017-02-08 15:18:22 -08:00
Steve Langasek
7fc1da1513 * live-build/ubuntu-cpc/functions: don't call sleep as part of
umount_settle; udevadm settle is synchronous and there's no reason to
  sleep after it.
* live-build/ubuntu-cpc/functions: umount_partition: don't call
  umount_settle for each submount; just unmount them one by one and
  settle at the end.
2017-02-08 13:51:36 -08:00
Steve Langasek
97bc634bd9 vmdk-ova has to key on the vmdk image build 2017-02-07 11:58:52 -08:00
Steve Langasek
53e1feefdb Per discussion with Adam, don't make this an LB_ variable since it's not actually part of live-build; instead we will look to pass it into the environment through launchpad-buildd 2017-02-07 10:19:03 -08:00
Steve Langasek
f04a535b0c Always export LB_IMAGE_FLAVORS, so that hooks don't complain about unbound variables 2017-02-07 08:57:50 -08:00
Steve Langasek
6ae9c55227 Fix gratuitous quoting bug 2017-02-06 23:07:24 -08:00
Steve Langasek
8ba3a00622 Support passing IMAGE_FLAVORS in the environment, to limit which images
are output as part of a build; particularly useful for ubuntu-cpc builds
which output multiple image types.
2017-02-06 22:12:32 -08:00
Brian Murray
e93ed188f6 releasing package livecd-rootfs version 2.439 2017-02-03 13:33:06 -08:00
Brian Murray
1134c8ab34 Merge Chris Glass's branch to fix manifest generation in OVA files. 2017-02-03 13:32:57 -08:00
Christopher Glass
5a07ff4602 Roll both switches on $ARCH into one, as suggested at review. 2017-01-17 08:10:26 +00:00
Christopher Glass
f1a8538c8e This branch fixes the OVF's metadata to include Ubuntu-specific identifiers and
descriptions instead of the generic linux ones (lp:1656293).

This applies to both the general image and the vagrant-specific one.
2017-01-16 09:26:25 +00:00
Christopher Glass
f282859477 This branch fixes the manifest generation in OVA files (LP:1627931)
The .ova file extension was passed twice, resulting in file not found errors in
both the general case and the vagrant-specific file creation.
2017-01-16 09:22:55 +00:00
Łukasz 'sil2100' Zemczak
6d8e4122e7 releasing package livecd-rootfs version 2.438 2016-12-22 20:47:52 +01:00
Łukasz 'sil2100' Zemczak
e2751108ff Merge lp:~ubuntubudgie-dev/livecd-rootfs/ubuntu-budgie-proposal.zesty - enable ubuntu-budgie. 2016-12-22 20:47:29 +01:00
David Mohammed
b6b03b4004 changed version from zesty to UNRELEASED 2016-12-22 19:42:23 +00:00
David Mohammed
1af12f76b7 correct indentation - should be tab not spaces 2016-12-22 19:12:48 +00:00
David Mohammed
c85df9e50f add changes for Ubuntu Budgie build config 2016-12-22 18:59:01 +00:00
Iain Lane
737d840f97 releasing package livecd-rootfs version 2.437 2016-11-04 11:02:14 +00:00
Iain Lane
4a2d7ecf31 Merge lp:~laney/livecd-rootfs/lp1627190 - don't purge .pyc files any more 2016-11-04 11:01:13 +00:00
Mathieu Trudel-Lapierre
70e1450465 releasing package livecd-rootfs version 2.436 2016-10-28 21:49:55 -04:00
Mathieu Trudel-Lapierre
ec1817a240 ubuntu-cpc: Remove redundant copy of grub files. 2016-10-28 21:49:36 -04:00
Robert C Jennings
67dfdf94a7 ubuntu-cpc: Remove redundant copy of grub files
This redundant and file names recently changed.  These files will be
put in place by grub-install a few lines below these.
2016-10-27 17:05:20 -05:00
Łukasz 'sil2100' Zemczak
f9a67065b6 releasing package livecd-rootfs version 2.435 2016-10-26 18:36:47 +02:00
Łukasz 'sil2100' Zemczak
d43c01c60b Update the ubuntu-touch hints to try installing ubuntu-system-settings instead of ubuntu-system-settings-online-accounts. 2016-10-26 18:36:24 +02:00
Iain Lane
d7eecc3805 live-build/auto/config: Don't remove .pyc files any more - we don't care
*that* much about the small space gain these days, and would prefer the
speed win. (LP: #1627190)
2016-10-26 16:58:36 +01:00
Łukasz 'sil2100' Zemczak
b8a465f5e2 releasing package livecd-rootfs version 2.434 2016-09-30 11:24:32 +02:00
Łukasz 'sil2100' Zemczak
bbc880716d Update the 00-uid-gid-fix.chroot_early hook for touch to include the new known good bootstrap hash values. 2016-09-30 11:22:21 +02:00
Adam Conrad
1d71b6d5ab Use the virtual kernel for the arm64 cpc images instead of generic. 2016-09-22 21:55:08 -06:00
Adam Conrad
95d4c0b767 Use the virtual kernel for the powerpc64 cpc images (LP: #1625368) 2016-09-19 16:58:00 -06:00
Steve Langasek
5c521c961a releasing package livecd-rootfs version 2.431 2016-09-14 14:27:43 -05:00
Steve Langasek
d747399c64 Temporarily change the 60-install-click.chroot script to pull in clicks for
arm64 builds from a different location for ubuntu-touch.
2016-09-14 14:24:38 -05:00
Steve Langasek
30699459e2 releasing package livecd-rootfs version 2.430 2016-09-09 15:59:52 -07:00
Steve Langasek
8855f05191 live-build/ubuntu-cpc/hooks/042-vagrant.binary: fix unmount handling
so that the teardown is done properly /before/ we try to make an
image from our filesystem, since otherwise /etc/resolv.conf is broken.
LP: #1621393.
2016-09-09 15:56:47 -07:00
Michael Vogt
d4dd5b3a8a * live-build/ubuntu-core/hooks/01-setup_user.chroot:
- do not create "ubuntu" user for ubuntu-core anymore, the
* live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot
  - dropped
2016-09-02 20:42:01 +02:00
Michael Vogt
5f9521d65f do not create "ubuntu" user for ubuntu-core anymore, the
console-conf package will create this user now
2016-09-02 17:04:23 +02:00
Daniel Watkins
15d147bcdb Add replace_grub_root_with_label function
When update-grub is run, it will detect the disks in the build system.
Currently, we sed the grub configuration in places where this happens;
replace_grub_root_with_label moves that seddery in to a single callable
location to avoid ending up with multiple versions of it.

(It's worth noting that we also do this in 999-cpc-fixes.chroot, but as our
functions file isn't available within the chroot we don't use it there.)
2016-09-02 12:54:19 +01:00
Martin Pitt
b62de15a85 releasing package livecd-rootfs version 2.429 2016-08-20 06:56:41 +02:00
Martin Pitt
e40e563cb8 live-build/auto/build: Fix typo in netplan policy snippet.
*brown paperbag* (LP: #1615180)
2016-08-20 06:56:33 +02:00
Martin Pitt
4da18fdd74 releasing package livecd-rootfs version 2.428 2016-08-19 16:28:26 +02:00
Martin Pitt
3c3737327f live-build/auto/build: Move NetworkManager configuration to the right
place.
2016-08-19 16:28:21 +02:00
Martin Pitt
b8da0e0568 releasing package livecd-rootfs version 2.427 2016-08-18 08:39:41 +02:00
Martin Pitt
d9ce44d73a live-build/auto/build: If the image pre-installs network-manager, let it
manage all devices by default by shipping a default netplan policy.
Installing NM on an existing system only manages wifi and wwan, to avoid
interfering with networkd managed devices on existing server/cloud
instances.
2016-08-18 08:39:32 +02:00
Sebastien Bacher
6334d63002 releasing package livecd-rootfs version 2.426 2016-08-17 15:23:31 +02:00
Sebastien Bacher
1060aac86d * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary
- use echo to display the error, thanks ogra for pointing that out,
    update the string also to use the new snappy command naming
2016-08-17 15:22:22 +02:00
Sebastien Bacher
f90725fb8f releasing package livecd-rootfs version 2.425 2016-08-17 12:11:27 +02:00
Sebastien Bacher
8ec2912420 Create a desktop entry and some mimetype associations for xdg-open in
ubuntu-core. That way interacting with web, email and documentations 
urls in a snap should do the right thing.
2016-08-17 12:11:13 +02:00
Sebastien Bacher
f78de9a3c7 * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary,
500-create-xdg-wrapper.binary, 700-classic-dir.binary:
  - Correct some syntax errors in the ubuntu-core snap hooks.
2016-08-17 12:10:16 +02:00
Michael Hudson-Doyle
05a3f1844c releasing package livecd-rootfs version 2.424 2016-08-16 10:28:58 +12:00
Steve Langasek
096f842da6 Merge lp:~mwhudson/livecd-rootfs/uc-add-netplan/ 2016-08-15 15:27:37 -07:00
Michael Hudson-Doyle
15b69c4ddf Install nplan in the ubuntu-core image. 2016-08-16 10:17:52 +12:00
Steve Langasek
56f18e5a91 releasing package livecd-rootfs version 2.423 2016-08-12 13:02:08 -07:00
Steve Langasek
b268d90538 Merge lp:~tsimonq2/livecd-rootfs/lubuntu-next-image 2016-08-12 13:01:58 -07:00
Michael Terry
0a141763ce * live-build/ubuntu-touch/includes.chroot/etc/lightdm/
lightdm.conf.d/90-phablet.conf:
  - Don't have Touch greeters show a guest session. Touch isn't ready
    for non-phablet users yet nor a multi-user greeter.
2016-08-10 11:11:26 -04:00
Sebastien Bacher
5c11231392 Create a desktop entry and some mimetype associations for xdg-open in
ubuntu-core. That way interacting with web, email and documentations urls
in a snap should do the right thing.
2016-08-03 17:00:58 +02:00
Sebastien Bacher
da28a130be update hook comment to match the content 2016-08-03 10:17:59 +02:00
Sebastien Bacher
377b075dcc escape $1 variable in the xdg script where needed 2016-08-03 10:17:24 +02:00
Sebastien Bacher
2dd9d8a055 Correct some syntax errors in the ubuntu-core snap hooks 2016-08-03 10:16:25 +02:00
Simon Quigley
4040816ca7 Add Lubuntu Next image 2016-07-26 12:15:20 -05:00
Steve Langasek
1c6e6fe046 releasing package livecd-rootfs version 2.421 2016-07-21 09:15:00 -07:00
Steve Langasek
9efc4f0f70 Merge lp:~semiosis/livecd-rootfs/fix-for-1565985 2016-07-21 09:14:49 -07:00
Louis Zuckerman
802e65f885 remove unnecessary virtualbox-guest-dkms package from vagrant image builder 2016-07-21 13:24:53 +00:00
Oliver Grawert
a6c315a79b releasing package livecd-rootfs version 2.420 2016-07-21 10:11:04 +02:00
Oliver Grawert
418501bc65 slightly adjust the version handling for the core snap, drop suffix from kernel snap version string 2016-07-21 10:09:39 +02:00
Oliver Grawert
f6058dfdb4 sanitize the version number of the ubuntu-core snap 2016-07-19 14:00:49 +02:00
Louis Zuckerman
213c3b317c updated per Steve Langasek's feedback:
- put umount in trap
- wrap comment lines at 78 chars
- remove unnecessary DEBIAN_FRONTENT env var from apt-get lines
2016-07-11 23:11:27 +00:00
Louis Zuckerman
85d3b5fdaf remove comment from vagrant script 2016-07-07 13:12:01 +00:00
Louis Zuckerman
b27567d425 update changelog: Add cloud-init config to manage /etc/hosts LP: #1561250 2016-07-07 13:10:00 +00:00
Louis Zuckerman
c507a5b493 clean up changelog 2016-07-06 14:01:39 +00:00
Louis Zuckerman
fe769a40ff fix changelog 2016-07-06 13:59:09 +00:00
Louis Zuckerman
7c4f296ca5 fixed changelog 2016-07-06 13:58:25 +00:00
Louis Zuckerman
0eac70b33e [ Louis Zuckerman ]
* Fixes for vagrant box builder in ubuntu-cpc LP: #1565985
* Remove extra packages added on 24 Jun 2016 except virtualbox-guest stuff
* Add cloud-init config to manage /etc/hosts for localhost
2016-07-06 13:54:37 +00:00
Louis Zuckerman
2616af2baf [ Louis Zuckerman ]
* Merged the following changes from upstream
[ Łukasz 'sil2100' Zemczak ]
* Remove the ubuntu-pd project from the scripts
* Add instead an ubuntu-touch-custom project for custom re-builds of
  ubuntu-touch 
[ Daniel Watkins ]
* Consolidate cloud images
  - Remove .tar.gz and .tar.xz (removed in favour of the squashfs).
  - Remove the MBR-only disk image in favour of the shared GPT/MBR UEFI
    image.
  - Remove '-disk1' from bootable image names.
[ Phil Roche ]
* Removed HWCLOCKACCESS=no from /etc/default/rcS (LP: #1581044)
2016-07-06 12:12:36 +00:00
Łukasz 'sil2100' Zemczak
b5cf4ca120 Add changelog entry for last change. 2016-07-06 12:58:20 +02:00
Łukasz 'sil2100' Zemczak
9608064276 ubuntu-pd is dead, long live ubuntu-touch-custom - introduce a new project ubuntu-touch-custom that is exactly the same as ubuntu-touch but uses a separate cdimage project (separate builder space). 2016-07-05 15:59:39 +02:00
Steve Langasek
ffb37ebe38 releasing package livecd-rootfs version 2.419 2016-06-28 16:21:13 -07:00
Steve Langasek
40fd3c6534 Merge lp:~cloudware/livecd-rootfs/image-consolidation 2016-06-28 16:21:01 -07:00
Louis Zuckerman
cad69acf05 fixes for vagrant box builder in ubuntu-cpc 2016-06-24 12:56:22 +00:00
Mathieu Trudel-Lapierre
38e1b7d166 releasing package livecd-rootfs version 2.418 2016-06-22 13:42:45 -04:00
Mathieu Trudel-Lapierre
0d9f94b48a Ubuntu-MATE now does follow Recommends; adjust the configuration for it
to not pass --no-install-recommends.
2016-06-22 13:42:35 -04:00
Martin Wimpress
cbbcb721a4 Ubuntu MATE seeds now follow Recommends: 2016-06-13 16:40:01 +01:00
Adam Conrad
b3cc872df5 Swap order of security and updates in dvd sources.list. 2016-06-13 05:11:58 -06:00
Adam Conrad
da54fe4c3e Fix security mirror sources.list entries for non-x86 architectures. 2016-06-13 02:23:16 -06:00
Michael Vogt
50f5c6cd18 fix 500-create-xdg-wrapper.binary and 700-classic-dir.binary extensions 2016-06-11 22:03:39 +02:00
Daniel Watkins
a3f28d7a1b Fix changelog formatting 2016-06-10 11:29:44 +01:00
Daniel Watkins
319e3668b9 [cpc][ppc64el] apt-get update before installing grub2 2016-06-09 15:48:38 +01:00
Phil Roche
d97134679d Removed HWCLOCKACCESS=no from /etc/default/rcS
HWCLOCKACCESS=no in /etc/default/rcS is no longer required and prompts a confirmation
dialog on upgrade. (bug 1581044)
2016-06-09 10:47:25 +01:00
Daniel Watkins
c1a36eb3cd Don't ignore failures to find a base VMDK for OVAs
We should always build them, and treat them not existing as a failure.
2016-06-09 10:47:25 +01:00
Daniel Watkins
dd9cf219c7 Create a VMDK image on i386 2016-06-09 10:47:25 +01:00
Daniel Watkins
fe81277a0f Continue producing non-UEFI images on non-UEFI arches 2016-06-09 10:47:25 +01:00
Daniel Watkins
0a8a704b0b Remove '-disk1' from bootable image names. 2016-06-09 10:47:25 +01:00
Daniel Watkins
1fd54c49ee * Consolidate cloud images
- Remove .tar.gz and .tar.xz (removed in favour of the squashfs).
  - Remove the MBR-only disk image in favour of the shared GPT/MBR UEFI
    image.
2016-06-09 10:47:25 +01:00
Michael Vogt
698283d1c4 rename var/lib/snapd/classic->var/lib/snapd/hostfs 2016-06-09 11:35:20 +02:00
Steve Langasek
2d5e46e061 releasing package livecd-rootfs version 2.415 2016-06-08 12:59:44 -07:00
Steve Langasek
6c5dc72d80 Merge lp:~daniel-thewatkins/livecd-rootfs/enable-backports 2016-06-08 12:54:08 -07:00
Michael Vogt
460d363b84 fix corename 2016-06-08 19:18:32 +02:00
Michael Vogt
45dd439f68 add var/lib/snapd/classic in ubuntu-core 2016-06-08 19:13:58 +02:00
Daniel Watkins
8940890039 Remove some trailing spaces 2016-06-08 10:48:50 +01:00
Daniel Watkins
79cf11a25a Use the correct (pre-xenial) universe sources.list comment 2016-06-08 10:48:16 +01:00
Daniel Watkins
407cd3b812 Replace sources.list generated using COMPONENTS with the sources.list from
an Ubuntu Server installation (i.e. with all components enabled, and all
deb-src lines commented).
2016-06-08 10:47:22 +01:00
Łukasz 'sil2100' Zemczak
323e241c02 releasing package livecd-rootfs version 2.414 2016-06-07 11:31:37 +02:00
Łukasz 'sil2100' Zemczak
f83f033060 Update post-debootstrap hashes for ubuntu-touch. 2016-06-07 11:20:27 +02:00
Oliver Grawert
177330a220 releasing package livecd-rootfs version 2.413 2016-05-30 17:45:35 +02:00
Oliver Grawert
e9c7cee3de revert the renaming from ubuntu-core to core for the os snap until snapd is ready for this 2016-05-30 17:45:20 +02:00
Oliver Grawert
581e738ae4 releasing package livecd-rootfs version 2.412 2016-05-27 15:48:19 +02:00
Oliver Grawert
0ffbd3a7cc drop "execution" from os snap description 2016-05-27 15:40:31 +02:00
Oliver Grawert
2db1eb2155 rename the ubuntu-core snap to simply be "core" 2016-05-27 14:09:39 +02:00
Adam Conrad
fac01bcd79 Release 2.411 2016-05-26 21:05:48 -06:00
Adam Conrad
8cd6c20291 Move touch resolution hints to a HINTS variable, and adjust for use
on dual-stack gl/gles arches where things don't quite work right.
2016-05-26 21:05:21 -06:00
Adam Conrad
1463239cb2 Stop explicitly removing systemd-sysv for touch. 2016-05-26 21:02:25 -06:00
Oliver Grawert
b38412b4ed adjust motd message on snappy 2016-05-25 14:30:39 +02:00
Daniel Watkins
e690e4bdf7 [CPC] Don't overwrite the default sources.list
We've received a request not to do so (LP: #1513529) and cloud-init applies it
(or something similar to it) at boot anyway, so the list we're putting in place
isn't generally used.
2016-05-20 16:40:41 +01:00
Michael Vogt
863c46941a rename com.canonical.UrlLauncher -> com.canonical.SafeLauncher 2016-05-20 09:09:31 +02:00
Michael Vogt
8a5032e26e live-build/ubuntu-core/hooks/500-create-xdg-wrapper: rename to com.canonical.UrlLauncher 2016-05-13 13:16:09 -07:00
Oliver Grawert
56e798bcbd add u-boot-tools to all snappy arches, drop flash-kernel from snappy, create /boot/uboot dir on all snappy arches and configure /etc/fw_env.config 2016-05-13 21:06:41 +02:00
Michael Vogt
d436f951c3 system-image: add /usr/local/bin/xdg-open dbus helper 2016-05-13 11:43:15 -07:00
Michael Vogt
d617d8f840 update kernel snap building to match the new kernel policy 2016-05-10 18:18:06 -07:00
Steve Langasek
303bbfa418 releasing package livecd-rootfs version 2.410 2016-05-09 16:33:14 -07:00
Steve Langasek
baf4f47379 Drop special-casing of ubuntu-core:system-image in places, now that
ubuntu-core unambiguously refers to the snappy Ubuntu Core image.
2016-05-09 16:31:57 -07:00
Steve Langasek
8b79962b99 Rename old ubuntu-core tarballs to ubuntu-base to avoid confusion. 2016-05-09 15:08:27 -07:00
Łukasz 'sil2100' Zemczak
4046214d31 releasing package livecd-rootfs version 2.409 2016-05-04 13:01:22 +02:00
Łukasz 'sil2100' Zemczak
1a5f9bc338 Add the new dhcpd user introduced by latest archive changes. 2016-05-04 12:50:31 +02:00
Michael Vogt
15ed930293 add meta/kernel.yaml to the kernel snaps 2016-05-04 11:45:17 +02:00
Oliver Grawert
606bec0ac1 releasing package livecd-rootfs version 2.408 2016-04-21 15:02:02 +02:00
Oliver Grawert
6bd3aaffc1 drop linux-firmware-raspi2 from snappy 2016-04-21 15:01:42 +02:00
Oliver Grawert
c27954cda8 releasing package livecd-rootfs version 2.407 2016-04-21 11:16:34 +02:00
Oliver Grawert
0b1c0642f7 add multiverse to sources.list for snappy kernel builds 2016-04-21 11:16:15 +02:00
Oliver Grawert
48ffdfbb38 releasing package livecd-rootfs version 2.408 2016-04-21 11:06:45 +02:00
Oliver Grawert
03f89315cc add multiverse to sources.list for snappy kernel builds 2016-04-21 11:04:53 +02:00
Colin Watson
fbe561532b Add a basic build-time syntax check for live-build/auto/*. 2016-04-20 21:23:08 +01:00
Iain Lane
e5142015a3 Fix syntax error. 2016-04-20 21:14:59 +01:00
Oliver Grawert
b8361740b0 releasing package livecd-rootfs version 2.405 2016-04-20 19:36:11 +02:00
Oliver Grawert
8d145b4d43 move the snappy kernel builds to the correct linux-image-$arch and linux-firmware-$arch metapackages 2016-04-20 19:35:55 +02:00
Adam Conrad
4eae5fbf1d Follow linux-firmware-raspi2 renaming in the archive for raspi2 images. 2016-04-20 10:50:51 -06:00
Łukasz 'sil2100' Zemczak
dd885e29a2 releasing package livecd-rootfs version 2.403 2016-04-18 12:35:14 +02:00
Łukasz 'sil2100' Zemczak
d136431dd5 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. 2016-04-18 12:33:38 +02:00
Łukasz 'sil2100' Zemczak
d5179ab71e releasing package livecd-rootfs version 2.402 2016-04-15 13:56:09 +02:00
Łukasz 'sil2100' Zemczak
8fa28215c8 Update the passwd, shadow, group and gshadow bootstrap hashes for touch. 2016-04-15 13:54:30 +02:00
Scott Moser
2d84e8588b releasing package livecd-rootfs version 2.401 2016-04-14 14:47:54 -04:00
Scott Moser
eb80510f7d * Re-enable systemd predictable network interface naming on cloud-images
* Stop creating default configuration for eth0 (LP: #1563487)
2016-04-14 14:46:59 -04:00
Daniel Watkins
f623c15945 Update changelog with:
* Re-enable systemd predictable network interface naming on cloud-images
* Stop creating default configuration for eth0 (LP: #1563487)
2016-04-14 11:41:01 -07:00
Daniel Watkins
2c27aab38c Re-enable systemd predictable interface naming in cloud images 2016-04-14 11:06:33 -07:00
Daniel Watkins
6340e292d6 Don't configure the eth0 interface by default
In xenial, eth0 won't exist (as we've moved to systemd's predictable interface
naming), and even were it to exist, cloud-init would handle configuring it on
boot.
2016-04-14 11:03:18 -07:00
Adam Conrad
57c110d861 Transition from ubuntu-snappy to ubuntu-core-snapd-units and snapd. 2016-04-13 22:59:33 -06:00
Adam Conrad
dbcbcfaf7c live-build/ubuntu-cpc/hooks/032-disk-image.binary: Install s390-tools
and sysconfig-hardware before we attempt to configure zipl.
2016-04-13 05:40:22 -06:00
Oliver Grawert
814311e826 snappy: make ppc64el and s390x os tarball builds work 2016-04-12 19:24:25 +02:00
Oliver Grawert
62b25a47f2 kill the snappy os build if the initramfs-tools-ubuntu-core package is not found 2016-04-10 17:27:32 +02:00
Oliver Grawert
6e5d846511 releasing package livecd-rootfs version 2.398 2016-04-08 16:53:02 +02:00
Oliver Grawert
e7723219a3 switch snappy package builds from "snappy build" to "snapcraft snap" (LP: #1557515) 2016-04-08 16:52:42 +02:00
Oliver Grawert
38ad19d447 releasing package livecd-rootfs version 2.397 2016-04-07 19:01:25 +02:00
Oliver Grawert
4d25373897 live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot create a generic initrd inside the snappy os-snap 2016-04-07 18:57:07 +02:00
Adam Conrad
2d5afc7dc7 Releasing 2.396 2016-04-07 07:43:08 -06:00
Adam Conrad
ec84072284 Merge powerpc fixes from Daniel Watkins 2016-04-07 07:42:08 -06:00
Daniel Watkins
2909aba4b5 Enable building of powerpc cloud images. 2016-04-07 14:34:12 +01:00
Adam Conrad
5ac47abce7 Remove obsolete pvr-omap4 special-casing to simplify configs. 2016-04-03 02:41:30 -06:00
Oliver Grawert
faf8c3b838 releasing package livecd-rootfs version 2.395 2016-04-01 16:34:30 +02:00
Oliver Grawert
24d78ecf5f fix cloud-init breaking snappy networking on boot (LP: #1563296) 2016-04-01 16:34:02 +02:00
Łukasz 'sil2100' Zemczak
5217c9e7fa releasing package livecd-rootfs version 2.394 2016-03-30 16:23:04 +02:00
Łukasz 'sil2100' Zemczak
47a0bcd26f Adding a new hook to change the configuration file for upower. The new configuration uses percentages for battery levels and uses power off for the critical battery level action. 2016-03-30 16:21:43 +02:00
Xavi Garcia Mena
0fbe88364f Changing upower configuration to use percentages and poweroff the device when the critical battery level has been reached 2016-03-30 15:09:04 +02:00
Oliver Grawert
e04d8b7dd8 releasing package livecd-rootfs version 2.393 2016-03-24 13:28:41 +01:00
Oliver Grawert
16f26af920 make the /etc/mtab link relative in snappy (LP: #1547033) 2016-03-24 13:28:08 +01:00
Oliver Grawert
12f8686c29 releasing package livecd-rootfs version 2.392 2016-03-22 13:21:41 +01:00
Oliver Grawert
66c472388c move mtab link to point to /proc/self/mounts instead of /proc/mounts in snappy images 2016-03-22 13:19:21 +01:00
Oliver Grawert
f319c7be83 releasing package livecd-rootfs version 2.391 2016-03-21 17:57:54 +01:00
Oliver Grawert
60c9b694c4 adjust snap versions to only have one dash and use plus chars instead 2016-03-21 17:41:14 +01:00
Oliver Grawert
adc776f003 releasing package livecd-rootfs version 2.390 2016-03-17 19:50:19 +01:00
Oliver Grawert
c5905d18b6 add link for wlan mac address in dragonboard kernel snaps, move dragonboard kernel snap to linux-snapdragon 2016-03-17 19:48:29 +01:00
Colin Watson
5eafab2d55 releasing package livecd-rootfs version 2.389 2016-03-16 10:46:59 +00:00
Colin Watson
af517f422a Follow rename of ubuntustudio-font-meta to ubuntustudio-fonts. 2016-03-16 10:45:26 +00:00
Oliver Grawert
572b0e43a4 releasing package livecd-rootfs version 2.388 2016-03-15 15:47:15 +01:00
Oliver Grawert
753bd8acd0 remove grub-efi-arm64 to the arm64 OS snap as it breaks uboot 2016-03-15 15:46:51 +01:00
Oliver Grawert
eba875e96c add support for dragonboard kernel snap 2016-03-15 15:39:33 +01:00
Łukasz 'sil2100' Zemczak
c964b61ae0 releasing package livecd-rootfs version 2.387 2016-03-15 12:58:36 +01:00
Łukasz 'sil2100' Zemczak
b6eae423cd Move the new touch click apps (unav, dekko, calendar) to the custom tarball. 2016-03-15 12:57:33 +01:00
Adam Conrad
d77a731d63 Build raspi2 images with multiverse for firmware. 2016-03-14 10:32:26 -06:00
Michael Vogt
f94b5db6e3 add grub-efi-arm64 to the arm64 OS snap 2016-03-09 23:19:11 +01:00
Michael Vogt
5439a48096 add dpkg.list to assets of the kernel snap 2016-03-09 23:17:18 +01:00
Oliver Grawert
de38cca7b4 releasing package livecd-rootfs version 2.385 2016-03-09 15:59:34 +01:00
Oliver Grawert
9a9e8685f9 add snap building for kernel snaps 2016-03-09 15:59:17 +01:00
Oliver Grawert
628ef5f3f1 releasing package livecd-rootfs version 2.384 2016-03-08 19:46:04 +01:00
Oliver Grawert
768445efda adjust naming to something easier consumable for cdimage of os snap in snappy builds 2016-03-08 19:45:37 +01:00
Oliver Grawert
463e1fbdf5 releasing package livecd-rootfs version 2.383 2016-03-08 16:45:05 +01:00
Oliver Grawert
6d4209f62c add .snap cration for ubuntu-core snappy rootfs builds 2016-03-08 16:44:36 +01:00
Łukasz 'sil2100' Zemczak
1be37a9fb2 releasing package livecd-rootfs version 2.382 2016-03-08 16:41:46 +01:00
Łukasz 'sil2100' Zemczak
1865c71a24 Remove the manta device from the list of touchsubarches as we're not building its kernel anymore. 2016-03-04 09:49:27 +01:00
Łukasz 'sil2100' Zemczak
dec7d52995 releasing package livecd-rootfs version 2.381 2016-03-03 10:09:31 +01:00
Łukasz 'sil2100' Zemczak
f7c5d2ac50 Update the debootstrap group and gshadow hashes for ubuntu-touch. 2016-03-03 10:04:06 +01:00
Chuck Short
f34a8e4274 live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for virtualbox only. 2016-02-22 19:42:17 -05:00
Ben Howard
f3d90d962f live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for
Virtualbox only.
2016-02-22 15:57:38 -07:00
Dimitri John Ledkov
ebe1294860 releasing package livecd-rootfs version 2.380 2016-02-22 19:17:19 +00:00
Dimitri John Ledkov
d570ecdcb8 Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
is used outside of the livecd-rootfs build process (specifically for EC2
publication).
2016-02-22 19:17:11 +00:00
Dimitri John Ledkov
ae9c81beef live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for
Vagrant images (LP: #1546108).
2016-02-22 19:15:54 +00:00
Ben Howard
eff40b8e5d live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for
Vagrant images (LP: #1546108).
2016-02-22 07:30:03 -07:00
Daniel Watkins
6f6fb2834b Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which
is used outside of the livecd-rootfs build process (specifically for EC2
publication).
2016-02-22 11:31:01 +00:00
Oliver Grawert
02b79f5ef2 releasing package livecd-rootfs version 2.379 2016-02-18 14:44:01 +01:00
Oliver Grawert
4bf82391aa add /var/lib/systemd/rfkill to pre-created snappy dirs 2016-02-18 14:43:46 +01:00
Adam Conrad
cbbb38a364 Add net.ifnames=0 to the raspi2 cmdline injected into raspi2 builds. 2016-02-17 17:48:55 -07:00
Adam Conrad
8b77178bc5 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
2016-02-14 15:34:21 -07:00
Steve Langasek
bdeb815955 releasing package livecd-rootfs version 2.376 2016-02-12 13:18:07 -08:00
Steve Langasek
1d428db1ab Switch to passing the raspi2 boot options entirely via cmdline.txt to match the latest flash-kernel change 2016-02-12 12:33:50 -08:00
Steve Langasek
a545002b7c Mark boot partitions as type vfat 2016-02-12 09:49:17 -08:00
Steve Langasek
b1099d2a64 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.
2016-02-11 23:56:10 -08:00
Steve Langasek
65f74a021d Drop gratuitous call to dpkg 2016-02-11 21:19:09 -08:00
Steve Langasek
a92bf11406 Initial support for raspi2 subarch. 2016-02-10 23:51:54 -08:00
Steve Langasek
246d45c839 And one more 2016-02-10 09:30:48 -08:00
Steve Langasek
c62743e5f4 ...but if we're going to avoid using umount_partition, we need to actually unmount all the mountpoints mounted by setup_mountpoint 2016-02-10 09:29:55 -08:00
Steve Langasek
93314b5882 and the parent directory isn't a mountpoint, so roll back a change that also causes the script to fail. This still warrants refactoring, but let's refactor it in a way that actually works. 2016-02-10 08:26:36 -08:00
Steve Langasek
c53b727a79 But don't try to use the function without declaring the function... 2016-02-10 07:51:55 -08:00
Steve Langasek
7339cb09b3 Remove some code duplication 2016-02-09 14:29:22 -08:00
Steve Langasek
0b279f731b 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.
2016-02-09 12:22:13 -08:00
Dimitri John Ledkov
375554f157 * Chroot to execute zipl, because it's nice.
* Use the right loop device to install zipl onto.
2016-02-09 06:24:13 +00:00
Dimitri John Ledkov
8f825a91c9 * Correct initrd.img symlink, kernel/hooks should actually produce the
right thing here, but meh.
* Chroot to execute zipl, fails to boot otherwise.
2016-02-09 03:25:34 +00:00
Steve Langasek
6bd644f252 Revert change that adds a *sixth* argument to create_empty_partition; this can't possibly be the cause of whatever problem was being seen 2016-02-08 17:01:04 -08:00
Scott Moser
0f12265055 ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix
(LP: 1543204).

This allows kernel + initramfs + cloud-initramfs-copymods to use the lxd
image.  Without /lib/modules present the cloud-initramfs-copymods
initramfs module will not be able to populate /lib/modules/<uname -r>.
2016-02-08 13:49:09 -05:00
Ben Howard
28c10e02db ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix
(LP: 1543204).
2016-02-08 10:23:14 -07:00
Dimitri John Ledkov
21b502d78c Do not remove linux-base, when purging all the linux-*, in the tarball
build. Otherwise ubuntu-minimal is removed, and things get crazy.
2016-02-08 16:07:17 +00:00
Dimitri John Ledkov
450e645f29 Merge lp:~utlemming/livecd-rootfs/v376 2016-02-08 13:27:40 +00:00
Ben Howard
ba1b657624 ubuntu-cpc: fix hooks/032-disk-image.binary call to
create_empty_partition, which requires five args due to "-u"
2016-02-07 17:02:25 -07:00
Steve Langasek
90fc765551 set -u damage 2016-02-06 23:31:54 -08:00
Steve Langasek
e51a8f8aef Make sure we still mount the kernel filesystems in the disk setup
We skip the previous unmount/remount behavior because that makes things
unwieldly when there are multiple partitions; but we still have setup to do,
so that /dev is available for grub, etc.
2016-02-06 21:26:04 -08:00
Steve Langasek
eb9b43defe Don't forget to mark our root partition bootable 2016-02-06 21:15:15 -08:00
Steve Langasek
e9d31ea96a Fix some thinkos in the loop device name handling 2016-02-06 18:21:49 -08:00
Steve Langasek
4594c28c1f More set -u damage 2016-02-06 02:42:10 -08:00
Steve Langasek
83d2176957 chroot hooks are special, they don't get the environment because it gets scrubbed by rootcmd; so we have to call dpkg --print-architecture after all 2016-02-06 02:38:21 -08:00
Steve Langasek
b9f96f5682 set -u is a hateful thing 2016-02-06 02:05:14 -08:00
Steve Langasek
0be484d35e Add support for actually mounting the boot partition and copying contents to it 2016-02-06 01:28:35 -08:00
Steve Langasek
24b9feb58a further refactoring of partition handling 2016-02-06 01:08:26 -08:00
Steve Langasek
6fce3b879d -> in a few overlooked places 2016-02-06 00:37:20 -08:00
Steve Langasek
99cdaafd61 Refactor ubuntu-cpc hooks to allow us to handle images where the root
partition should not be partition 1.
2016-02-06 00:34:16 -08:00
Steve Langasek
7ec8dd87ac 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.
2016-02-05 23:39:56 -08:00
Steve Langasek
cb58e88614 If a subarch is specified for a cloud image build, don't build rootfs
artifacts; these should come from the 'generic' build.
2016-02-05 11:08:26 -08:00
Steve Langasek
691a0ca08f 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.
2016-02-04 16:53:00 -08:00
Steve Langasek
861a95b69b Drop BuildLiveCD from the examples; we now use launchpad-buildd to drive
livefs builds, so BuildLiveCD is obsolete and misleading.
2016-02-04 13:16:01 -08:00
Łukasz 'sil2100' Zemczak
3ec1cf1402 Add a changelog entry for the previous change. 2016-02-04 17:33:10 +01:00
Łukasz 'sil2100' Zemczak
487a0a403c Change real name for phablet user to 'Ubuntu' 2016-02-04 17:30:16 +01:00
Martin Pitt
e452c4ffda releasing package livecd-rootfs version 2.375 2016-02-04 17:16:02 +01:00
Ben Howard
a5ee888d1b ubuntu-cpc: add missing net.ifnames=0 for ppc64el disk images. 2016-02-04 09:07:19 -07:00
Steve Langasek
d9bb02d077 clarify that this refactor also fixes a bug in armhf handling 2016-02-02 20:35:51 -08:00
Steve Langasek
8e20e4b169 Refactor some non-idiomatic architecture handling in
live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot
2016-02-02 20:33:52 -08:00
dann frazier
893ba9e96f Merge lp:~utlemming/livecd-rootfs/v374-ubuntu-cpc 2016-02-02 15:13:29 -07:00
Ben Howard
ca800e778b * ubuntu-cpc:
- fixed loop setup due to change of kpartx output
  - only use grub-install logic for Intel architectures
2016-02-02 13:10:06 -07:00
Steve Langasek
4f55631a9f Refactor/reorder ubuntu-cpc support for consistency with other flavors,
so that subarch overrides can be applied correctly.
2016-02-01 17:20:31 -08:00
Dimitri John Ledkov
9e06b90ead * ubuntu-cpc:
- exclude s390x from should_install_grub
2016-02-01 19:47:03 +01:00
Michael Terry
538192d3f4 Make a variable because Saviq likes variables 2016-02-01 11:03:20 -05:00
Michael Terry
39eb02ea86 Use Ubuntu as phablet user's real name 2016-02-01 10:57:32 -05:00
Michael Vogt
06ce71492b auto/build: copy kenrel chroot dpkg.list to assets dir 2016-01-28 20:41:18 +01:00
Michael Vogt
51a5cca323 * ubuntu-core:
- include the dpkg.list in the device tarball
  - store /usr/share/snappy/dpkg.list manifest on the OS tarball
2016-01-28 18:27:36 +01:00
Colin Watson
d7b02005c1 releasing package livecd-rootfs version 2.373 2016-01-28 11:51:56 +00:00
Colin Watson
2788c35524 merge lp:~daniel-thewatkins/livecd-rootfs/ppc64el 2016-01-28 11:51:12 +00:00
Daniel Watkins
414cbec4dc Specify a regex to run-parts so that cloud image extra scripts are found
and executed.
2016-01-28 10:07:33 +00:00
Daniel Watkins
e3d6d5dc9f Set timeout options so ppc64el cloud images don't display a grub boot
menu (matching the behaviour of other cloud images).
2016-01-28 09:34:52 +00:00
Colin Watson
b40f8fe89f releasing package livecd-rootfs version 2.372 2016-01-27 16:33:28 +00:00
Colin Watson
1ae983fd84 [r=cjwatson] Install grub in ppc64el cloud images so they are bootable (LP: #1538610) 2016-01-27 16:32:54 +00:00
Daniel Watkins
ece1f6ccab Install grub in ppc64el cloud images so they are bootable (LP: #1538610) 2016-01-27 15:49:05 +00:00
Colin Watson
f0e085d7bb releasing package livecd-rootfs version 2.371 2016-01-19 12:50:45 +00:00
Colin Watson
caf5e7160c merge lp:~utlemming/livecd-rootfs/lp1534764 2016-01-19 12:48:04 +00:00
Ben Howard
8ff658da8d Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
(LP: #1534764).
2016-01-18 19:58:50 -07:00
Ben Howard
fdd9a3e716 Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
(LP: #1534765).
2016-01-17 01:06:56 +01:00
Colin Watson
4f9f5a9aef releasing package livecd-rootfs version 2.370 2016-01-13 11:52:15 +00:00
Colin Watson
134ad4c1a6 [r=cjwatson] Produce OVA files for i386 cloud builds. 2016-01-13 11:51:31 +00:00
Daniel Watkins
cf2e1f3cdc Produce OVA files for i386 cloud builds 2016-01-13 11:46:19 +00:00
Colin Watson
aad0f75fe4 releasing package livecd-rootfs version 2.369 2016-01-13 10:30:44 +00:00
Colin Watson
7f57c80cd3 [r=cjwatson] Enable building of s390x cloud images. 2016-01-13 10:29:32 +00:00
Daniel Watkins
c6440fdfe5 Enable building of s390x cloud images. 2016-01-13 10:19:09 +00:00
Michael Vogt
9a3b3d6280 * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- remove libicu52 hook
2016-01-08 22:51:54 +01:00
Łukasz 'sil2100' Zemczak
0011e92391 Fix the invalid path for the error message in 00-uid-gid-fix.chroot_early for ubuntu-touch. 2015-12-14 10:15:51 +01:00
Łukasz 'sil2100' Zemczak
0f4b575efa releasing package livecd-rootfs version 2.368 2015-12-14 10:03:22 +01:00
Łukasz 'sil2100' Zemczak
05f661be29 Fix earlier mistake of changing the wrong hashes. 2015-12-14 10:02:56 +01:00
Łukasz 'sil2100' Zemczak
6d1b1d76f2 releasing package livecd-rootfs version 2.367 2015-12-14 09:58:41 +01:00
Łukasz 'sil2100' Zemczak
bcfda67527 Update the passwd/shadow db hashes on ubuntu-touch builds 2015-12-14 09:45:06 +01:00
Oliver Grawert
13470a5a06 releasing package livecd-rootfs version 2.366 2015-12-11 17:35:53 +01:00
Oliver Grawert
1124ea4776 also add the new apt user to /etc/passwd in snappy 2015-12-11 17:35:38 +01:00
Oliver Grawert
4f2ef345c4 releasing package livecd-rootfs version 2.365 2015-12-11 12:06:32 +01:00
Oliver Grawert
499779097f update /etc/shadow on snappy for new apt user 2015-12-11 12:06:03 +01:00
Michael Vogt
b7c088a407 releasing package livecd-rootfs version 2.364 2015-12-10 17:15:29 +01:00
Michael Vogt
9db67a4612 merged lp:~utlemming/livecd-rootfs/ubuntu-cpc 2015-12-10 17:15:05 +01:00
Ben Howard
5a84144a9b * 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
2015-12-10 09:11:14 -07:00
Oliver Grawert
c63cea5b18 releasing package livecd-rootfs version 2.363 2015-12-10 15:05:53 +01:00
Oliver Grawert
ef219ff9ee configure /etc/fw_env.config for all arm arches on snappy 2015-12-10 15:05:29 +01:00
Oliver Grawert
822952f00e releasing package livecd-rootfs version 2.362 2015-12-08 16:48:48 +01:00
Oliver Grawert
74633563d8 make sure u-boot-tools is installed on snappy arm64 2015-12-08 16:48:30 +01:00
Oliver Grawert
184c4e4fd0 releasing package livecd-rootfs version 2.361 2015-12-08 16:41:41 +01:00
Oliver Grawert
93f112e8e8 make sure the default group is still created when adding the default user to adm and sudo groups 2015-12-08 16:38:27 +01:00
Ben Howard
81b033a7cd Added updated changelog 2015-12-07 11:55:52 -07:00
Ben Howard
421269a732 ubuntu-cpc: clean up qcow2 image builds
- use convert_to_qcow2 to create the qcow2
- remove assumption of disk1.img existing
2015-12-07 11:47:18 -07:00
Ben Howard
c6077abaab ubuntu-cpc: create VMDK's for disk images if they exist. Remove
assumption that disk1.img will exist.
2015-12-07 11:45:58 -07:00
Ben Howard
5b08080057 ubuntu-cpc: only execute first level executables in the extra hooks
directory
2015-12-07 11:44:40 -07:00
Ben Howard
7853f8b318 ubuntu-cpc:
- added ability to create derivative images
- added function to convert images to qcow2
- cleaned up the loop clean up logic
- added function to umount and settle devices
2015-12-07 11:42:49 -07:00
Michael Vogt
f84a4d5230 releasing package livecd-rootfs version 2.360 2015-12-07 11:23:27 +01:00
Michael Vogt
c97c00d749 manually merge upload of 2.359 2015-12-07 11:20:57 +01:00
Michael Vogt
fb84e38cf2 * live-build/ubuntu-core/hooks/01-setup_user.chroot:
- add default ubuntu user to "adm" and "sudo" groups
2015-12-07 11:09:35 +01:00
Łukasz 'sil2100' Zemczak
3b7c4b69f4 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. 2015-11-24 12:25:37 +01:00
Chuck Short
b22f89a837 Fix typo in ubuntu-cpc preventing non-intel builds. 2015-11-17 11:53:51 -05:00
Ben Howard
2f1831ed07 Fix typo in ubuntu-cpc preventing non-intel builds. 2015-11-17 09:50:10 -07:00
Oliver Grawert
56bf9bae46 releasing package livecd-rootfs version 2.357 2015-11-16 15:52:54 +01:00
Oliver Grawert
6a39712da0 merge lp:~utlemming/livecd-rootfs/additional-cloud-targets to add Vagrant, OVA, VMDK and squashfs cloud image generation to livecd-rootfs 2015-11-16 15:52:35 +01:00
Oliver Grawert
a46a72addb releasing package livecd-rootfs version 2.356 2015-11-16 15:46:52 +01:00
Oliver Grawert
56149bf065 merge lp:~sil2100/livecd-rootfs/update_hashes to update the passwd db hashes on ubuntu-touch builds (LP: #1516526) 2015-11-16 15:46:13 +01:00
Łukasz 'sil2100' Zemczak
2a0b654138 Upgrade passwd, group and gshadow hashes for latest builds. 2015-11-16 14:29:11 +01:00
Ben Howard
dd371c4a69 * added additional CPC build targets:
- added manifest generation for squashfs and root.tar.gz
  - added VMDK generation
  - added OVA generation from VMDK's
  - added generic Vagrant image generation
2015-11-13 08:13:51 -07:00
Ben Howard
1855130ecc Pre-merge commit 2015-11-13 08:09:26 -07:00
Oliver Grawert
22bce35de4 releasing package livecd-rootfs version 2.355 2015-11-13 12:53:37 +01:00
Oliver Grawert
7ccc9cb706 fix input group on snappy 2015-11-13 12:53:12 +01:00
Oliver Grawert
84ad95e54b releasing package livecd-rootfs version 2.354 2015-11-13 10:54:34 +01:00
Oliver Grawert
dd4f845255 do not ship assets/dtbs/overlays in raspi2 tarball, it breaks ubuntu-device-flash 2015-11-13 10:54:03 +01:00
Ben Howard
48a08042ed Fix 2015-11-12 18:52:33 -07:00
Ben Howard
2b818e8475 Restrict Vagrant size 2015-11-12 17:56:02 -07:00
Ben Howard
4a752e14c0 Use standard tools for resize 2015-11-12 17:52:05 -07:00
Ben Howard
9a87b066cf Comment fixup 2015-11-12 17:33:47 -07:00
Ben Howard
e931fbeaa5 ubuntu-cpc: move vmdk creation code into common funtion to support Vagrant Box builds 2015-11-12 17:21:33 -07:00
Ben Howard
dc9da068dc ubuntu-cpc: extended hooks to build additional cloud image targets
including VMDKs, OVA, and Vagrant images.
2015-11-12 15:04:18 -07:00
Ben Howard
d301f2a532 ubuntu-cpc: add ability add arbitrary hooks for extending builds 2015-11-12 14:58:28 -07:00
Ben Howard
467619d1a1 ubuntu-cpc: generate Vagrant images 2015-11-12 14:51:48 -07:00
Ben Howard
e96df0c156 ubuntu-cpc: generate OVA images. 2015-11-12 14:50:00 -07:00
Ben Howard
92f63b3e6b ubuntu-cpc: added OVF templates for generating OVA and Vagrant Images 2015-11-12 14:49:25 -07:00
Ben Howard
b31233589e ubuntu-cpc: generate VMDK disks 2015-11-12 14:48:41 -07:00
Ben Howard
bc5dbaaca5 ubuntu-cpc: generate squashfs based on the rootfs tarball 2015-11-12 14:48:01 -07:00
Ben Howard
e4553137ac ubuntu-cpc: generate manifest for root tarball 2015-11-12 14:46:00 -07:00
Ben Howard
a40cfd6180 ubuntu-cpc: Move apt-get to the top of uefi disk creation 2015-11-12 14:45:07 -07:00
Oliver Grawert
63f28ec693 releasing package livecd-rootfs version 2.353 2015-11-10 12:31:11 +01:00
Oliver Grawert
5bc78bede3 add raspi2 device tarball creation. separate snappy device tarball builds completely from the rootfs. drop old way of in-tree device tarball creation for snappy 2015-11-10 12:30:27 +01:00
Oliver Grawert
b632fd0492 drop input group from snappy images, adjust md5 sums in live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early 2015-11-09 12:54:30 +01:00
Colin Watson
50c93c6b70 releasing package livecd-rootfs version 2.352 2015-11-06 09:59:41 +00:00
Colin Watson
be558a8145 Add bug reference. 2015-11-06 09:55:30 +00:00
Daniel Watkins
216762748b Move building of all architecture-specific CPC artifacts in to
Launchpad.
2015-11-06 09:54:59 +00:00
Michael Vogt
49f1896c8d live-build/auto/config: add note about seeding 2015-11-05 11:49:19 +01:00
Michael Vogt
46d1138e5a * 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
2015-11-04 08:46:50 +01:00
Colin Watson
82be50d338 releasing package livecd-rootfs version 2.350 2015-10-29 14:28:24 +00:00
Colin Watson
8a908ac0e6 [r=cjwatson] Cloud Images: disable new NIC naming convention (LP: #1510345). 2015-10-29 14:23:56 +00:00
Ben Howard
60a523d216 Cloud Images: disable new NIC naming convention (LP: #1510345). 2015-10-29 07:52:33 -06:00
Oliver Grawert
81edee0431 fix handling of writable files in /etc/default for snappy 2015-10-29 13:02:16 +01:00
Oliver Grawert
952fa460d4 fix tss UID in snappy (landing can wait for xenial) 2015-10-22 11:36:49 +02:00
Oliver Grawert
7176c5ecd1 releasing package livecd-rootfs version 2.349 2015-10-09 17:49:38 +02:00
Oliver Grawert
912e02dc1e do not hardcode installation of grub-pc for amd64 in snappy images, instead install the right grub set for secureboot there 2015-10-09 17:49:04 +02:00
Oliver Grawert
870889143e releasing package livecd-rootfs version 2.348 2015-10-09 12:54:13 +02:00
Oliver Grawert
0054a24f90 limit grub-install diversion on snappy images to x86 architectures 2015-10-09 12:54:00 +02:00
Oliver Grawert
61c237fd77 releasing package livecd-rootfs version 2.347 2015-10-09 12:45:45 +02:00
Oliver Grawert
cc7950e55c divert grub-install on snappy images during rootfs build 2015-10-09 12:45:28 +02:00
Łukasz 'sil2100' Zemczak
0bceb09c4b The apt lists removal hook needs to be for the binaries. 2015-10-01 16:25:05 +02:00
Oliver Grawert
8e507f5c7b releasing package livecd-rootfs version 2.346 2015-09-30 15:25:00 +02:00
Oliver Grawert
1c00dc358f merge lp:~sil2100/livecd-rootfs/remove_apt_lists 2015-09-30 15:24:33 +02:00
Oliver Grawert
d043927d1b releasing package livecd-rootfs version 2.345 2015-09-30 11:25:11 +02:00
Oliver Grawert
8d737ad1c9 add user/group fixes for snappy shipping tpm-tools 2015-09-30 11:24:48 +02:00
Łukasz 'sil2100' Zemczak
47d0469af5 Add hook that removes all apt lists for ubuntu-touch images. Our apport now works without them on the read-only images and this way we can save up some space. 2015-09-22 10:20:26 +02:00
Michael Vogt
fe696a8bb9 merged lp:~sil2100/livecd-rootfs/pocket-desktop 2015-09-21 16:20:57 +02:00
Łukasz 'sil2100' Zemczak
a559b98c8b Install the meta package as part of one add_package install call. 2015-09-21 16:01:01 +02:00
Łukasz 'sil2100' Zemczak
57f0507518 As suggested by Colin, first add the meta packages, then the other deps. 2015-09-21 15:57:55 +02:00
Adam Conrad
f311149b6c Drop 'landscape-client' from Cloud Images (LP: #1497030). 2015-09-18 11:23:06 -06:00
Łukasz 'sil2100' Zemczak
e0fcd94074 Switch to the project approach, add a symlink for the hooks 2015-09-18 17:38:46 +02:00
Łukasz 'sil2100' Zemczak
5907a20a56 Fix indent 2015-09-18 16:54:05 +02:00
Ben Howard
a382f7e64a Drop 'landscape-client' from Cloud Images (LP: #1497030). 2015-09-17 16:17:52 -06:00
Łukasz 'sil2100' Zemczak
e4744f68ce Ok, again try convincing people that using a subproject here is the way to go... 2015-09-17 11:42:51 +02:00
Iain Lane
19b8c8a934 releasing package livecd-rootfs version 2.343 2015-09-10 12:22:59 +01:00
Iain Lane
5f8d6e06de live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie
too. (LP: #1437633)
2015-09-10 12:22:27 +01:00
Oliver Grawert
6813f1c965 add empty "extrausers" equivalents for subuid and subgid files, else adduser falls over in interactive mode when trying to write to them 2015-09-09 13:30:45 +02:00
Oliver Grawert
b32f8c976d releasing package livecd-rootfs version 2.342 2015-09-09 13:21:58 +02:00
Oliver Grawert
5d6faa5c6f ubuntu-touch, ubuntu-desktop-next: drop systemd-journal-remote from group files, update md5sums in 00-uid-gid-fix.chroot_early 2015-09-09 13:21:32 +02:00
Oliver Grawert
86b075623d releasing package livecd-rootfs version 2.341 2015-09-07 18:36:54 +02:00
Oliver Grawert
0601725f85 add ppp and watchdog to snappy image 2015-09-07 18:36:37 +02:00
Oliver Grawert
20ccbbb944 releasing package livecd-rootfs version 2.340 2015-09-03 14:25:57 +02:00
Michael Vogt
c2407a6679 * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- cleanup further after moving the kernel out of the rootfs
    (LP: #1468469)
2015-08-26 13:12:20 +02:00
Oliver Grawert
ecb61130ae releasing package livecd-rootfs version 2.339 2015-08-12 12:20:03 +02:00
Oliver Grawert
5e6b64e039 drop copying of zip files of the android package, we do not generate these anymore 2015-08-12 12:19:01 +02:00
Oliver Grawert
93deed0c3a revert the debugging code in the apparmor cache generation, touch the cache files to sanitize the timestamps 2015-08-12 12:16:58 +02:00
Oliver Grawert
bc53334a19 releasing package livecd-rootfs version 2.338 2015-08-11 18:21:44 +02:00
Oliver Grawert
ec1b6f24ae add the apparmor-super-noise change to get extra detailed info about all apparmor operations in the ubuntu-touch build logs 2015-08-11 18:21:29 +02:00
Oliver Grawert
48faa53d7b merge lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas to include deb-src lines for extra ppa sources.list entries 2015-08-11 11:51:00 +02:00
Oliver Grawert
6aa01e5fcd releasing package livecd-rootfs version 2.336 2015-08-11 11:30:17 +02:00
Oliver Grawert
3f8e2ee18e make apparmor profile generation more verbose to get more log info 2015-08-11 11:29:59 +02:00
Oliver Grawert
84e0e78363 releasing package livecd-rootfs version 2.335 2015-08-11 11:27:57 +02:00
Oliver Grawert
751153543a merge change for 2.335 from the archive 2015-08-11 11:27:42 +02:00
Oliver Grawert
a2f671f88b releasing package livecd-rootfs version 2.334 2015-07-28 10:49:38 +02:00
Oliver Grawert
23341f3670 add dnsmasq user to snappy builds, needed by ubuntu-fan 2015-07-28 10:49:20 +02:00
Michael Vogt
0ea1208716 * 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
2015-07-17 17:47:13 +02:00
Michael Vogt
133addd590 live-build/ubuntu-core/hooks/16-ensure-uboot.chroot: we need to go into redundEnv mode to get the 5byte header that uboot uses by default, don't ask why 2015-07-16 15:58:16 +02:00
Michael Vogt
4d2b68630d its /etc/fw_env.config 2015-07-16 15:22:20 +02:00
Michael Vogt
b3b321ea92 create fw_env.conf on armhf so that fw_{set,print}env works 2015-07-16 12:33:47 +02:00
Sebastien Bacher
2e3b86a3d0 releasing package livecd-rootfs version 2.332 2015-07-09 18:20:28 +02:00
Sebastien Bacher
50e0f20c69 Get previous ubuntu-core changes on desktop-next 2015-07-09 18:19:27 +02:00
Oliver Grawert
c4892d973a releasing package livecd-rootfs version 2.331 2015-07-09 16:43:17 +02:00
Oliver Grawert
0d7da3cc2c merge lp:~sergiusens/livecd-rootfs/eth0Not to not hardcode eth0 anymore on snappy 2015-07-09 16:42:52 +02:00
Oliver Grawert
0ea7c450ba releasing package livecd-rootfs version 2.330 2015-07-09 12:13:10 +02:00
Oliver Grawert
572da9cdec fix another quoting issue in snappy 2015-07-09 12:12:48 +02:00
Steve Langasek
34cf1d6d79 releasing package livecd-rootfs version 2.329 2015-07-08 15:08:19 -07:00
Steve Langasek
cf35d19929 Merge lp:~sil2100/livecd-rootfs/remove_youtube_scope 2015-07-08 15:08:09 -07:00
Oliver Grawert
39ed6e531d releasing package livecd-rootfs version 2.328 2015-07-08 22:52:04 +02:00
Oliver Grawert
0805723ed1 fix quoting issue with the last change 2015-07-08 22:51:49 +02:00
Oliver Grawert
c4a9547397 releasing package livecd-rootfs version 2.327 2015-07-08 17:48:29 +02:00
Oliver Grawert
57ee86a03c merge lp:~sergiusens/livecd-rootfs/snappyDevicePart for using versioned kernel and initrd binaries in snappy 2015-07-08 17:47:57 +02:00
Sergio Schvezov
fac57fb6c6 Using versioned kernel and initrd for generating assets and removing uneeded files from the device part 2015-07-08 11:45:39 -03:00
Oliver Grawert
125842ed07 releasing package livecd-rootfs version 2.326 2015-07-07 11:51:54 +02:00
Oliver Grawert
68b8470200 snappy: install libc6:i386 on amd64 images for multiarch support out of the box. (LP: #1444049) 2015-07-07 11:51:03 +02:00
Sergio Schvezov
3b4f42857b Removing creation of eth0 file now that it is not deterministic to be the ethernet device on the system 2015-07-03 16:34:42 -03:00
Sebastien Bacher
b93c6f4cc7 releasing package livecd-rootfs version 2.325 2015-07-03 11:38:49 +02:00
Sebastien Bacher
5e3ce6bece * 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
2015-07-03 11:35:43 +02:00
Sebastien Bacher
1b1cdf36c9 releasing package livecd-rootfs version 2.324 2015-07-02 16:04:22 +02:00
Sebastien Bacher
b09e00ce86 Revert unwanted change included in the previous upload 2015-07-02 16:03:52 +02:00
Sebastien Bacher
ad36ca58b1 releasing package livecd-rootfs version 2.323 2015-07-02 15:53:48 +02:00
Sebastien Bacher
ec055144e7 * live-build/ubuntu-desktop-next/hooks/11-remove-extra-packages.chroot:
- remove click from desktop-next
2015-07-02 15:53:33 +02:00
Sebastien Bacher
59c0211354 releasing package livecd-rootfs version 2.322 2015-07-01 10:09:49 +02:00
Sebastien Bacher
92a84da7df * live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
- updated for the previous group changes
2015-07-01 10:09:36 +02:00
Sebastien Bacher
6ccf2b5207 releasing package livecd-rootfs version 2.320 2015-06-30 18:09:13 +02:00
Sebastien Bacher
4e72259593 Copied some touch tweaks (n-m config and user groups) to desktop-next 2015-06-30 18:09:00 +02:00
Łukasz 'sil2100' Zemczak
cb31811ce8 Split out the youtube scope to the custom tarball since some images can't have it pre-installed (e.g. arale China images). 2015-06-30 14:44:48 +02:00
Michael Vogt
fbc42db76a * snappy/desktop-next:
- add snappypkg user and remove clickpkg user
2015-06-30 14:10:24 +02:00
Michael Vogt
bec5e3ea81 rename clickpkg -> snappypkg 2015-06-26 14:01:02 +01:00
Sebastien Bacher
99fa060217 releasing package livecd-rootfs version 2.319 2015-06-26 10:43:12 +02:00
Sergio Schvezov
6c641f01d2 [ Sergio Schvezov ]
removing debian packaging artifacts from the image
2015-06-26 10:43:00 +02:00
Sebastien Bacher
6170d6a92b copy set locale hook from core to desktop-next 2015-06-26 10:40:50 +02:00
Oliver Grawert
85f5f73a19 releasing package livecd-rootfs version 2.318 2015-06-25 14:03:37 +02:00
Oliver Grawert
8671743105 merge lp:~sergiusens/livecd-rootfs/no-walinuxagent to remove all the hackery that was initially needed for azure snappy images 2015-06-25 14:03:07 +02:00
Sergio Schvezov
9e312edd32 why did desktop next ever build for azure? 2015-06-25 08:37:46 -03:00
Sergio Schvezov
c3b8dc32b1 Remove walinuxagent 2015-06-25 08:36:42 -03:00
Sergio Schvezov
53dcbdad2b Removing debian assets from the final image 2015-06-23 16:31:41 -03:00
Sebastien Bacher
59a6218557 releasing package livecd-rootfs version 2.317 2015-06-19 10:52:23 +02:00
Sebastien Bacher
95a961d6f1 * live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early:
* live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary:
  - don't remove the copyright and manpages on desktop
2015-06-19 10:50:39 +02:00
Oliver Grawert
2667aa6305 allow install of "multi" click packages in 60-install-click.chroot on ubuntu-touch 2015-06-19 10:43:49 +02:00
Sebastien Bacher
5fa4811051 * live-build/ubuntu-core/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
2015-06-19 10:40:02 +02:00
Sebastien Bacher
eb41638781 * live-build/ubuntu-desktop-next/includes.chroot:
- copy ubuntu-core's include for /etc/hosts and resolv.conf config
2015-06-19 10:30:21 +02:00
Sebastien Bacher
e5923e7135 * live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
- create other needed directories
2015-06-17 20:25:19 +02:00
Sebastien Bacher
6970aa7385 releasing package livecd-rootfs version 2.316 2015-06-17 17:11:27 +02:00
Sebastien Bacher
f34c4faf70 * live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot:
- create /writable otherwise the mounts job fail and block the boot
2015-06-17 17:11:06 +02:00
Sebastien Bacher
06077f4762 releasing package livecd-rootfs version 2.315 2015-06-11 17:53:05 +02:00
Sebastien Bacher
1116e3b439 * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary,
live-build/ubuntu-desktop-next/hooks/500-move-kernel-to-device-tar.binary,:
  - deal with vmlinuz .signed when copying kernels
2015-06-11 17:52:29 +02:00
Sebastien Bacher
8b47d0c376 releasing package livecd-rootfs version 2.314 2015-06-10 15:10:16 +02:00
Sebastien Bacher
26fcda4616 Set kernel flavours variable to try to fix amd64 build 2015-06-10 15:09:50 +02:00
Iain Lane
47e70d6e9f Add changelog entry for previous change 2015-06-10 13:34:23 +01:00
Iain Lane
e51446f712 remove trailing tab 2015-06-10 13:33:46 +01:00
Iain Lane
6b7611c6e3 ubuntu-core-system-image: fix indentation 2015-06-10 13:32:43 +01:00
Sebastien Bacher
8d0d3b9859 releasing package livecd-rootfs version 2.313 2015-06-10 11:26:11 +02:00
Sebastien Bacher
c50bcc7160 Revert symlink changes, that creates build issues, copy updated hook
to the desktop-next directory instead
2015-06-10 11:25:53 +02:00
Sebastien Bacher
5119274027 releasing package livecd-rootfs version 2.312 2015-06-09 17:56:30 +02:00
Sebastien Bacher
1f3dfce9e9 Symlink some desktop-next hooks to ubuntu-core to avoid duplication 2015-06-09 17:56:13 +02:00
Michael Vogt
7245efa89f * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- ignore /vmlinu?, /initrd.img symlinks when building the boot assets
2015-06-09 11:19:31 +02:00
Sebastien Bacher
01ae2ce538 releasing package livecd-rootfs version 2.311 2015-06-08 15:32:21 +02:00
Sebastien Bacher
904873a8bf Updates users and groups for desktop next 2015-06-08 15:32:08 +02:00
Sebastien Bacher
362c1f4bd4 releasing package livecd-rootfs version 2.310 2015-06-08 09:49:27 +02:00
Sebastien Bacher
26012cb9ef Don't add a docker group to desktop next 2015-06-08 09:49:16 +02:00
Sebastien Bacher
c62e895610 releasing package livecd-rootfs version 2.309 2015-06-05 18:31:59 +02:00
Sebastien Bacher
408af9a405 Updated user/groups config for the desktop-next 2015-06-05 18:31:46 +02:00
Sebastien Bacher
03a270ec3e releasing package livecd-rootfs version 2.308 2015-06-05 15:06:13 +02:00
Sebastien Bacher
036bf55f06 Copy desktop-next hooks in the configuration 2015-06-05 15:05:55 +02:00
Sebastien Bacher
f754699a4c releasing package livecd-rootfs version 2.307 2015-06-05 10:56:42 +02:00
Sebastien Bacher
f127f1ac73 Remove duplicated code leftover in the previous desktop-next changeset 2015-06-05 10:39:46 +02:00
Michael Vogt
89dddd357a revert r1120,r1121 and do not pre-generate the apparmor cache during live-build 2015-06-04 22:55:30 +02:00
Michael Vogt
293cd5e802 live-build/ubuntu-core/hooks/90_precompile-apparmor.chroot: remove apparmor_parser '-M' option 2015-06-01 16:50:01 +02:00
Michael Vogt
605fec8877 * live-build/ubuntu-core/hooks/90_pecompile-apparmor.chroot:
- generate /etc/apparmod.d/cache files during image build to
    avoid out-of-sync issue with profiles and cache (LP: #1460152)
2015-06-01 12:54:27 +02:00
Didier Roche
b79dcfc1b7 Experimenting transforming ubuntu-desktop-next to a system-image base 2015-05-29 11:52:03 +02:00
Oliver Grawert
8ae95a5e64 releasing package livecd-rootfs version 2.305 2015-05-28 13:19:53 +02:00
Oliver Grawert
6a4ad0b3bc also add /lib/firmware to the dirs we pre-create on touch and core 2015-05-28 13:19:38 +02:00
Oliver Grawert
a9df4ca4d6 releasing package livecd-rootfs version 2.304 2015-05-28 12:26:52 +02:00
Oliver Grawert
f8ad795e55 create mtab, /lib/modules and writable mountpoints on touch and core 2015-05-28 12:26:30 +02:00
Oliver Grawert
6a1ae64d8c releasing package livecd-rootfs version 2.303 2015-05-26 14:23:29 +02:00
Oliver Grawert
7bb4d3ae8a drop grouper from touch 2015-05-26 14:22:55 +02:00
Adam Conrad
4d877550bd Call Setup_cleanup in live-build/auto/build to set exit handler. 2015-05-25 23:10:43 -06:00
Adam Conrad
e5bd31c36f Release 2.301 to wily 2015-05-06 18:27:39 -06:00
Adam Conrad
6835c86edc Conditionalize copying extra-ppas.pref.chroot around 2015-04-30 08:00:17 -06:00
Michael Vogt
6eddccab54 * live-build/auto/config:
- add grub-efi-ia32-bin for i386 for efi support
2015-04-30 11:05:35 +02:00
Adam Conrad
e79e2e6493 live-build/auto/config: Handle applying priorities to EXTRA_PPAS
via the extra_ppa="user/ppaname:priority" syntax (LP: #1450257)
2015-04-29 18:29:40 -06:00
Michael Vogt
c10fd7dd72 * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
- fix typo in hardware.yaml
2015-04-29 14:43:44 +02:00
Michael Vogt
e0b6feda6c 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)
2015-04-28 16:39:53 +02:00
Steve Langasek
b471d3a2e0 releasing package livecd-rootfs version 2.300 2015-04-22 16:03:51 -07:00
Steve Langasek
72b1fda00f 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.
2015-04-22 16:03:37 -07:00
Didier Roche
db631a4d2f fix some typo and take colin's feedback into account 2015-04-22 14:13:37 +01:00
Didier Roche
7af419aa63 update changelog 2015-04-22 11:38:46 +01:00
Didier Roche
c59f8ebacd removed the part that is in the seed and ubiquity 2015-04-22 11:37:43 +01:00
Didier Roche
8a2102ae98 update changelog 2015-04-22 10:58:28 +01:00
Didier Roche
b35e94e457 add build main configs 2015-04-22 10:57:51 +01:00
Didier Roche
5c619086a1 Create hooks for the ubuntu-desktop-next new based on snappy image. 2015-04-22 09:34:26 +01:00
Adam Conrad
34e34e46c5 Fix snappy motd to not reference 'development', which isn't always true. 2015-04-17 13:29:50 -06:00
Michael Vogt
42c9f9a1c3 releasing package livecd-rootfs version 2.298 2015-04-16 09:38:10 -05:00
Michael Vogt
91e0450507 shuffle install order around 2015-04-15 17:02:57 -05:00
Michael Vogt
5e5abfdb83 * live-build/auto/config:
- remove resolvconf, click-apparmor, dosfstools
2015-04-15 14:05:22 -05:00
Michael Vogt
65cf994497 live-build/ubuntu-core/hooks/15-remove-grub-common.chroot: remove /etc/init.d/grub-common on ubuntu-core 2015-04-14 16:33:06 -05:00
Michael Vogt
8c51ae1b4d remove click-hook-framework 2015-04-14 16:19:31 -05:00
Michael Vogt
74eb59e407 releasing package livecd-rootfs version 2.297 2015-04-13 15:46:53 +02:00
Michael Vogt
1167706f83 * lp:~ubuntu-on-ec2/livecd-rootfs/cpc2:
- build cloud based images using livecd-rootfs
2015-04-09 13:20:55 +02:00
Michael Vogt
df931c05f7 fix device.tar.gz generation for snappy 2015-04-08 19:35:42 +02:00
Daniel Watkins
e35f15106f Don't try to install acpiphp any more (LP: #1430323). 2015-04-08 09:34:15 +01:00
Daniel Watkins
164c195a3a Set ext image options. 2015-04-08 09:34:15 +01:00
Daniel Watkins
e9b8a62a5a Get the right package sets for arm* and ppc64el. 2015-04-08 09:34:15 +01:00
Daniel Watkins
ef9f3be0de Install the correct kernels on each arch. 2015-04-08 09:34:15 +01:00
Daniel Watkins
9daf532fd4 Put our fstab in place. 2015-04-08 09:34:15 +01:00
Daniel Watkins
bdc58d490c Set the root_fs_label correctly. 2015-04-08 09:34:15 +01:00
Daniel Watkins
e87232b513 Ensure we ship results of apt-get update. 2015-04-08 09:34:15 +01:00
Daniel Watkins
1f50356409 Put correct apt sources in place. 2015-04-08 09:34:15 +01:00
Daniel Watkins
928a79af1e Add hooks and includes. 2015-04-08 09:34:15 +01:00
Daniel Watkins
941d2b3ae1 Add our own hook. 2015-04-08 09:34:15 +01:00
Daniel Watkins
d4598f8326 Get images building without our custom live-build. 2015-04-08 09:34:15 +01:00
Daniel Watkins
e5651db1a7 Get an image that looks about right building. 2015-04-08 09:34:15 +01:00
Michael Vogt
fb5ea7ee78 releasing package livecd-rootfs version 2.296 2015-03-30 20:40:41 +02:00
Michael Vogt
e23920c83c update changelog 2015-03-27 20:23:16 +01:00
Michael Vogt
9b056c874a live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: update for the new syslog user 2015-03-27 20:21:44 +01:00
Michael Vogt
78304debb8 live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot: removed, no longer needed with snappy-go 2015-03-27 19:28:14 +01:00
Michael Vogt
c82069baf6 add compability handling for current u-d-f/grub when extracting
the device tarball
2015-03-26 15:43:09 +01:00
Michael Vogt
2b070c5a9e merged lp:~snappy-dev/livecd-rootfs/core_update and added some fixes 2015-03-25 19:39:28 +01:00
Oliver Grawert
e3d6ec58a5 releasing package livecd-rootfs version 2.295 2015-03-25 10:28:15 +01:00
Oliver Grawert
c96f3ee088 add ubuntu-system-settings-online-accounts to ubuntu-touch 2015-03-25 10:27:51 +01:00
Oliver Grawert
67e7707dbc releasing package livecd-rootfs version 2.294 2015-03-13 11:13:42 +01:00
Oliver Grawert
fb4a832699 add more verbosity to the copy command for android fragments in ubuntu-touch 2015-03-13 11:13:11 +01:00
Oliver Grawert
f4fb5aeefd releasing package livecd-rootfs version 2.293 2015-03-10 16:22:56 +01:00
Oliver Grawert
a43bfeffcf remove all .override files inside the chroot to not kill the buildd 2015-03-10 16:22:24 +01:00
Michael Vogt
4e89d09ba2 * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- remove libpython2.7 and friends as welll
2015-03-10 12:23:08 +01:00
Oliver Grawert
4765a8c07f releasing package livecd-rootfs version 2.292 2015-03-10 12:08:14 +01:00
Oliver Grawert
2445352cbd bump all md5sums to new values, now that debootstrap installs systemd-sysv instead of upstart the ordering and thus the group numbering has changed 2015-03-10 12:07:38 +01:00
Michael Vogt
d2e794ed53 * 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
2015-03-10 11:47:36 +01:00
Michael Vogt
1583b1d23a * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
- python2 is no longer required on a snappy system
2015-03-10 11:31:09 +01:00
Oliver Grawert
ba01211d5e releasing package livecd-rootfs version 2.291 2015-03-06 21:18:05 +01:00
Oliver Grawert
a2b1b4f071 put FLASH_KERNEL_SKIP=true into /etc/environment on phones 2015-03-06 21:17:30 +01:00
Michael Vogt
685606051e do not leave some packages in ^rc state on snappy/ubuntu-core
(LP: #1428115). Thanks to Daniel Holbach
2015-03-04 16:25:29 +01:00
Martin Pitt
8f88fdeb57 releasing package livecd-rootfs version 2.290 2015-03-04 12:04:24 +01:00
Martin Pitt
8638bb4db9 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)
2015-03-04 12:04:21 +01:00
Oliver Grawert
ed881c3dfa releasing package livecd-rootfs version 2.289 2015-03-03 15:15:11 +01:00
Oliver Grawert
6d7d128ad7 add info about /var/log ownership so it ends up in the ubuntu-touch build logs 2015-03-03 15:14:02 +01:00
Ricardo Salveti de Araujo
59b47ad543 releasing package livecd-rootfs version 2.288 2015-03-01 01:30:09 -03:00
Ricardo Salveti de Araujo
74d4fd5228 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)
2015-03-01 01:29:18 -03:00
Michael Vogt
bb12ddb0e3 add dosfstools on snappy to ensure systemd can fsck the /boot
partition
2015-02-19 13:21:30 +01:00
Sergio Schvezov
d17765176b Initial implementation of device tarball 2015-02-18 22:29:31 -03:00
Oliver Grawert
0344fcfcba releasing package livecd-rootfs version 2.287 2015-02-18 15:07:19 +01:00
Oliver Grawert
d2f09a32d8 make sure /var/log is always owned by the syslog group on touch 2015-02-18 15:06:46 +01:00
Michael Vogt
94a77fcb8b * live-build/auto/config:
- add snappy-ubuntu
2015-02-16 14:30:21 +01:00
Michael Vogt
306dbdbbab * 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.
2015-02-12 13:33:33 +01:00
Michael Vogt
7c61ea6307 add even more verbose output to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
2015-02-12 11:33:28 +01:00
Ricardo Salveti de Araujo
029c51b4ae releasing package livecd-rootfs version 2.286 2015-02-12 03:07:01 -02:00
Ricardo Salveti de Araujo
e97e25472e 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)
2015-02-12 03:06:52 -02:00
Ricardo Salveti de Araujo
7c0a1f693d releasing package livecd-rootfs version 2.285 2015-02-12 02:53:37 -02:00
Ricardo Salveti de Araujo
a353cd0406 touch: removing dependencies on a specific mir platform driver as mir can
now identify and load the correct driver during runtime
2015-02-12 02:53:28 -02:00
Oliver Grawert
67e6057406 releasing package livecd-rootfs version 2.284 2015-02-11 21:08:58 +01:00
Oliver Grawert
74becdec36 bump gshadow hash too 2015-02-11 21:08:31 +01:00
Oliver Grawert
113603a6bf releasing package livecd-rootfs version 2.283 2015-02-11 21:06:27 +01:00
Oliver Grawert
ec8c53b265 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 2015-02-11 18:27:19 +01:00
Michael Vogt
f987c6f3d4 add more verbose output to
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early
(thanks Oliver!)
2015-02-11 17:44:08 +01:00
Oliver Grawert
724eb49c39 releasing package livecd-rootfs version 2.282 2015-02-11 16:48:20 +01:00
Oliver Grawert
aa06a4fde7 update the passwd hash for changed GID of syslog ... also add output of the respective md5sums to the error message for easier debugging 2015-02-11 16:47:51 +01:00
Oliver Grawert
6d43598b8d releasing package livecd-rootfs version 2.281 2015-02-11 15:12:23 +01:00
Oliver Grawert
f74887c91e add more verbose output to live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early 2015-02-11 15:11:28 +01:00
Loïc Minier
1b037f5e20 live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot: use commas
instead of spaces.
2015-02-04 18:03:30 +01:00
Loïc Minier
4a1ccc7b13 Revert changes to post-debootstrap hashes for core. 2015-02-04 16:32:35 +01:00
Loïc Minier
2597f578df Prepare 2.278 2015-02-04 14:29:01 +01:00
Loïc Minier
95e9f1d8e8 Update post-debootstrap hashes in
live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early.
2015-02-04 14:25:02 +01:00
Loïc Minier
29c976b326 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.
2015-02-04 14:24:19 +01:00
Loïc Minier
9bda91ee77 live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early: also add input
group.
2015-02-04 13:47:41 +01:00
Loïc Minier
ebb7684dd8 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.
2015-02-04 13:46:17 +01:00
Loïc Minier
57d1705940 Prepare 2.277 2015-02-04 13:33:04 +01:00
Loïc Minier
4b414c06a6 Reapply changes from 1033..1038; fix conflict in changelog.
* 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.
2015-02-04 13:32:24 +01:00
Loïc Minier
348f148df0 Apply changelog from uploaded 2.276. 2015-02-04 13:29:52 +01:00
Loïc Minier
5f8355200a Revert to r1033 to apply uncommitted upload. 2015-02-04 13:28:43 +01:00
Loïc Minier
e96d307720 Bump Standards-Version to 3.9.6. 2015-02-04 13:24:45 +01:00
Loïc Minier
b2ef67476a live-build/ubuntu-core/includes.chroot/etc/resolv.conf: use relative
symlink as suggested by lintian.
2015-02-04 13:21:30 +01:00
Loïc Minier
91cd753771 Release 2.276. 2015-02-04 13:17:13 +01:00
Loïc Minier
9256eed5b5 live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: add new "input"
group to etc/group and etc/gshadow static maps.
2015-02-04 13:15:30 +01:00
Loïc Minier
94a5c45de1 Remove quotes in <<'EOF' constructs to limit the diff with the -touch version
of the hook.
2015-02-04 13:12:04 +01:00
Mathieu Trudel-Lapierre
a0c319884d - live-build/auto/config: add config for Ubuntu MATE.
- also fold +ppa* changes into just one version 2.276.
2015-01-28 11:02:31 -05:00
Ubuntu MATE Developers
c58da8adfa Refactored based on merge proposal feedback. 2015-01-26 19:33:00 +00:00
Michael Vogt
4a31290a0f use generic kernel for all ubuntu-core system-image 2015-01-21 14:40:09 +01:00
Michael Vogt
f786a86cb2 * live-build/ubuntu-core/hooks/01-setup_user.chroot:
- run chpasswd after user moved into /var/lib/extrausers
2015-01-16 19:58:11 +01:00
Michael Vogt
e226eb6331 * live-build/ubuntu-core/hooks/01-setup_user.chroot:
- run with -e
2015-01-16 18:29:19 +01:00
Steve Langasek
6d34c7a9e9 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.
2015-01-14 22:53:01 -08:00
Michael Vogt
d1b1d9e6c1 * 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
2015-01-14 18:04:34 +01:00
Ricardo Salveti de Araujo
4fbd8cd88a releasing package livecd-rootfs version 2.275 2015-01-14 13:32:40 -02:00
Ricardo Salveti de Araujo
0ba451f9df Bump the hardcoded libmirplatform driver version for ubuntu-touch 2015-01-14 13:32:27 -02:00
Michael Vogt
b1c0d77000 * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- port static uid/gid setup from ubuntu-touch
2015-01-07 15:09:42 +01:00
Martin Wimpress
ec95236c23 Add support for Ubuntu MATE. 2014-12-11 14:46:23 +00:00
Michael Vogt
a06d608ff5 releasing package livecd-rootfs version 2.274 2014-12-10 12:58:21 +01:00
Michael Vogt
52f8a0544f - fix message
* live-build/ubuntu-core/hooks/14-set-motd.chroot:
  - update motd
2014-12-10 12:56:48 +01:00
Michael Vogt
6e90ef925e * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
- fix incorrect "echo"
  - add missing wrappers for apt, apt-cache
2014-12-08 08:44:11 +01:00
Michael Vogt
818be95bf2 * live-build/auto/config:
- add click-apparmor for system-image
2014-12-04 14:09:23 +01:00
Michael Vogt
194d124af7 merged lp:~jamesodhunt/livecd-rootfs/system-image-compress-docs-for-core 2014-12-02 14:59:08 +01:00
Michael Vogt
292ff17165 * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
- improve apt-get output
2014-12-02 14:57:54 +01:00
James Hunt
c6a5d4c8a5 * live-build/ubuntu-core/hooks/10-remove-documentation.binary:
- compress remaining documentation to save further space.
2014-12-02 13:54:14 +00:00
Oliver Grawert
e4a35525a8 releasing package livecd-rootfs version 2.273 2014-12-02 10:22:29 +01:00
Oliver Grawert
6b2958ff7a add systemd-journal-remote group to touch builds 2014-12-02 10:21:23 +01:00
Michael Vogt
648dc764a3 * 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
2014-11-28 21:36:07 +01:00
Oliver Grawert
f6a53fa61b releasing package livecd-rootfs version 2.271 2014-11-27 16:29:08 +01:00
Oliver Grawert
d6df152ead bump the hardcoded libmirplatform driver version for ubuntu-touch 2014-11-27 16:28:54 +01:00
Oliver Grawert
b4bc1cfa2a releasing package livecd-rootfs version 2.270 2014-11-27 12:38:32 +01:00
Oliver Grawert
f0ec33bb1b bump version of mir alternative in ubuntu-touch 2014-11-27 12:38:17 +01:00
Michael Vogt
10abacf960 releasing package livecd-rootfs version 2.269 2014-11-26 09:58:59 +01:00
Michael Vogt
fcfe7d613a * live-build/auto/{build,config}:
- create device-azure.tar.gz during the build that includes the
    packages for the azure cloud
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
  - display helpful message to use snappy when a user tries to use
    apt-get on a snappy system
* live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary:
  - do the device-azure.tar.gz extraction here
* live-build/ubuntu-core/hooks/12-add-docker-user.chroot:
  - ensure docker group is used
2014-11-24 08:38:21 +01:00
Michael Vogt
94ba2e57a4 releasing package livecd-rootfs version 2.268 2014-11-17 11:28:10 +01:00
Michael Vogt
d6b5acbee3 * live-build/ubuntu-core/hooks/09-move-kernel-to-device-tar.binary:
- build device tarball with system/ prefix
  - include /vmlinz, /initrd.img into device tarball
  - include /boot/abi-* /boot/System.map-*
2014-11-17 11:27:24 +01:00
Michael Vogt
fe0b8a029a releasing package livecd-rootfs version 2.267 2014-11-14 13:07:37 +01:00
Michael Vogt
de1a889d17 add click-hook-framework 2014-11-14 09:08:09 +01:00
Michael Vogt
a618ff72fe * live-build/auto/build:
- system-image: collect the deivce.tar.gz
* live-build/ubuntu-core/hooks/09-move-kernel-to-device-tar.binary:
  - create a device.tar.gz from the installed kernel/modules and
    remove it from the rootfs
* live-build/ubuntu-core/hooks/10-remove-documentation.binary:
  - strip documentation
* live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
  - remove extra packages like libicu52/libqt that are still on the 
    image because vivid system-image has a dependency on u-d-m which
    depends on libqt
* live-build/ubuntu-core/hooks/12-add-docker-user.chroot:
  - add a docker user/group into the image (this can go once we have
    a hook for this)
2014-11-14 08:47:39 +01:00
Michael Vogt
8af855c26d * live-build/auto/config:
- system-image: do not install ubuntu-minimal
  - system-image: install KERNEL_FLAVOURS=virtual on i386/amd64
  - system-image: use "--linux-packages=linux-image"
2014-11-14 08:26:23 +01:00
Steve Langasek
1bec61e622 Move the shorts click package to the custom tarball. LP: #1386177. 2014-11-12 23:17:16 -08:00
Michael Vogt
1a081c62eb releasing package livecd-rootfs version 2.265 2014-11-03 17:13:37 +01:00
Michael Vogt
6d1a165421 * live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot:
- only modify /etc/default/grub if the file exists
2014-11-03 17:13:08 +01:00
Michael Vogt
30ec04dc33 releasing package livecd-rootfs version 2.264 2014-11-03 11:46:19 +01:00
Michael Vogt
d142da3fbb * live-build/auto/config:
- also install flash-kernel/u-boot-tools in the armhf system-image,
    thanks to Adam Conrad
2014-11-03 11:46:14 +01:00
Michael Vogt
08a0e9bf0d releasing package livecd-rootfs version 2.263 2014-11-03 11:30:40 +01:00
Michael Vogt
d1aed3dd90 * live-build/auto/config:
- explicitly set KERNEL_FLAVOURS=generic to get the right kernel
    on armhf
2014-11-03 11:30:34 +01:00
Oliver Grawert
97a9a926f6 releasing package livecd-rootfs version 2.262 2014-10-29 19:56:13 +01:00
Oliver Grawert
3bf1ea2cb3 add systemd users to touch password db files 2014-10-29 19:55:45 +01:00
Oliver Grawert
9713c042b6 releasing package livecd-rootfs version 2.261 2014-10-29 16:46:24 +01:00
Oliver Grawert
5dc7bbd2ab make diff not exit 1 when comparing password files 2014-10-29 16:45:54 +01:00
Oliver Grawert
4578b6a4d0 releasing package livecd-rootfs version 2.260 2014-10-29 13:24:49 +01:00
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
6525a869c6 releasing package livecd-rootfs version 2.259 2014-10-29 13:03:13 +01:00
Michael Vogt
f04d8577ab * merge ubuntu-core system-image fixes from the PPA:
- add ubuntu-core-libs
  - add packages not (yet) in the ubuntu-core seed
  - fix resolv.conf
  - make timezone, localtime and hostname writable for cloud-init
2014-10-29 11:07:31 +01:00
Michael Vogt
1d9ee67e4e merge fixes from the ubuntu-system-image PPA 2014-10-29 11:04:17 +01:00
Oliver Grawert
a0dff8070d releasing package livecd-rootfs version 2.258 2014-10-29 09:55:26 +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
3c40a504ad releasing package livecd-rootfs version 2.257 2014-10-15 21:12:57 +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
e2e925c658 releasing package livecd-rootfs version 2.256 2014-10-15 17:13:06 +01:00
Colin Watson
ee2b82dfe7 Fix directory layout of custom tarball. 2014-10-15 17:12:19 +01:00
Colin Watson
19d97b1a80 releasing package livecd-rootfs version 2.255 2014-10-14 00:13:22 +01:00
Colin Watson
debaef297b merge lp:~ubuntu-core-dev/livecd-rootfs/split-custom-tarball 2014-10-14 00:12:01 +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
f581692297 releasing package livecd-rootfs version 2.254 2014-10-11 13:13:39 +02: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
a4870efde1 releasing package livecd-rootfs version 2.253 2014-10-11 08:55:56 +01: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
caaf3d447b releasing package livecd-rootfs version 2.251 2014-10-09 09:26:29 +02:00
Michael Vogt
806fa5030e [r=mvo] merge lp:~mvo/livecd-rootfs/system-image-include-hosts 2014-10-09 09:24:29 +02:00
Michael Vogt
2b98d836b5 releasing package livecd-rootfs version 2.250 2014-10-09 09:24:12 +02:00
Michael Vogt
505a9cfc7e add /etc/hosts 2014-10-08 13:31:09 +02:00
Michael Vogt
3b6ba57453 build system-image without recommends 2014-10-07 11:44:37 +02:00
Michael Vogt
5529dcea7a do not install recommends in system-image 2014-10-07 09:36:18 +02:00
Michael Vogt
6fbfa2924b releasing package livecd-rootfs version 2.249 2014-10-06 14:35:04 +02:00
Michael Vogt
8f00484d48 live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Remove
pre-existing /etc/resolv.conf.
2014-10-06 14:33:16 +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
ec09c1b31c releasing package livecd-rootfs version 2.248 2014-10-03 15:24:46 +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
14c5c47972 releasing version 2.247 2014-09-26 14:41:22 -04: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
372216dfa0 releasing package livecd-rootfs version 2.246 2014-09-24 11:00:39 +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
6cadf04b6c releasing package livecd-rootfs version 2.244 2014-09-23 16:08:11 +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
5cb6bfe50f releasing package livecd-rootfs version 2.243 2014-09-23 00:00:01 -03:00
Ricardo Salveti de Araujo
79e38ec819 Updating apparmor features file for Ubuntu Touch 2014-09-22 23:59:50 -03:00
Colin Watson
d1cbe1abfa releasing package livecd-rootfs version 2.242 2014-09-17 11:12:13 +01:00
Colin Watson
74c2f2f8a7 get-ppa-fingerprint: Adjust use of
softwareproperties.ppa.get_ppa_info_from_lp to match the new calling
convention in software-properties 0.93.
2014-09-17 11:11:35 +01:00
Colin Watson
c337082d1e releasing package livecd-rootfs version 2.241 2014-09-10 10:56:57 +01: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
dbd196b6e2 releasing version 2.239 2014-08-05 13:37:59 -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
ff6501470d releasing version 2.238 2014-08-05 11:32:47 -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
Stéphane Graber
294634fc74 Merge grub and fstab fixes from James 2014-08-05 11:30: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
609ee1a835 releasing package livecd-rootfs version 2.237 2014-08-05 13:29:47 +02: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
8d793aaf6b releasing package livecd-rootfs version 2.236 2014-08-05 10:53:41 +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
8f0a5075b2 releasing package livecd-rootfs version 2.235 2014-08-05 08:35:08 +02:00
Colin Watson
49c93a618b Only add the ubuntu-core hooks for the system-image subproject. 2014-08-05 08:34:24 +02:00
Colin Watson
b78c13a8d7 releasing package livecd-rootfs version 2.234 2014-08-04 16:13:27 +02:00
Colin Watson
ba66cc4aa8 [r=cjwatson] * 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 16:12:00 +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
d399ddf106 releasing package livecd-rootfs version 2.233 2014-07-31 10:38:08 +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
Colin Watson
f7865ddded releasing package livecd-rootfs version 2.232 2014-07-30 17:58:19 +01:00
Colin Watson
6ec9896524 live-build/auto/config: Enable universe for system-image ubuntu-core
sub-project which requires 'system-image-cli'.
2014-07-30 17:53:34 +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
e844010ad4 releasing package livecd-rootfs version 2.231 2014-07-28 20:17:17 -07: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
fe06c58960 releasing package livecd-rootfs version 2.229 2014-07-24 15:49:57 -07: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
73f29eee0d releasing package livecd-rootfs version 2.228 2014-07-23 11:51:54 +01: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
f07e73b16b releasing package livecd-rootfs version 2.227 2014-07-23 11:01:00 +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
8fd552b006 releasing package livecd-rootfs version 2.226 2014-07-23 01:51:13 +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
cc5186faf2 releasing package livecd-rootfs version 2.225 2014-07-17 12:51:24 +01: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
8aa89f1b5f releasing package livecd-rootfs version 2.224 2014-07-16 20:34:07 +02:00
Oliver Grawert
307c451da1 drop extra space in DEFGROUPS variable 2014-07-16 20:33:48 +02:00
Oliver Grawert
5e3a012867 releasing package livecd-rootfs version 2.223 2014-07-16 14:18:05 +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
5dafc92b4b releasing package livecd-rootfs version 2.222 2014-07-15 18:15:00 -03: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
cd7609b231 releasing package livecd-rootfs version 2.221 2014-06-30 00:13:56 +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
d32603eb79 releasing package livecd-rootfs version 2.220 2014-06-27 16:32:51 +02:00
Oliver Grawert
aaae8194af add media group to touch images 2014-06-27 16:32:05 +02:00
Colin Watson
39ab77875e releasing package livecd-rootfs version 2.219 2014-06-26 12:31:55 +01: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
927bcf90b7 releasing package livecd-rootfs version 2.218 2014-06-24 02:19:41 +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
def653746f releasing package livecd-rootfs version 2.217 2014-06-23 18:37:24 +02: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
3a2dc931ed releasing package livecd-rootfs version 2.216 2014-05-30 13:28:01 +02:00
Oliver Grawert
7e6b25ddf3 drop the initscripts hack again 2014-05-30 13:27:39 +02:00
Oliver Grawert
7cac310824 releasing package livecd-rootfs version 2.215 2014-05-30 10:48:28 +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
Iain Lane
0cb2547bea releasing package livecd-rootfs version 2.214 2014-05-28 10:39:18 +01:00
Iain Lane
320245b773 fix changelog typo 2014-05-28 10:37:28 +01:00
Iain Lane
4150b7a896 Add ubuntu-sdk-libs too 2014-05-22 16:21:55 +01:00
Iain Lane
f41714bd5b ubuntu-desktop-next: Use the Task fiels that the archive now has for this
project.
2014-05-22 15:49:27 +01:00
Colin Watson
03f218a15e releasing package livecd-rootfs version 2.213 2014-05-19 15:30:14 +01:00
Colin Watson
4923df1abf The EXTRA_ARCHIVES environment variable defined in 2.212 doesn't quite
work properly because it doesn't allow for signing key configuration.
Rename it to the more domain-specific EXTRA_PPAS (which is now a
space-separated sequence of <ppa-owner>/<ppa-name> pairs), and fetch
signing keys for those from Launchpad using python3-software-properties.
2014-05-19 15:28:05 +01:00
Colin Watson
14c091eff2 releasing package livecd-rootfs version 2.212 2014-05-19 12:15:35 +01:00
Colin Watson
c34a62ec3b normalise whitespace 2014-05-19 12:14:26 +01:00
Colin Watson
83c397cf2e live-build/auto/config: If EXTRA_ARCHIVES is set in the environment,
dump its value into config/archives/extra-archives.list.chroot and
config/archives/extra-archives.list.binary.  This makes it easier for a
builder to build an image against an additional PPA.
2014-05-19 12:14:05 +01:00
Iain Lane
ee44d6bc05 releasing package livecd-rootfs version 2.211 2014-05-16 17:54:06 +01:00
Iain Lane
3ce6f0c289 Add an ubuntu-desktop-next project for building a desktop flavour
including Unity 8 and the applications developed for Ubuntu Touch.
2014-05-16 17:51:02 +01:00
Colin Watson
fd68b48527 releasing package livecd-rootfs version 2.210 2014-05-16 13:05:33 +01:00
Colin Watson
807ee32efc live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test
for whether a package is installed, and check for both python-autopilot
and python3-autopilot.
2014-05-16 13:05:03 +01:00
Iain Lane
1a785e2615 releasing package livecd-rootfs version 2.209+unity8.2 2014-05-12 16:23:47 +01:00
Iain Lane
23beed5123 Install the metapackage from the seed instead of just the session
nb: can't use the task as this isn't generated yet
2014-05-12 16:23:06 +01:00
Iain Lane
0ebe5e57b1 Add unity8 flavour 2014-05-12 13:02:29 +01:00
Colin Watson
d455fcccd7 releasing package livecd-rootfs version 2.209 2014-05-10 13:55:35 +01:00
Colin Watson
34ea5156cf live-build/auto/config: Pass any additional command-line arguments on to
"lb config".
2014-05-10 13:54:00 +01:00
Ricardo Salveti de Araujo
59f0b873d5 releasing package livecd-rootfs version 2.208 2014-03-28 19:01:48 -03:00
Ricardo Salveti de Araujo
0fe1485ba8 Adding support for ubuntu-touch i386 based images 2014-03-28 19:00:42 -03:00
Michael Zanetti
62b55b45e8 drop QML2_IMPORT_PATH to load SF stuff 2014-03-28 13:35:11 +01:00
Ricardo Salveti de Araujo
13d9a8f996 releasing package livecd-rootfs version 2.207 2014-03-18 21:43:03 -03:00
Ricardo Salveti de Araujo
fdf26caffd touch/80-enable-libhybris.chroot: making libhybris the default alternatives
for EGL/GLESv2 on touch
2014-03-18 21:05:48 -03:00
Oliver Grawert
ae494ecf6e releasing package livecd-rootfs version 2.206 2014-02-22 23:39:48 +01:00
Oliver Grawert
5602f1e926 dropping maguro and adding flo, changing golfish to generic in touchsubarches 2014-02-22 23:39:30 +01:00
Ricardo Salveti de Araujo
c39d253725 releasing package livecd-rootfs version 2.205 2014-02-18 23:53:06 -03:00
Ricardo Salveti de Araujo
84262b6f94 touch/48-setup-env.chroot: QML2_IMPORT_PATH should respect
DEB_HOST_MULTIARCH (as we now have i386 builds as well)
2014-02-18 23:52:04 -03:00
Colin Watson
53698ca242 releasing package livecd-rootfs version 2.204 2014-01-31 11:05:23 +00:00
Colin Watson
bf148c8f79 merge 2.203 2014-01-31 11:04:17 +00:00
Colin Watson
219e7db493 releasing package livecd-rootfs version 2.203 2014-01-31 11:02:25 +00:00
Colin Watson
5e683e7dd6 Make livecd-rootfs be Architecture: any so that we can go back to the
android-tools-fsutils dependency being architecture-specific, which
relieves us of having to port it to new architectures which don't care
about Android.
2014-01-31 10:59:23 +00:00
Your Name
b646083ad7 Add hostname and machine-info to the writable paths, so that hostnamectl
can change them to create a sane default bluetooth device name.
2014-01-20 15:29:30 +01:00
Chris Wayne
4b74aba181 only touch /etc/writable/machine-info 2014-01-20 09:22:18 -05:00
Chris Wayne
a28790c6f9 Touch file if it doesnt exist 2014-01-20 09:06:16 -05:00
Chris Wayne
2cc7d04ffd live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add hostname to the list of writable files 2014-01-13 23:55:13 -05:00
Adam Conrad
2fa8a6f24e Add the minimal task to ubuntu-core to preserve brand consistency. 2014-01-10 11:54:24 -07:00
Chris Wayne
03764235e8 live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add /etc/machine-info to /etc/writable, which allows user to change the bluetooth device name by setting PRETTY_HOSTNAME 2014-01-06 12:06:39 -05:00
Oliver Grawert
1491503c7d releasing package livecd-rootfs version 2.201 2013-11-27 12:24:28 +01:00
Oliver Grawert
d0e663b470 add support for copying goldfish android images out of the android package 2013-11-27 12:23:58 +01:00
Oliver Grawert
269af1b03b releasing package livecd-rootfs version 2.200 2013-11-26 16:43:36 +01:00
Oliver Grawert
da3e3e4168 fix quoting in click installer egrep call 2013-11-26 16:43:06 +01:00
Oliver Grawert
4bf614efcc releasing package livecd-rootfs version 2.199 2013-11-26 15:16:34 +01:00
Oliver Grawert
68d3bbf11f make the click package installation check for proper architecture 2013-11-26 15:16:05 +01:00
Stéphane Graber
a9e80f9118 releasing version 2.198 2013-10-23 09:33:20 -04:00
Loïc Minier
f823111286 Release 2.196. 2013-10-15 01:03:56 +02:00
Loïc Minier
08be540ef0 Merge lp:~sergiusens/livecd-rootfs/ppa--; removing the PPAs for Ubuntu Touch
builds.
2013-10-15 01:02:58 +02:00
Sergio Schvezov
51a8beab46 Removing the PPAs for Ubuntu Touch builds. 2013-10-14 19:20:51 -03:00
Oliver Grawert
6038024da1 releasing version 2.195 2013-10-11 18:29:37 +02:00
Oliver Grawert
06b96f94ed fix the prefixing of click packages in manifest files 2013-10-11 18:29:12 +02:00
Oliver Grawert
eb7a2d2a1b releasing version 2.194 2013-10-11 18:15:46 +02:00
Oliver Grawert
7fdb743882 prefix click packages in the manifest file with "click:" 2013-10-11 18:15:14 +02:00
Oliver Grawert
a47eedf7df releasing version 2.193 2013-10-11 17:40:59 +02:00
Oliver Grawert
43f65991b4 drop SHELL=/system/bin/sh from /etc/environment on touch images 2013-10-11 17:31:20 +02:00
Oliver Grawert
b5588dcf7e releasing version 2.192 2013-10-11 14:31:47 +02:00
Oliver Grawert
3d0f8e22d5 list click packages in teh manifest file on ubuntu touch 2013-10-11 14:31:17 +02:00
Martin Pitt
5976888f34 releasing package livecd-rootfs version 2.191 2013-09-30 14:00:02 +02:00
Martin Pitt
f61be85fdc ubuntu-touch: Make writable symlinks relative. 2013-09-30 13:59:57 +02:00
Martin Pitt
7060858b2e releasing package livecd-rootfs version 2.190 2013-09-30 13:33:29 +02:00
Martin Pitt
3e85549e36 do not handle /etc/adjtime, it should not be in phone builds altogether 2013-09-30 09:35:08 +02:00
Martin Pitt
7e84ea20c6 ubuntu-touch: Add 03-etc-writable.chroot hook to move/symlink files in
/etc to /etc/writable/ that we need to update atomically. At the moment
these are adjtime, timezone, localtime. (LP: #1227520)
2013-09-25 11:28:11 +02:00
Colin Watson
1ea8bef4ca releasing package livecd-rootfs version 2.189 2013-09-24 16:58:51 +01:00
Colin Watson
0b0c108526 Explicitly add the ubuntu-desktop task to Edubuntu builds, so that any
ambiguous dependencies resolved by the contents of the ubuntu-desktop
task are actually resolved reliably.
2013-09-24 16:58:16 +01:00
Oliver Grawert
1940e17d76 releasing version 2.188 2013-09-21 12:56:25 +02:00
Oliver Grawert
49e2569109 ship policykit rules for networkmanager, now that we use it on touch 2013-09-21 12:55:46 +02:00
Oliver Grawert
8686ba5249 releasing version 2.187 2013-09-12 23:30:38 +02:00
Oliver Grawert
8ebc164aa1 remove QT_QPA_PLATFORM from ubuntu-touch 2013-09-12 23:29:54 +02:00
Oliver Grawert
5dd8b8f266 releasing version 2.186 2013-09-12 20:50:54 +02:00
Oliver Grawert
bbf1758094 drop phablet-team PPa sources.list entries from touch 2013-09-12 20:50:14 +02:00
Michael Terry
cdef98c7be Configure LightDM, if installed, to autologin the phablet user 2013-09-09 14:04:41 -04:00
Michael Terry
6d80ab3c54 Add changelog message, use new-style lightdm.conf.d file, and don't set autologin-in-background until we can have a real greeter in Touch 2013-09-09 12:23:44 -04:00
Michael Terry
1edf737239 Merge from trunk 2013-09-09 12:22:54 -04:00
Colin Watson
495518afbd releasing package livecd-rootfs version 2.184 2013-09-06 13:22:10 +01:00
Colin Watson
976cbb1594 Revert to always using archive-team.internal in 60-install-click.chroot
for now.  This is unfortunate, but "hostname --fqdn" doesn't work at
this stage.
2013-09-06 13:21:36 +01:00
Colin Watson
9f56629f09 releasing package livecd-rootfs version 2.183 2013-09-06 11:49:14 +01:00
Colin Watson
00192887a2 Make 60-install-click.chroot more verbose, in an attempt to figure out
why this doesn't work in the datacentre.
2013-09-06 11:48:21 +01:00
Colin Watson
430558b8ce releasing package livecd-rootfs version 2.182 2013-09-05 16:03:54 +01:00
Colin Watson
1c5ea38beb Fix test for whether we're running in the Canonical datacentre when
installing click packages.
2013-09-05 16:03:10 +01:00
Colin Watson
741ff8d8d1 Log the hostname at the start of the build. 2013-09-05 16:02:28 +01:00
Colin Watson
21f4bc0b08 releasing package livecd-rootfs version 2.181 2013-09-05 11:30:23 +01:00
Colin Watson
805633bc05 Download core click packages from the right place when building images
outside the Canonical datacentre.
2013-09-05 11:29:14 +01:00
Colin Watson
d083723d88 Use new multiple-database scheme in click 0.4.3 to preinstall click
packages.
2013-09-05 11:28:41 +01:00
Oliver Grawert
2f45e1f2e0 releasing version 2.180 2013-08-28 16:39:15 +02:00
Oliver Grawert
07406f5e8e change NM mangling from admin to sudo group, drop some extra env variables we dont need from touch images 2013-08-28 16:38:51 +02:00
Oliver Grawert
4fc7a2e78e releasing version 2.179 2013-08-27 11:26:01 +02:00
Oliver Grawert
1dc58ddbe5 fix autopilot group handling on touch images 2013-08-27 11:25:26 +02:00
Ricardo Salveti de Araujo
f49f02be27 releasing version 2.178 2013-08-26 19:24:43 -03:00
Ricardo Salveti de Araujo
3564afa1fc Copying click packages to install search location instead of installing
for a hardcoded user.
2013-08-26 19:23:24 -03:00
Sergio Schvezov
2978a1e0dd Copying click packages to install search location instead of installing
for a hardcoded user.
2013-08-26 17:23:27 -03:00
Oliver Grawert
4f62ebd984 releasing version 2.177 2013-08-26 16:53:52 +02:00
Oliver Grawert
39986bad6c do not forcefully use the admin group on touch images. this group was dropped in favour of the sudo group several releases ago 2013-08-26 16:53:29 +02:00
Oliver Grawert
014067af6e releasing version 2.176 2013-08-23 16:41:26 +02:00
Oliver Grawert
16bc6cb9b3 preserve a symlink of media-info for backwards compatibility 2013-08-23 16:41:00 +02:00
Oliver Grawert
c047fb2432 releasing version 2.175 2013-08-23 16:26:48 +02:00
Oliver Grawert
a1092a9c13 move media-info file from /var/log/installer to /etc on touch images 2013-08-23 16:26:19 +02:00
Oliver Grawert
740ad68fa9 releasing version 2.174 2013-08-16 13:27:54 +02:00
Oliver Grawert
d98eb03afb make sure the bluetooth group has the right android GID on touch builds 2013-08-16 13:27:24 +02:00
Michael Terry
3c012df85d Drop defined user/greeter sessions, that gets set in the respective packages 2013-08-14 12:51:54 -04:00
Michael Terry
3e6067b0ca Merge from trunk 2013-08-14 12:50:48 -04:00
Oliver Grawert
81d81cfdab releasing version 2.173 2013-08-14 11:06:03 +02:00
Oliver Grawert
4dd78a3d72 merge lp:~mterry/livecd-rootfs/system-user 2013-08-14 11:05:25 +02:00
Michael Terry
131add046d Add user to nopasswdlogin group too 2013-08-12 19:29:45 -04:00
Michael Terry
59117feb80 Switch min uid to 1002 2013-08-12 15:46:43 -04:00
Michael Terry
e6cd959f4c Mark the 'system' uid 1000 user as a system user, to avoid it showing up in the greeter 2013-08-12 15:42:36 -04:00
Oliver Grawert
46ada53082 releasing version 2.172 2013-08-12 15:21:29 +02:00
Oliver Grawert
4716289e1e merge lp:~sergiusens/livecd-rootfs/click_is_back 2013-08-12 15:21:01 +02:00
Sergio Schvezov
ef61ca2511 Reenabling click package installation hook. 2013-08-11 19:05:10 -03:00
Michael Terry
eecdfa8884 Merge from trunk 2013-08-08 10:52:08 -04:00
Oliver Grawert
37bef7f65e releasing version 2.171 2013-08-07 21:58:40 +02:00
Oliver Grawert
f897e608df seems unlike my local build the buildd doesnt get along with links, use copy instead 2013-08-07 21:58:09 +02:00
Oliver Grawert
9e2888738a releasing version 2.170 2013-08-07 19:22:55 +02:00
Oliver Grawert
17fcb0f65a fix package mirror in android package install routine 2013-08-07 19:22:15 +02:00
Oliver Grawert
54b97639a0 releasing version 2.169 2013-08-07 16:07:57 +02:00
Oliver Grawert
74ce6409a4 switch touch builds to use the packaged android img files (pending cdimage changes to publish these from the livefs builder) 2013-08-07 16:07:27 +02:00
Oliver Grawert
f06dcf375a releasing version 2.168 2013-08-01 19:17:06 +02:00
Oliver Grawert
6ee060fae7 drop unity-next PPA from ubuntu-touch builds, unity8 is in the archive now 2013-08-01 19:14:06 +02:00
Michael Terry
1847abe879 Merge from trunk 2013-07-31 09:46:55 -04:00
Oliver Grawert
fff1a0cc0a releasing version 2.167 2013-07-31 13:42:41 +02:00
Oliver Grawert
47d569d8bc make sure FLASH_KERNEL_SKIP is set when we post-process touch images 2013-07-31 13:42:22 +02:00
Oliver Grawert
f906e0211b releasing version 2.166 2013-07-25 11:17:43 +02:00
Oliver Grawert
912941411b add radio user (with UID 1001 (required by android)) to the default user creation for ubuntu-touch 2013-07-25 11:16:46 +02:00
Adam Conrad
3d4461ecad Remove e2fs-zero.py and references to it, it's no longer used. 2013-07-24 11:44:13 +01:00
Colin Watson
1287eeaa1a releasing version 2.164 2013-07-23 23:26:15 +01:00
Colin Watson
f030ef8902 Temporarily disable Click package installation, until desktop/AppArmor
integration has landed properly.
2013-07-23 23:21:53 +01:00
Colin Watson
aded5ce10a Remove all vestiges of livecd.sh and ubuntu-touch-android.sh.
Requiescant in pace.
2013-07-23 15:45:15 +01:00
Colin Watson
ca529d7223 Remove livecd.py, which was never finished. 2013-07-23 15:43:28 +01:00
Colin Watson
70658c34cf Run builds under eatmydata. (This doesn't actually seem to help very
much - it shaves a minute off a 48-minute test build on my laptop - but
it will stop people being distracted by it.)
2013-07-22 11:36:21 +01:00
Oliver Grawert
aaac594d72 releasing version 2.163 2013-07-18 16:33:19 +02:00
Oliver Grawert
4b814f4e7b point click package install to http://archive-team.internal/click_packages 2013-07-18 16:32:51 +02:00
Oliver Grawert
4359db1db5 releasing version 2.162 2013-07-17 22:33:06 +02:00
Oliver Grawert
585e20360f merge lp:~sergiusens/livecd-rootfs/click 2013-07-17 20:54:28 +02:00
Sergio Schvezov
c0224c1e4f Updating from trunk and reversioning the changelog 2013-07-17 15:47:56 -03:00
Sergio Schvezov
bccea77b73 Register phablet user for click installs 2013-07-17 11:37:37 -03:00
Oliver Grawert
a066692076 releasing version 2.161 2013-07-17 16:31:52 +02:00
Oliver Grawert
46f91565ea drop bashrc mangling from ubuntu-touch builds 2013-07-17 16:31:13 +02:00
Sergio Schvezov
6b17e866e4 Switching to wget and depending on it being installed by the seed 2013-07-17 11:21:56 -03:00
Sergio Schvezov
26cee7d1a5 quoting vars 2013-07-17 11:11:58 -03:00
Sergio Schvezov
25df11b2a2 remove usage of tmpdir 2013-07-17 11:08:25 -03:00
Sergio Schvezov
e899fa2c5a Set -e independently. 2013-07-17 11:07:08 -03:00
Iain Lane
3b8a12dbe6 releasing version 2.160 2013-07-17 11:52:25 +01:00
Iain Lane
a80bcd80d6 Do the same trick as in 2.158 for kubuntu armhf+omap4 too. 2013-07-17 10:15:03 +01:00
Sergio Schvezov
5c03a4f1d0 Ubuntu Touch click package install hook. 2013-07-17 00:06:43 -03:00
Oliver Grawert
703051b93f releasing version 2.159 2013-07-16 20:15:01 +02:00
Oliver Grawert
7193655900 source dbus-session from a different place in touch images 2013-07-16 20:14:28 +02:00
Iain Lane
b04cbfd953 releasing version 2.158 2013-07-16 17:19:27 +01:00
Iain Lane
445c528af5 Changelog 2013-07-16 17:19:12 +01:00
Iain Lane
e0fda22c01 Collapse case statement into one for $ARCH+$SUBARCH since it only checks for armhf+omap4 2013-07-16 17:08:59 +01:00
Iain Lane
bfde7e4938 Missing 'install' 2013-07-16 16:35:54 +01:00
Iain Lane
725d1c6ca3 On armhf+omap4, stop using the ubuntu-desktop task and use the metapackage instead
The task pulls in the X stack which the metapackage does not. We can take
advantage of this to install the omap-revert X stack that's needed for these
images.
2013-07-16 16:29:52 +01:00
Michael Terry
a72a91167a use unity8-greeter instead of qml-phone-greeter 2013-07-15 22:16:05 -04:00
Michael Terry
04bbedae60 Merge from trunk 2013-07-15 22:14:45 -04:00
Oliver Grawert
b7565b8678 releasing version 2.157 2013-07-12 11:06:09 +02:00
Oliver Grawert
93fb97a202 add the xserver omap-revert packages to panda builds 2013-07-12 11:05:35 +02:00
Oliver Grawert
6f6252b60c releasing version 2.156 2013-07-11 16:42:00 +02:00
Oliver Grawert
6ff0b8e618 fix buildstamp creation for ubuntu-touch 2013-07-11 16:41:25 +02:00
Oliver Grawert
1707e9118d releasing version 2.155 2013-07-05 12:32:05 +02:00
Oliver Grawert
557de06383 try to hand the exported $NOW over from live-build/auto/config as $BUILDSTAMP 2013-07-05 12:31:30 +02:00
Ricardo Salveti de Araujo
9b5ae6ff60 releasing version 2.154 2013-07-04 13:44:23 -03:00
Ricardo Salveti de Araujo
9b5052ea23 Merging lp:~sergiusens/livecd-rootfs/maliit, to change QT_IM_MODULE so it can use the right input module (from maliit itself) 2013-07-04 13:43:58 -03:00
Ricardo Salveti de Araujo
bee35080be Merging lp:~sergiusens/livecd-rootfs/ubuntu-unity-next, to add the ubuntu-unity/next ppa for Touch (needed until Unity 8 and Mir are available in the archive itself) 2013-07-04 13:31:29 -03:00
Sergio Schvezov
97a518d676 Switching to using the maliit plugin provided by maliit-framework. 2013-07-04 13:31:13 -03:00
Sergio Schvezov
b1e1beea36 Adding changelog entry 2013-07-04 13:26:09 -03:00
Sergio Schvezov
6ae17f7a26 Adding ppa:ubuntu-unity/next for Touch. 2013-07-04 13:17:55 -03:00
Oliver Grawert
990aecf6dd releasing version 2.153 2013-06-29 17:03:07 +02:00
Oliver Grawert
8c9f0350b0 make sure bootimgs are created in /boot of the chroot and only copied from outside the chroot afterwards 2013-06-29 17:02:46 +02:00
Colin Watson
97a577ff86 releasing version 2.152 2013-06-28 17:14:52 +01:00
Colin Watson
0eaec780a0 live-build/auto/build: Fix syntax error. 2013-06-28 17:13:41 +01:00
Oliver Grawert
0a07ba64e3 releasing version 2.151 2013-06-28 15:15:51 +02:00
Oliver Grawert
cf8a492d00 use the packaged generic initrd for touch images 2013-06-28 15:14:04 +02:00
Oliver Grawert
a01077d01e releasing version 2.150 2013-06-26 12:23:29 +02:00
Oliver Grawert
9a79d68d7d export $NOW in BuildLiveCD and use that var inside Ubuntu Touch builds to create /var/log/installer/media-info 2013-06-26 12:23:04 +02:00
Oliver Grawert
812ef405e3 releasing version 2.149 2013-06-14 16:13:28 +02:00
Oliver Grawert
6175652e6b set QT_SELECT=qt5 in touch image environment 2013-06-14 16:12:56 +02:00
Oliver Grawert
e6c22c224a releasing version 2.148 2013-06-10 12:36:17 +02:00
Oliver Grawert
63c44a6ab8 drop daily-build-next PPA from touch images 2013-06-10 12:35:39 +02:00
Colin Watson
d3f766d5da live-build/ubuntu-touch/hooks/02-add_user_to_groups.chroot: Fix
detection of existing groups not to misfire if there is an existing
group with the desired group name as a prefix.
2013-06-05 13:13:48 +01:00
Colin Watson
699ed3f6a1 live-build/ubuntu-touch/hooks/02-add_user_to_groups.chroot: Delete
redundant code to create global static groups, which are already created
more correctly by base-passwd on every Ubuntu system.
2013-06-05 13:12:26 +01:00
Oliver Grawert
295a31627f releasing version 2.147 2013-06-03 09:59:21 +02:00
Oliver Grawert
be72ae0321 sync ubuntu-touch customzation scripts with phablet build tree 2013-06-03 09:58:33 +02:00
Michael Terry
af86d611c5 Add default lightdm setup and make sure that system user is not shown by bumping system UID_MIN 2013-05-31 13:53:25 -04:00
Oliver Grawert
7519449f20 releasing version 2.146 2013-05-30 18:23:09 +02:00
Oliver Grawert
04ac56d2b6 drop the generic .bootimg from ubuntu-touch, all boot images we need have to be subarch tagged 2013-05-30 18:22:37 +02:00
Oliver Grawert
42cd75eac7 releasing version 2.145 2013-05-30 12:16:00 +02:00
Oliver Grawert
e7c4acc158 adjust naming of the touch bootimg files so cdimage picks them up for publishing 2013-05-30 12:15:42 +02:00
Adam Conrad
1b5c986fbb Clean up subarch loop for touch subarches to skip unwanted deps. 2013-05-29 16:42:47 -06:00
Oliver Grawert
8dcb28d593 releasing version 2.143 2013-05-29 21:50:53 +02:00
Oliver Grawert
2756b26952 drop ubuntu-tuch cleanup code, should not affect teh tarball. fix quoting of abootimg and update-initramfs calls 2013-05-29 21:50:21 +02:00
Oliver Grawert
62855904b2 releasing version 2.142 2013-05-29 16:55:33 +02:00
Oliver Grawert
b932a9dbf2 copy the initrd out of the chroot before we purge the kernel package on ubuntu-touch 2013-05-29 16:55:14 +02:00
Oliver Grawert
030f6830d1 releasing version 2.141 2013-05-29 16:29:07 +02:00
Oliver Grawert
2afcb7b21c make failing removal of non existing old initrds non fatal in ubuntu-touch 2013-05-29 16:28:49 +02:00
Oliver Grawert
39ead9c9d4 releasing version 2.140 2013-05-29 14:23:33 +02:00
Oliver Grawert
7535aeaedf hardcode dist in the temporary sources.list of the ubuntu-touch initrd creation for a test 2013-05-29 14:23:01 +02:00
Oliver Grawert
e7dd52b4ef releasing version 2.139 2013-05-29 12:13:11 +02:00
Oliver Grawert
c4064d69e0 fix resolv.conf for ubuntu-touch initramfs creation 2013-05-29 12:12:41 +02:00
Oliver Grawert
ef88505296 releasing version 2.138 2013-05-28 15:19:14 +02:00
Oliver Grawert
f95a12af84 also move the sources.list.d dir out of the way on ubuntu-touch 2013-05-28 15:18:43 +02:00
Oliver Grawert
78d65603c6 releasing version 2.137 2013-05-28 11:46:14 +02:00
Oliver Grawert
3ff5a4a4db handle sources.list in ubuntu-touch initrd creation 2013-05-28 11:45:43 +02:00
Oliver Grawert
d7ec3fcc95 remove ubuntu-touch/hooks/49-setup-demo-assets.chroot 2013-05-28 11:14:39 +02:00
Oliver Grawert
e7feae4838 clean chroot/var/lib/initramfs-tools/ after building initrds 2013-05-27 18:26:52 +02:00
Oliver Grawert
6b08ca545e releasing version 2.136 2013-05-27 18:16:24 +02:00
Oliver Grawert
b870dec921 determine the value for $kver inside the chroot, use -c and drop -t with update-initramfs for ubuntu-touch 2013-05-27 18:16:06 +02:00
Oliver Grawert
878953785b releasing version 2.135 2013-05-27 14:59:11 +02:00
Oliver Grawert
ce32cc1fe6 add live-build script for subarch specific Ubuntu Touch initrd and boot image creation 2013-05-27 14:37:30 +02:00
Colin Watson
80b0abec4e BuildLiveCD: Time out lockfile after 12 hours, which should be enough
for even the longest build queue to clear.
2013-05-22 17:32:49 +01:00
Oliver Grawert
0eb9748538 releasing version 2.134 2013-05-17 14:35:16 +02:00
Oliver Grawert
34ab86114e remove qt5-proper PPA from ubuntu touch builds 2013-05-17 14:34:51 +02:00
Oliver Grawert
defcbd3fb7 releasing version 2.133 2013-05-07 21:02:26 +02:00
Oliver Grawert
6f9e6a7c2b drop online-accounts-qt5-staging PPA from ubuntu-touch images 2013-05-07 21:01:46 +02:00
Oliver Grawert
30c14251d4 releasing version 2.132 2013-05-07 15:13:16 +02:00
Oliver Grawert
2d67c1a003 also remove ubuntu-touch-android.sh from debian/install 2013-05-07 15:12:46 +02:00
Oliver Grawert
6b13041fcd releasing version 2.131 2013-05-07 14:36:08 +02:00
Oliver Grawert
beb83f8872 drop android build script, we will solve this differently 2013-05-07 14:35:15 +02:00
Oliver Grawert
a3f3cdd531 drop hardcoded packagelists for ubuntu-touch 2013-05-07 14:33:55 +02:00
Oliver Grawert
893240544a releasing version 2.130 2013-05-06 12:53:58 +02:00
Oliver Grawert
c69174945c drop setting manual options for getting an ubuntu-touch preinstalled tarball, we set -f plain in cdimage to get proper configuration already 2013-05-06 12:53:38 +02:00
Colin Watson
fff524ae55 releasing version 2.129 2013-05-03 11:47:28 -07:00
Colin Watson
af1c3724e7 Copy binary-tar.tar.gz to $PREFIX.rootfs.tar.gz if it exists. 2013-05-03 11:46:55 -07:00
Colin Watson
902d0c9338 Revert squashfs change for ubuntu-touch; it may come in handy after all, since it's smaller. 2013-05-03 10:52:05 -07:00
Colin Watson
307dc8a8d5 Disable zsync for ubuntu-touch images. 2013-05-03 10:45:54 -07:00
Colin Watson
0d6b6f5113 Don't build a squashfs for ubuntu-touch images. 2013-05-03 10:36:15 -07:00
Colin Watson
ac5e1fba5b releasing version 2.128 2013-05-03 08:52:11 -07:00
Colin Watson
73a02f22f0 Use gzip compression for ubuntu-touch tarballs. 2013-05-03 08:51:20 -07:00
Colin Watson
361c7f03dc Don't include lupin-casper in ubuntu-touch images. 2013-05-03 08:45:36 -07:00
Colin Watson
45212a3690 releasing version 2.127 2013-05-02 13:51:23 -07:00
Colin Watson
dc5e9931d0 Install metapackages rather than tasks for ubuntu-touch, since it still
relies on PPAs and those don't have tasks.
2013-05-02 13:50:29 -07:00
Oliver Grawert
53c58b7a27 releasing version 2.126 2013-05-02 20:27:15 +02:00
Oliver Grawert
e9b902d453 drop super-friends and ubuntu-sdk PPAs from touch builds 2013-05-02 20:26:33 +02:00
Colin Watson
cd9894404b releasing version 2.125 2013-05-01 12:07:34 -07:00
Colin Watson
95246a6553 live-build/auto/config, live-build/ubuntu-touch: Copy a huge pile of
customisation by Ricardo Salveti from
lp:~phablet-team/touch-preview-images/ubuntu-build-phablet, which should
be close to enough for the architecture-independent parts of
ubuntu-touch builds.
2013-05-01 12:01:21 -07:00
Colin Watson
a72862b26d fix version 2013-05-01 10:52:21 -07:00
Colin Watson
ee1909ade6 live-build/auto/config: Add basic ubuntu-touch enablement (based on
patch from Oliver Grawert, for which thanks).
2013-05-01 10:51:50 -07:00
Oliver Grawert
64bcb09949 releasing version 2.124 2013-04-16 14:00:37 +02:00
Oliver Grawert
4a47394879 ubuntu-touch-android.sh fix virtual fs mounting, make unmounting lazy 2013-04-16 14:00:17 +02:00
Oliver Grawert
7fd955143c releasing version 2.123 2013-04-16 11:09:08 +02:00
Oliver Grawert
c7af9cd085 fix typos in ubuntu-touch-android.sh 2013-04-16 11:08:51 +02:00
Oliver Grawert
29df27004d releasing version 2.122 2013-04-15 20:22:01 +02:00
Oliver Grawert
127f5c9d7e redo ubuntu-touch-android.sh to use its own build chroot since we can not add universe to the livefs builder root 2013-04-15 20:21:27 +02:00
Oliver Grawert
c272678b07 releasing version 2.121 2013-04-15 18:44:01 +02:00
Oliver Grawert
ec8c23b7eb enable universe in the build chroot for ubuntu-touch-android.sh 2013-04-15 18:41:46 +02:00
Oliver Grawert
4cb1f74f6e releasing version 2.120 2013-04-15 16:08:49 +02:00
Oliver Grawert
16db7152c9 fix typo in shebang of ubuntu-touch-android.sh 2013-04-15 16:08:22 +02:00
Oliver Grawert
1bb961e99a releasing version 2.119 2013-04-11 11:30:53 +02:00
Oliver Grawert
64ce53e101 the android build system is sadly full of bashisms (even though it has generic .sh suffixes and no shebang line) until this is fixed use a /bin/bash shebang 2013-04-11 11:28:51 +02:00
Colin Watson
745ff00e38 BuildLiveCD: Link livecd-${NOW}-${ARCH}.out to livecd-${ARCH}.out, to
make it easier for cdimage to fetch the latest build log for failure
notification mails.
2013-04-01 23:36:05 +01:00
Oliver Grawert
1494c014e9 releasing version 2.118 2013-03-28 19:36:15 +01:00
Oliver Grawert
5c59ea00b3 normalize the naming scheme for ubuntu-touch-android.sh output 2013-03-28 19:35:11 +01:00
Oliver Grawert
9ff1d46a87 releasing version 2.117 2013-03-28 18:49:40 +01:00
Oliver Grawert
8001040b42 make ubuntu-touch-android.sh also create $subarch-system.img $subarch-recovery.img and $subarch-boot.img 2013-03-28 18:49:09 +01:00
Oliver Grawert
89532b24ac releasing version 2.116 2013-03-28 16:32:44 +01:00
Oliver Grawert
0330c329d2 add android image cross building for Ubuntu Touch 2013-03-28 16:32:16 +01:00
Colin Watson
3b5252855c releasing version 2.115 2013-03-27 14:49:44 +00:00
Colin Watson
464cdd3e4c live-build/auto/config: Run the ubuntukylin-default-settings chroot
hook.
2013-03-27 14:47:18 +00:00
Colin Watson
c6553f7af8 releasing version 2.114 2013-03-14 16:55:17 +00:00
Colin Watson
f21a32bcaf Revert changes in 2.113. This needs to be done in cdimage/debian-cd
instead.
2013-03-14 16:54:46 +00:00
Colin Watson
32ff424fc2 releasing version 2.113 2013-03-14 11:54:47 +00:00
Colin Watson
2140c6cce9 live-build/auto/config: Set gfxboot default language to zh_CN for
UbuntuKylin.
2013-03-14 11:53:35 +00:00
Colin Watson
5356542326 releasing version 2.112 2013-03-13 10:30:07 +00:00
Colin Watson
e22f141e45 merge lp:~jbicha/livecd-rootfs/add-ubuntu-gnome 2013-03-13 10:27:49 +00:00
Jeremy Bicha
9443070b24 live-build/auto/config: Add ubuntu-gnome project (LP: #1152818) 2013-03-09 15:34:04 -05:00
Colin Watson
d44c56adf6 releasing version 2.111 2013-03-09 12:14:01 +00:00
Colin Watson
df0c31629c * BuildLiveCD: Remove the explicit list of valid projects. This is a
hassle to modify, and not very useful since an invalid project will fail
  soon enough anyway.
2013-03-09 12:12:01 +00:00
Colin Watson
69aa7ac1bf BuildLiveCD, live-build/auto/config: Add ubuntukylin as a valid project
(LP: #1152812).
2013-03-09 02:36:24 +00:00
cjwatson@chiark.greenend.org.uk
cc548ceacc releasing version 2.110 2013-03-07 13:28:22 +00:00
cjwatson@chiark.greenend.org.uk
430f9da9c0 live-build/auto/config: Drop ubuntustudio-audio-plugins task. 2013-03-07 13:27:09 +00:00
Micah Gersten
6a3ab03a96 releasing version 2.109 2013-03-05 23:14:32 -06:00
Micah Gersten
36bcb835bd * Drop ubuntustudio-generation and ubuntustudio-recording tasks and add
ubuntustudio-audio task to reflect Ubuntu Studio seed restructuring
  - update live-build/auto/config
2013-03-05 22:45:55 -06:00
Adam Conrad
b660991a76 * Add abootimg explicitly to ac100 and nexus7 images, so it's marked
as manually installed and apt doesn't autoremove it (LP: #1041290)
* Remove linux-firmware-nexus7 from the install list, it gets pulled
  in automatically by linux-image-nexus7, so this is redundant.
2013-01-29 12:35:51 -07:00
Colin Watson
c304ced763 live-build/auto/build: Use slightly safer code for kernel handling just
in case 'set -o pipefail' is ever reinstated here.
2013-01-07 21:24:47 +00:00
Colin Watson
31ee0acbd0 releasing version 2.107 2012-12-04 16:20:54 +00:00
Colin Watson
4c8d8ea4d2 Make sure the $PREFIX.kernel-$FLAVOUR.efi.signed output is
world-readable.
2012-12-04 16:20:09 +00:00
Oliver Grawert
2ee2585461 releasing version 2.106 2012-12-03 14:39:56 +01:00
Oliver Grawert
ecc7ef9605 re-enable the slideshow for preinstalled images again 2012-12-03 14:39:32 +01:00
Oliver Grawert
c5fdffcc6b releasing version 2.105 2012-11-23 12:22:53 +01:00
Oliver Grawert
b59e8a152b preseed autologin in the nexus7 tarball, use ubuntu-defaults-nexus7 package in the nexus7 images 2012-11-23 12:22:38 +01:00
Oliver Grawert
b86b4c5ef4 releasing version 2.104 2012-11-22 01:30:09 +01:00
Oliver Grawert
49e75ffbcd make the bootimg.cfg file handling subarch based instead of having two code paths, create a media-info file with build timestamp for preinstalled ac100 and nexus7 images 2012-11-22 01:29:14 +01:00
Colin Watson
efe30575e7 releasing version 2.103 2012-11-21 22:33:12 +00:00
Colin Watson
c2d2c4d262 live-build/auto/build: Exclude all *.efi* files from kernel version
detection (i.e. including *.efi.signature), not just *.efi.signed.
2012-11-21 22:31:25 +00:00
Oliver Grawert
3282eaf6f0 releasing version 2.102 2012-11-20 16:48:34 +01:00
Oliver Grawert
459c30a21b create nexus7 rootfs as .ext4 instead of .img 2012-11-20 16:47:57 +01:00
Oliver Grawert
32b4f85d64 releasing version 2.101 2012-11-20 12:48:09 +01:00
Oliver Grawert
91577600f4 use own config for nexus7 instead of mangling ac100 bootimg files 2012-11-20 12:47:50 +01:00
Oliver Grawert
22c0b359cd releasing version 2.100 2012-11-19 23:25:26 +01:00
Oliver Grawert
7dfc058f6f fix abootimg call of nexus7 processing harder 2012-11-19 23:24:47 +01:00
Oliver Grawert
c5b22a8b92 move the nexus rootfs tarball around instead of copying it 2012-11-19 23:13:11 +01:00
Oliver Grawert
d7689c69a0 clean up the userdata dir 2012-11-19 19:49:31 +01:00
Oliver Grawert
b9f59ad40f releasing version 2.99 2012-11-19 18:09:06 +01:00
Oliver Grawert
917b5a8e49 fix quoting of the abootimg call for nexus7, dont fail if the userdata exists 2012-11-19 18:08:22 +01:00
Oliver Grawert
abef924f48 releasing version 2.98 2012-11-19 14:57:11 +01:00
Oliver Grawert
6a7fcb5055 use the binary, not the source package for tegra3 drivers 2012-11-19 14:56:51 +01:00
Oliver Grawert
5628029998 releasing version 2.97 2012-11-19 13:01:19 +01:00
Oliver Grawert
de7911fa65 add linux-firmware-nexus7 and nvidia-graphics-drivers-tegra3 to nexus7 builds, preseed the license popup of linux-firmware-nexus7 2012-11-19 13:00:41 +01:00
Oliver Grawert
05af08bbd2 releasing version 2.96 2012-11-19 10:41:33 +01:00
Oliver Grawert
7c3b30f6fc add nexus7 specific kernel cmdline, move the nexus7 processing up a bit in the code so we can modify the bootimg cmdline before the file gets copied around 2012-11-14 13:33:35 +01:00
Oliver Grawert
183f48086b releasing version 2.95 2012-11-09 13:32:26 +01:00
Oliver Grawert
f46694091c make the dependency on android-tools-fsutils not arch specific, seems dpkg doesnt like arch specific binary deps in arch all packages 2012-11-09 13:32:00 +01:00
Oliver Grawert
31f1f5df17 releasing version 2.94 2012-11-09 13:09:41 +01:00
Oliver Grawert
669f13896e add a dependency on android-tools-fsutils for armhf builds, add nexus7 live-build configuration, add nexus7 post processing with make_ext4fs for teh tarball to roll a proper android img file 2012-11-09 13:06:56 +01:00
Colin Watson
35144460bf releasing version 2.93 2012-10-17 11:49:14 +01:00
Colin Watson
c3d9d43abd Revert binary/$INITFS/kernel-$FLAVOUR to the unsigned kernel, and link
signed kernels to binary/$INITFS/kernel-$FLAVOUR.efi.signed instead
(LP: #1067659).
2012-10-17 11:48:44 +01:00
Oliver Grawert
194ea53509 releasing version 2.92 2012-10-13 11:47:41 +02:00
Oliver Grawert
36fc3cb384 disable all slideshows on al preinstalled images, due to (LP: #1066046) 2012-10-13 11:46:19 +02:00
Oliver Grawert
eac8de3d0a releasing version 2.91 2012-10-12 14:21:24 +02:00
Oliver Grawert
9bc128e750 make sure preinstalled ac100 images have multiverse enabled in their sources.list 2012-10-12 14:20:21 +02:00
Colin Watson
de5591be0f releasing version 2.90 2012-10-11 02:23:23 +01:00
Colin Watson
66feb5ff5d merge 2.89 2012-10-11 02:22:26 +01:00
Colin Watson
24513ca950 live-build/auto/build: If they exist, link *.efi.signed versions of the
kernel to binary/$INITFS/kernel-$FLAVOUR rather than the unsigned
versions.
2012-10-11 02:17:32 +01:00
Oliver Grawert
0b0f155d51 fix lubuntu and xubuntu preinstalled handling so we end up with the
right slideshows in oem-config
2012-10-02 23:56:33 +02:00
Micah Gersten
cc0ecc108d releasing version 2.88 2012-09-27 23:19:28 -05:00
Micah Gersten
e5ca13d310 live-build/auto/config: Add photography and publishing metas for
Ubuntu Studio (LP: #1057816)
2012-09-27 23:19:02 -05:00
Colin Watson
eb14047d8f releasing version 2.87 2012-09-12 14:02:36 +01:00
Colin Watson
2b10b49367 live-build/auto/config: Build ubuntu-server and ubuntu-core with
--initramfs=none, since we don't need casper in those images.
2012-09-12 14:01:52 +01:00
Colin Watson
7702eefb54 releasing version 2.86 2012-09-11 16:57:20 +01:00
Colin Watson
5d0e98c400 Reorganise code to avoid kernel installation on
ubuntu-server/ubuntu-core so that it works for all architectures.
2012-09-11 16:56:40 +01:00
Colin Watson
d620abecea releasing version 2.85 2012-09-10 09:35:41 +01:00
Colin Watson
0b17d32c1d live-build/auto/config: Set KERNEL_FLAVOURS=none for ubuntu-server as
well, so that live-build/auto/build doesn't try to copy out kernel
images.
2012-09-10 09:34:31 +01:00
Stéphane Graber
b2d347a5c0 releasing version 2.84 2012-09-09 15:49:13 -04:00
Colin Watson
e83a0aad7b releasing version 2.83 2012-09-09 20:41:59 +01:00
Colin Watson
243d78495f live-build/auto/config: Remove standard and server tasks from
ubuntu-server squashfs, and build it with no kernel packages so that
they can be added more correctly later by the installer (LP: #1028453).
2012-09-09 20:41:14 +01:00
Colin Watson
d9f90a7d36 releasing version 2.82 2012-09-03 18:42:53 +01:00
Colin Watson
c6eda4d9b2 live-build/auto/build: live-build now calls hybrid ISO9660 images
binary.hybrid.iso rather than binary-hybrid.iso.
2012-09-03 18:41:20 +01:00
Colin Watson
a0cb9f029a releasing version 2.81 2012-08-30 23:45:07 +01:00
Colin Watson
81a4041038 merge 2.80 2012-08-30 23:44:26 +01:00
Colin Watson
975e6c5e02 live-build/auto/config: Disable zsync for BINARYFORMAT=iso*|usb* builds. 2012-08-30 23:39:45 +01:00
Oliver Grawert
be74dd411c add pvr-omap4 driver to omap4 image builds for everything but
ubuntu-server, ubuntu-core and base images so we have GLES working
out of the box on them
2012-08-29 12:53:11 +02:00
Oliver Grawert
3310586bf5 releasing version 2.79 2012-08-28 13:45:04 +02:00
Oliver Grawert
bbc84ce8f8 disable --architectures, it breaks on armel livefs builders trying to build armhf targets 2012-08-28 13:44:25 +02:00
Oliver Grawert
29d9d740ed releasing version 2.78 2012-08-28 13:42:23 +02:00
Oliver Grawert
1eeb238b21 revert the last change, i was not aware that unity-2d was also ripped out of the archive and not only removed from the seeds 2012-08-28 13:42:05 +02:00
Oliver Grawert
3ce8e208e2 releasing version 2.77 2012-08-28 13:40:30 +02:00
Oliver Grawert
8a4c7562e2 add unity-2d to ac100 images 2012-08-23 17:57:14 +02:00
Colin Watson
8d9470b2ba releasing version 2.76 2012-08-23 11:10:28 +01:00
Colin Watson
80c59a14fa Attempt to restrict task installation to the native architecture. 2012-08-23 10:56:35 +01:00
Colin Watson
31d3235a6e Pass --architectures to 'lb config', to make it easier to build images
for a different architecture.
2012-08-23 10:32:10 +01:00
Colin Watson
fb1add6993 reorganise changelog 2012-08-23 10:30:33 +01:00
Colin Watson
1a62c181f0 live-build/auto/config: Fix installation of ubuntu-server fstab removal
hook.
2012-08-23 09:53:09 +01:00
Colin Watson
dc1ab10bb4 live-build/auto/config: Don't try to install an empty task name when
building an image without a live task.
2012-08-23 09:44:35 +01:00
Colin Watson
314ade199f releasing version 2.75 2012-08-22 13:30:38 +01:00
Colin Watson
696d9b7900 Bump ubuntu-defaults-builder Breaks to (<< 0.32). 2012-08-22 13:29:21 +01:00
Colin Watson
51ab45ba63 * Adjust for live-build interface changes up to 3.0~a57-1ubuntu1.
* Break ubuntu-defaults-builder (<< 0.31) to account for these interface
  changes.
2012-08-22 13:23:46 +01:00
Stéphane Graber
2d76ebd241 releasing version 2.74 2012-08-20 19:37:46 -04:00
Stéphane Graber
2912599b8a Switch LTSP images to compressed squashfs to match new ltsp-update-image default 2012-08-20 19:36:55 -04:00
Adam Conrad
3de85abe65 * Add u-boot-tools to the installed set for all u-boot ARM images
* Remove ti-omap4-ppa from the omap4 images; it's no longer used
2012-07-25 06:39:45 -06:00
Colin Watson
5c8db81642 releasing version 2.72 2012-07-23 21:35:18 +01:00
Colin Watson
36cf7b73da Install a hook to remove /etc/fstab rather than building ubuntu-server
with --debian-installer=live; the latter has unwanted side-effects.
2012-07-23 21:34:25 +01:00
Colin Watson
4aab9e1f2f releasing version 2.71 2012-07-23 17:59:29 +01:00
Colin Watson
81749fc06b live-build/auto/config: Build ubuntu-server with
--debian-installer=live.
2012-07-23 17:41:40 +01:00
Colin Watson
203a20420e fix version number 2012-07-23 17:41:14 +01:00
Colin Watson
66fa0b385d live-build/auto/config: Don't purge .pyc files on ubuntu-server images. 2012-07-23 17:34:29 +01:00
Colin Watson
ac579ff6c7 releasing version 2.70 2012-07-22 23:45:51 +01:00
Colin Watson
2f81027260 live-build/auto/config: Don't install lupin-casper on ubuntu-server
images.
2012-07-22 23:45:18 +01:00
Colin Watson
8f12189aed releasing version 2.69 2012-07-06 12:40:59 +01:00
Colin Watson
dc8a6db099 live-build/auto/config: Add server task to ubuntu-server images. 2012-07-06 12:39:36 +01:00
Colin Watson
dfc3d14394 releasing version 2.68 2012-06-30 07:15:56 +01:00
Colin Watson
dd108cd397 BuildLiveCD: If the -p option was used, pass PROPOSED=1 to 'lb config'. 2012-06-30 07:13:25 +01:00
Colin Watson
483984e7b8 live-build/auto/config: Emit sources.list entries for -proposed if the
environment variable PROPOSED is set (LP: #1019514).
2012-06-30 07:12:22 +01:00
Adam Conrad
f0220ebc5c Switch i386 ubuntustudio to linux-lowlatency flavor (LP: #1018075) 2012-06-26 14:03:31 -06:00
Colin Watson
91e3a41670 releasing version 2.66 2012-06-11 12:50:32 +01:00
Colin Watson
8237b75b1f merge lp:~jr/livecd-rootfs/kubuntu-quantal 2012-06-11 12:49:54 +01:00
Jonathan Riddell
2cdb77f62a build kubuntu from universe 2012-06-11 12:29:23 +01:00
Adam Conrad
b0b6e0d9e5 * Add (extra-)override parsing to the preinstalled pool to make sure
we get task headers in the local pool for tasksel (LP: #819899)
* Move temp directories under config so they get cleaned properly
* Invoke apt-get update once with only the sources.list fragment
  for the local archive, so our package/task selection more closely
  mimics the CD experience (LP: #985258, #985737, #985280, #819900)
* Write out a standard sources.list entry for preinstalled systems
  that's similar to the one generated by installers (LP: #985291)
2012-04-20 12:12:06 -06:00
Colin Watson
b83c095cf4 releasing version 2.64 2012-03-23 14:22:21 +00:00
Colin Watson
21dd632813 Add minimal and standard tasks to Ubuntu Studio images (LP: #962585). 2012-03-23 14:21:08 +00:00
Adam Conrad
2a48564097 Add the ubiquity slideshow back to PREINSTALLED images 2012-03-22 12:50:41 -06:00
Colin Watson
9c104f0088 releasing version 2.62 2012-03-20 17:56:20 +00:00
Colin Watson
0a1f08abfb On Lubuntu and Xubuntu, only use the generic kernel on amd64 and i386. 2012-03-20 17:52:44 +00:00
Colin Watson
7d62e5972e releasing version 2.61 2012-03-19 12:53:56 +00:00
Colin Watson
9ebf586484 merge lp:~gilir/livecd-rootfs/lubuntu-non-pae 2012-03-19 12:53:07 +00:00
Colin Watson
209b5d36c8 Use lowlatency for Ubuntu Studio amd64, since lowlatency-pae is
i386-specific (LP: #959011).
2012-03-19 12:44:11 +00:00
Julien Lavergne
b0e90c34cc Use generic (non-PAE) kernel for Lubuntu (LP: #958866). 2012-03-18 23:32:54 +01:00
Colin Watson
ac594ae455 releasing version 2.60 2012-03-15 18:55:29 +00:00
Colin Watson
3faaed4d65 Use generic (non-PAE) kernel for Xubuntu (LP: #955009). 2012-03-15 18:54:42 +00:00
Colin Watson
5842f9dcb8 releasing version 2.59 2012-03-15 18:37:12 +00:00
Colin Watson
4bb8ff87a8 Switch Ubuntu Studio to lowlatency-pae kernel rather than lowlatency
(LP: #956250).
2012-03-15 18:35:11 +00:00
Colin Watson
b057142446 releasing version 2.58 2012-03-15 18:09:18 +00:00
Colin Watson
99c9a18ec9 Use lowlatency kernel for Ubuntu Studio (LP: #956250). 2012-03-15 18:08:33 +00:00
Adam Conrad
2154303cdf Move ac100-tarball-installer from install to live 2012-02-29 09:29:54 -07:00
Jonathan Riddell
1b106f4383 release 2012-02-22 14:56:36 +00:00
Jonathan Riddell
ca17c0aa97 replace kubuntu-mobile with kubuntu-active 2012-02-22 12:00:27 +00:00
Colin Watson
851feab05c whitespace 2012-02-17 15:39:29 +00:00
Colin Watson
3fbfad3c54 merge lp:~ivoks/livecd-rootfs/cloud-live 2012-02-17 15:37:26 +00:00
Ante Karamatic
21871c2cf6 Fix cloud-live PPA 2012-02-17 11:24:07 +01:00
Ante Karamatic
0e38e251b6 Add cloud-live to BuildLiveCD 2012-02-17 10:56:21 +01:00
Ante Karamatic
6d07934970 Add cloud-live project to livecd.sh 2012-02-17 10:52:37 +01:00
Colin Watson
2b2ec32bde releasing version 2.55 2012-02-02 14:16:04 +00:00
Colin Watson
a4b9d90547 Build Lubuntu with --no-install-recommends, to match its seed structure
(LP: #918401).
2012-02-02 14:15:03 +00:00
Adam Conrad
6e8f8ed1bb x-loader cleanup and ac100/zram addition 2012-01-25 22:38:37 -07:00
Colin Watson
1ab6564f87 releasing version 2.53 2012-01-23 19:46:40 +00:00
Colin Watson
4f3561553f live-build/auto/config: Fix ubuntustudio-dvd task selection. 2012-01-23 19:46:02 +00:00
Colin Watson
6f94f758c0 releasing version 2.52 2012-01-23 17:18:05 +00:00
Colin Watson
de480b4182 live-build/auto/config: Fix support for ubuntustudio-dvd project. 2012-01-23 17:15:22 +00:00
Colin Watson
14093ff8b5 releasing version 2.51 2012-01-20 23:24:59 +00:00
Colin Watson
b0706125a6 BuildLiveCD: Accept ubuntustudio-dvd as a valid project. 2012-01-20 23:23:42 +00:00
Colin Watson
0743515d28 releasing version 2.50 2012-01-20 20:51:43 +00:00
Colin Watson
4a791e1ce1 Add Ubuntu Studio support. 2012-01-20 20:50:58 +00:00
Colin Watson
73350531ad releasing version 2.49 2012-01-16 12:54:16 +00:00
Colin Watson
9f1f3716d6 Get live-build to divert update-initramfs while building the chroot.
This should cut a few minutes off builds, particularly on slow
architectures.
2012-01-16 12:53:03 +00:00
Adam Conrad
676604d27c Change maintainer to Ubuntu Developers 2012-01-12 07:28:16 -07:00
Colin Watson
e832a209a2 releasing version 2.48 2012-01-10 12:42:23 +00:00
Colin Watson
ba06389da7 Fix sense of live/preinstalled change in 2.46; add the live task for
non-preinstalled images, rather than only for preinstalled images.
2012-01-10 12:41:27 +00:00
Oliver Grawert
42fe59ceb5 releasing version 2.47 2012-01-10 12:47:36 +01:00
Oliver Grawert
25f8bd4b60 put ti-omap4-ppa into omap4 images 2012-01-10 12:46:38 +01:00
Adam Conrad
91ed063783 Stop adding LIVE_TASK for PREINSTALLED 2012-01-09 03:28:09 -07:00
Adam Conrad
eaf9412d2b Better living through braces 2011-12-05 15:23:43 -07:00
Adam Conrad
7bec127afe Guard legacy cloop code 2011-12-05 15:13:36 -07:00
Adam Conrad
c88c08c38a Whitespace fix 2011-12-05 11:05:16 -07:00
Adam Conrad
406c134d0e Add -A to getopts arg list and update default suite 2011-12-05 07:52:35 -07:00
Adam Conrad
ad021ffc9d armhf support and add -A to BuildLiveCD 2011-12-02 11:43:13 -07:00
Martin Pitt
d421df41f3 releasing version 2.43 2011-10-07 18:33:45 +02:00
Martin Pitt
d123ebed5e BuildLiveCD: Stop building ubuntu-defaults-image images with universe.
ubuntu-defaults-zh-cn is in main now, and it causes images to overflow
due to the extra /var/lib/apt/lists indexes.
2011-10-07 18:28:55 +02:00
Adam Conrad
6342ac0768 changelog typo in past revision 2011-10-06 19:38:27 -06:00
Adam Conrad
cba9538e00 explicit ubiquity frontend selection 2011-10-06 19:37:38 -06:00
Adam Conrad
2b0be84a60 re-enable swap on jasper images 2011-10-05 13:45:33 -06:00
Adam Conrad
7ba25854b4 Fix oem-config-remove on ac100 2011-09-28 15:29:01 -06:00
Adam Conrad
be43abb06f Explicitely select the oem-config frontend to install on a per-project basis 2011-09-26 19:26:45 -06:00
Evan Dandrea
54dbac47b3 releasing version 2.38 2011-09-22 10:54:34 +01:00
Evan Dandrea
33b17bb378 Add LP bug reference. 2011-09-22 10:31:02 +01:00
Evan Dandrea
bd5c64f842 Add main, restricted, universe, and multiverse to the sources.list
for Wubi disk images.
2011-09-22 10:30:17 +01:00
Colin Watson
21707d9554 releasing version 2.37 2011-09-14 12:17:09 +01:00
Colin Watson
6e2338bb4e Squash errors from 'ls vmlinu?-*'. 2011-09-14 12:14:59 +01:00
Colin Watson
e831b59f31 BuildLiveCD: Fix typo that broke installing ubuntu-defaults-builder and
its recommendations.
2011-09-12 17:52:08 +01:00
Oliver Grawert
8c2c4e3fd8 releasing version 2.36 2011-09-06 15:26:27 +02:00
Oliver Grawert
ca106b98d8 also store the size of the ac100 tarball in the initrd, since the tarball changes its name several times during build we need a second criteria to not loop over all availiable tarballs with md5sum at install time. 2011-09-06 15:21:25 +02:00
Colin Watson
d1c4e63396 BuildLiveCD: Install recommendations of ubuntu-defaults-builder. 2011-08-31 23:20:26 +01:00
Colin Watson
b5d3edf084 BuildLiveCD: Add subproject and ubuntu-defaults-image locale to error
mail subject.
2011-08-31 10:02:31 +01:00
Jani Monoses
6c0cc9d9e2 releasing version 2.35 2011-08-24 18:20:16 +03:00
Jani Monoses
1824be870d Set KERNEL_FLAVOURS for mx5. 2011-08-24 18:20:03 +03:00
Oliver Grawert
cfa03a2023 releasing version 2.34 2011-08-24 14:18:59 +02:00
Oliver Grawert
3e29c9be4a drop FLASH_KERNEL_SKIP from live-build config, add FLASH_KERNEL_SKIP explicitly to the post build ac100 update-initramfs chroot call 2011-08-24 14:17:46 +02:00
Colin Watson
f3c52732c9 releasing version 2.33 2011-08-24 12:28:44 +01:00
Colin Watson
083335c7c6 BuildLiveCD: Add the subproject (if any) and the ubuntu-defaults-image
locale (if any) to the output directory name.
2011-08-24 12:24:24 +01:00
Jani Monoses
4b7a89b829 releasing version 2.32 2011-08-24 14:17:06 +03:00
Jani Monoses
f8ec10b65a Fix kernel package name for mx5. 2011-08-24 14:14:56 +03:00
Colin Watson
d6388fcffe releasing version 2.31 2011-08-23 18:37:00 +01:00
Colin Watson
8d908a16d9 Add a -u option to BuildLiveCD which calls ubuntu-defaults-image. 2011-08-23 18:35:45 +01:00
Colin Watson
bc091c8edf Tolerate ubuntu-defaults-image's kernel renaming. 2011-08-23 18:34:47 +01:00
Colin Watson
87d6aa1876 Link binary.iso or binary-hybrid.iso, if found, into the output
directory for use by BuildLiveCD.
2011-08-23 18:28:44 +01:00
Oliver Grawert
8b7ceb5ab1 releasing version 2.30 2011-08-20 10:59:08 +02:00
Oliver Grawert
706313acd5 provide .bootimg as a link to .bootimg-$FLAVOUR similar to the naming scheme we use for initrd and kernel files. 2011-08-20 10:58:11 +02:00
Oliver Grawert
3e1b7a9511 releasing version 2.29 2011-08-19 14:29:23 +02:00
Oliver Grawert
340a68cd06 rename ac100 bootimage to something the build system can parse easier 2011-08-19 14:24:45 +02:00
Colin Watson
d900874196 releasing version 2.28 2011-08-19 10:57:36 +01:00
Colin Watson
6b7535e7ed Switch ubuntu-dvd to ubuntu-usb and ubuntu-usb-live tasks. 2011-08-19 10:56:30 +01:00
Oliver Grawert
768fedaa31 releasing version 2.27 2011-08-18 18:05:05 +02:00
Oliver Grawert
b6b65b0ff0 fix typo in abootimg call 2011-08-18 18:04:31 +02:00
Oliver Grawert
9850e88432 releasing version 2.26 2011-08-18 11:55:59 +02:00
Oliver Grawert
9a79132a0d make sure flash-kernel is not executed during build, this setting was not transitioned from livecd.sh yet 2011-08-18 11:55:27 +02:00
Oliver Grawert
d752d669f4 releasing version 2.25 2011-08-17 17:55:33 +02:00
Oliver Grawert
78a4e17ad8 make sure the md5sum of the rootfs tarball ends up in the initrd for ac100 installs, post process the ac100 kernel and initrd through abootimg to get a proper android bootimage 2011-08-17 17:54:44 +02:00
Oliver Grawert
5b4115149f releasing version 2.24 2011-08-16 15:41:12 +02:00
Oliver Grawert
70d233196e fix typo 2011-08-16 15:40:24 +02:00
Oliver Grawert
8a421b4955 releasing version 2.23 2011-08-16 14:50:41 +02:00
Oliver Grawert
457995bc68 ajdust ac100 package list, (temporary ?) suppress preinstall-pool on ac100 since it fails the build 2011-08-16 14:48:17 +02:00
Jani Monoses
d566df11b9 Add mx5 subarch support for Freescale i.MX53 2011-08-12 18:11:54 +03:00
Colin Watson
15164256d1 releasing version 2.22 2011-08-11 12:20:51 +01:00
Colin Watson
1981539d3d BuildLiveCD: Make sure livecd-rootfs is still installed in the chroot
after the dist-upgrade.
2011-08-11 12:19:25 +01:00
Colin Watson
ef8554343f changelog for previous commit 2011-08-11 12:18:45 +01:00
Adam Conrad
378d7b5e24 Switch a hardcoded "boot" to "$INITFS" in auto/build 2011-08-10 09:24:48 -06:00
Oliver Grawert
3bed73bc48 releasing version 2.21 2011-08-10 13:15:30 +02:00
Oliver Grawert
6ff8bfb69f make sure ac100 images have universe enabled since the kernel lives there 2011-08-10 13:14:30 +02:00
Oliver Grawert
26a117ed03 releasing version 2.20 2011-08-09 16:26:28 +02:00
Oliver Grawert
9a7130f307 add support for armel+ac100 2011-08-09 16:21:50 +02:00
Adam Conrad
18b87630d3 Release version 2.19 with preinstalled-package-pools support; see debian/changelog for more info 2011-07-27 16:22:21 -06:00
Adam Conrad
6cc16c830e dirty hack to make clean work with no default kernels, release 2.18 2011-07-15 18:23:03 -06:00
Adam Conrad
33db4c5420 Only set KERNEL_FLAVOURS to SUBARCH if SUBARCH is already set 2011-07-15 18:02:05 -06:00
Adam Conrad
82fe7a1d0e ubuntu-core, plain FS support, and minor fixes 2011-07-15 11:27:05 -06:00
Colin Watson
5a0bf694c9 releasing version 2.15 2011-07-14 18:28:13 +01:00
Colin Watson
b48b152420 Support generating different binary image types using
BINARYFORMAT=iso-hybrid and so on (although this won't actually work
until we create a syslinux-themes-ubuntu package).
2011-07-14 18:26:58 +01:00
Colin Watson
26e1a2bdf4 releasing version 2.14 2011-07-13 19:07:17 +01:00
Colin Watson
a539cb0b82 we need live-build (>= 3.0~a22-1ubuntu1) now 2011-07-13 19:06:25 +01:00
Colin Watson
2b452c428e * Handle package/task list changes in live-build 3.0~a22-1.
* Handle local sources.list changes in live-build 3.0~a22-1.
2011-07-13 19:05:05 +01:00
Evan Dandrea
bc6ad27315 releasing version 2.13 2011-07-06 17:25:40 +01:00
Evan Dandrea
ffb9021bee Didn't realize that you can pass multiple projects to BuildLiveCD.
Let's try SUBPROJECT using an argument.
2011-07-06 17:21:32 +01:00
Evan Dandrea
eac66eb1b1 releasing version 2.12 2011-07-06 17:00:28 +01:00
Evan Dandrea
c9ef6812ae Add missing commits. 2011-07-06 16:57:27 +01:00
Colin Watson
09a61a9aae releasing version 2.10 2011-07-06 13:27:32 +01:00
Colin Watson
99232ea1f1 Re-enable deb-src lines for Edubuntu (LP: #806428). 2011-07-06 13:25:42 +01:00
Adam Conrad
f725b7c13c Update 0c3.net mirror matching silliness to reflect the new world order 2011-07-01 11:59:14 +01:00
Adam Conrad
706521f27d s/headless/server/ and future-proofing ext4 use for preinstalled 2011-06-28 14:28:30 +01:00
Colin Watson
a72fba02e5 releasing version 2.8 2011-06-22 15:40:59 +01:00
Colin Watson
fbf929fe5c Use all_chroot_pyc-purge.sh hook from live-build 3.0~a21-1ubuntu4. 2011-06-22 15:38:27 +01:00
Colin Watson
8fa3e29c98 releasing version 2.7 2011-06-21 17:41:59 +01:00
Colin Watson
fbd336e164 Install xubuntu-live for xubuntu, not edubuntu-live (LP: #800211). 2011-06-21 17:41:03 +01:00
Colin Watson
2248b8b319 Handle local sources.list changes in live-build 3.0~a22-1. 2011-06-17 10:42:12 +01:00
Colin Watson
bfe9390724 Handle package/task list changes in live-build 3.0~a22-1. 2011-06-17 08:25:23 +01:00
Colin Watson
8556fff3e3 releasing version 2.6 2011-06-16 13:00:37 +01:00
Colin Watson
ed52d04be5 '--initramfs none' produces *.packages* outputs rather than *.manifest*;
handle this.
2011-06-16 12:50:31 +01:00
Colin Watson
eb6b328a41 releasing version 2.5 2011-06-15 14:40:55 +01:00
Colin Watson
cf4aaa47ce Set --chroot-filesystem option if IMAGEFORMAT is ext2 or ext3. 2011-06-15 14:40:01 +01:00
Colin Watson
65d456a436 Add Lubuntu support. 2011-06-15 13:30:40 +01:00
Colin Watson
835b2be242 Pass correct IMAGEFORMAT through to live-build from BuildLiveCD. 2011-06-15 10:21:36 +01:00
Colin Watson
7bd21e9406 releasing version 2.4 2011-06-15 10:15:59 +01:00
Colin Watson
c96aa15cea Remove old config directory before creating a new configuration. 2011-06-15 10:15:14 +01:00
Colin Watson
b02c8d8cdd releasing version 2.3 2011-06-14 09:18:21 +01:00
Colin Watson
e9cd756c36 Anchor regex to avoid misdetecting vmlinux-3.0-0-powerpc64-smp as a
powerpc flavour kernel.
2011-06-14 09:09:06 +01:00
Colin Watson
5b53e147aa Set pipefail (bash-specific) in auto/build so that we fail immediately
if the main image build fails.
2011-06-14 08:58:46 +01:00
Colin Watson
358f12f48d releasing version 2.2 2011-06-14 08:31:55 +01:00
Colin Watson
5c06f0c3bd Pass --linux-flavours to lb config if necessary. 2011-06-14 08:30:06 +01:00
Colin Watson
65f8b1b771 releasing version 2.1 2011-06-13 23:33:52 +01:00
Colin Watson
d6f42085fc Switch from --binary-remove-linux to config/binary_rootfs/excludes. 2011-06-13 23:32:35 +01:00
Colin Watson
fafd476b60 Fix permissions in BuildLiveCD when setting up auto directory. 2011-06-13 20:23:45 +01:00
Colin Watson
4b8ada68cd Fix ordering of log file creation in BuildLiveCD. 2011-06-13 19:43:13 +01:00
Colin Watson
f064f5b1e6 releasing version 2.0 2011-06-13 12:37:38 +01:00
Colin Watson
bde83594ee Add live-build support. The old livecd.sh is still here for
compatibility, but this package's primary purpose is now to provide
Ubuntu-specific configuration for live-build.
2011-06-13 12:35:03 +01:00
Colin Watson
b31062605d build LTSP chroot on edubuntu-dvd/i386 2011-06-13 12:31:37 +01:00
Colin Watson
bc24923689 add live-build handling to BuildLiveCD 2011-06-13 12:25:14 +01:00
Colin Watson
29e4d6c6d3 avoid some unnecessary work in lb_binary 2011-06-13 12:24:44 +01:00
Colin Watson
97f056d3b6 link output files to BuildLiveCD-compatible locations 2011-06-13 12:24:12 +01:00
Colin Watson
15e23d2de5 make it easier to use a custom mirror 2011-06-13 11:50:09 +01:00
Colin Watson
2403a1d29c versioned live-build dependency 2011-06-13 10:46:26 +01:00
Colin Watson
98495f7da0 flash-kernel now handled in live-build 2011-06-13 10:45:52 +01:00
Colin Watson
044c08ce0f --package-lists none (we use task lists instead) 2011-06-11 23:45:06 +01:00
Colin Watson
b1754e4352 fix package/task list paths 2011-06-11 23:34:13 +01:00
Colin Watson
173f96fd68 remove stale TODO 2011-06-11 23:33:39 +01:00
Colin Watson
e4389e439f update for changes in live-build 3.0~a20-1 2011-06-11 18:20:32 +01:00
Colin Watson
944188fa4d --packages is being removed, so create a local package list instead 2011-06-11 11:37:14 +01:00
Colin Watson
d903b8b9af start live-build configuration 2011-06-10 18:59:01 +01:00
Colin Watson
94401729d8 releasing version 1.167 2011-05-29 21:11:26 +01:00
Colin Watson
a0f5ba2ac3 Drop language-support-en from LIVELIST for kubuntu-mobile and
kubuntu-netbook; it's not in the oneiric archive any more, and the
necessary packages are already in the respective tasks.
2011-05-29 21:10:28 +01:00
Colin Watson
b839efaa5d releasing version 1.166 2011-04-07 11:41:49 +01:00
Colin Watson
c3139fc2c7 Make the output kernel world-readable, since it was changed to be
world-unreadable in linux 2.6.38-8.40.
2011-04-07 11:40:54 +01:00
Oliver Grawert
434340f3f5 releasing version 1.165 2011-03-16 12:10:12 +01:00
Oliver Grawert
d55193e0b9 Drop the hack that removes ubiquity-slideshow-* on armel, webkit works again 2011-03-16 12:09:40 +01:00
Colin Watson
f40f997ac5 releasing version 1.164 2011-03-14 10:04:32 +00:00
Jonathan Carter
df2a325b8a Use Edubuntu theming for Edubuntu LTSP chroot. 2011-03-14 10:03:25 +00:00
521 changed files with 19644 additions and 1272 deletions

View File

@ -1,167 +0,0 @@
#!/bin/bash
BUILD_LOG=~/public_html/BuildLive.out
ALWAYS_SEND_LOG=yes
finish() {
[ $? != "0" ] && STATUS="Failed" || STATUS="Successful"
if [ "$STATUS" = "Failed" ] || [ "$ALWAYS_SEND_LOG" = "yes" ]; then
SEND_LOG=yes
fi
if [ -e "$LOG" ]; then
echo "======================= Log of livefs.sh output follows ======================="
cat $LOG
fi
if [ "$SEND_LOG" = "yes" ]; then
exec >/dev/null 2>&1
mailx -s "LiveCD: $STATUS $STE:$arg${SUBARCH:+-$SUBARCH} build on ${ARCH}" buildd+porters < "$BUILD_LOG"
fi
rm -f ~/buildLiveCD.lock
nohup ~/bin/pruneLiveCD >/dev/null 2>&1 &
}
if [ -n "$SSH_ORIGINAL_COMMAND" ]; then
set -- $SSH_ORIGINAL_COMMAND
[ ${1##*/} != 'BuildLiveCD' ] && echo bad command >&2 && exit 2
shift
fi
ARCH=$(dpkg --print-architecture)
SUBARCH=""
SUBARCHARG=""
NEWSUITE="natty"
SUITES=""
PROPOSED=""
IMAGEFORMAT=""
while getopts :s:d:f:pa: name; do case $name in
s) SUBARCH="$OPTARG";;
d) NEWSUITE="$OPTARG";;
f) IMAGEFORMAT="-f$OPTARG";;
p) PROPOSED="-p";;
a) APT_SOURCE="-A $OPTARG";;
esac; done;
shift $((OPTIND-1))
if [ -n "$SUBARCH" ]; then
SUBARCHARG="-s$SUBARCH"
fi
for s in $NEWSUITE; do
if [ -d build-${s}-live/chroot-${s} ]; then SUITES="$SUITES $s"; fi
done
if [ -z "$SUITES" ]; then
echo "No valid suites to build for" >&2 && exit 1
fi
for s in $SUITES; do
case $s in
dapper|edgy|feisty|gutsy|hardy)
ARCHARG=""
old_suite="yes"
;;
*)
ARCHARG="-a$ARCH"
new_suite="yes"
;;
esac
done
if [ "$new_suite" = "yes" ] && [ "$old_suite" = "yes" ]; then
echo "Can't build images for suites older than intrepid and suites" >&2
echo "greater than hardy at the same time, please use two invocations" >&2
exit 1
fi
if (( $# == 0 )) || [ "X$1" = "Xall" ]; then
set -- ubuntu kubuntu kubuntu-mobile kubuntu-netbook edubuntu xubuntu mythbuntu base
if [ "$ARCH" = "i386" ]; then
set -- ubuntu ubuntu-dvd ubuntu-lpia ubuntu-netbook kubuntu kubuntu-dvd kubuntu-mobile kubuntu-netbook edubuntu edubuntu-dvd xubuntu mythbuntu base
fi
fi
case ${ARCH} in
hppa|sparc|powerpc) LINUX32=linux32;;
*) LINUX32="";;
esac
for arg in "$@"; do
case "$arg" in
*ubuntu|*ubuntu-dvd|kubuntu-mobile|kubuntu-netbook|ubuntu-lpia|ubuntu-mid|ubuntu-umpc|ubuntu-mobile|ubuntu-netbook|ubuntu-moblin-remix|mythbuntu|base|tocd|ubuntu-headless) ;;
*)
echo "bad project: $arg" >&2
exit 2
;;
esac
done
if [ "`echo $@ | wc -w`" -gt "1" ]; then
for arg in "$@"; do
$0 $arg
done
exit 0
fi
lockfile ~/buildLiveCD.lock || exit 1
trap "finish" 0
trap "rm -f ~/buildLiveCD.lock; exit 1" 1 2 3 15
exec > $BUILD_LOG 2>&1
set -e
for STE in $SUITES; do
if [ -d ~/build-${STE}-live/chroot-${STE} ]; then
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -qq update || true
sudo chroot ~/build-${STE}-live/chroot-${STE} apt-get -y dist-upgrade || true
fi
done
for STE in $SUITES; do
if cd ~/build-${STE}-live 2>/dev/null; then
DIR=~/build-${STE}-live/chroot-${STE}/./build/
else
cd ~/build.live
DIR=~/build.live/chroot-${STE}/./build/
fi
for arg in "$@"; do
PUBDIR=~/public_html/LiveCD/${STE}/${arg}${SUBARCH:+-$SUBARCH}/
mkdir -p ${PUBDIR}
NOW=$(date +%Y%m%d)
if [ -d ${PUBDIR}${NOW} ]; then
typeset -i n=1; while [ -d ${PUBDIR}${NOW}.$n ]; do n=n+1; done
NOW=${NOW}.$n
fi
NOW=${NOW}
LOG=${PUBDIR}${NOW}/livecd-${NOW}-${ARCH}.out
rm -f ${PUBDIR}latest
ln -sf ${PUBDIR}${NOW} ${PUBDIR}latest
mkdir -p ${PUBDIR}${NOW}
if $LINUX32 sudo chroot ${DIR%/./*} sh -c "cd /${DIR#*/./} && /usr/sbin/livecd.sh ${SUBARCHARG} ${APT_SOURCE} ${PROPOSED} -d${STE} ${IMAGEFORMAT} ${ARCHARG} ${IMAGEARG} $arg" > ${LOG} 2>&1; then
rm -f ${PUBDIR}current
ln -sf ${NOW} ${PUBDIR}current
for file in ${DIR}livecd.*; do
if [ -f ${file} ]; then
ext=${file##*.}
base=${file%.*}; base=${base##*/}
sudo chown buildd ${file}
sudo mv ${file} ${PUBDIR}${NOW}/${base}-${NOW}-${ARCH}.${ext}
ln -sf ${base}-${NOW}-${ARCH}.${ext} ${PUBDIR}${NOW}/${base}.${ext}
fi
done
for f in ${PUBDIR}${NOW}/livecd.*.cloop-*; do
target=${f%-*}
if [ ! -f ${target} ]; then
for fsbs in 4096:4096 1024:65536; do
if [ -f ${target}-${fsbs} ]; then
ln -sf ${target##*/}-${fsbs} ${target}
break
fi
done
if [ ! -f ${target} ]; then
best=$(ls -ld ${target}-* | sort -k5,5n| awk '{print $NF; quit}')
ln -sf ${best##*/} ${target}
fi
fi
done
else
exit 1
fi
done
done

63
auto-markable-pkgs Executable file
View File

@ -0,0 +1,63 @@
#!/usr/bin/python3
"""List the packages which could be automatically installed without becoming autoremovable
Finds all manually installed meta packages, and prints their dependencies
which could be marked as automatically installed.
"""
import sys
import apt
def is_root(pkg):
"""Check if the package is a root package (manually inst. meta)"""
section = pkg.candidate.section if pkg.candidate else ""
return (pkg.is_installed and
not pkg.is_auto_installed and
(section == "metapackages" or
section.endswith("/metapackages")))
def main():
"""Main function"""
cache = apt.Cache(rootdir=sys.argv[1] if len(sys.argv) > 1 else None)
roots = set(pkg for pkg in cache if is_root(pkg))
workset = set(roots)
seen = set()
ubiquity_depends = set()
with cache.actiongroup():
while True:
print("Iteration", file=sys.stderr)
to_proc = workset - seen
if not to_proc:
break
for pkg in sorted(to_proc):
print(" Visiting", pkg, file=sys.stderr)
if pkg not in roots and pkg not in ubiquity_depends:
if not pkg.is_auto_installed:
print(pkg.name)
for dep in (pkg.installed.dependencies +
pkg.installed.recommends):
for bdep in dep.or_dependencies:
for ver in bdep.target_versions:
if ver.package.is_installed:
if pkg.name == "ubiquity":
ubiquity_depends.add(ver.package)
if pkg.name != "ubiquity":
# Reprocess this package again, as we did not mark it when we visited it from ubiquity
try:
ubiquity_depends.remove(ver.package)
# This will raise the KeyError here if ubiquity did not depend on it
seen.remove(ver.package)
except KeyError:
pass
workset.add(ver.package)
seen.add(pkg)
if __name__ == '__main__':
main()

23
checkout-translations-branch Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
set -eux
branch=$1
dir=$2
target="$(readlink -f "${3}")"
tmpdir="$(mktemp -d)"
cd "${tmpdir}"
cleanup () {
rm -rf "${tmpdir}"
}
trap cleanup EXIT
mkdir -p $target
git clone $branch checkout
for po in checkout/$dir/*.po; do
msgfmt "${po}" -o "${target}/$(basename "${po}" .po).mo"
done

1
debian/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
files

8986
debian/changelog vendored

File diff suppressed because it is too large Load Diff

1
debian/compat vendored
View File

@ -1 +0,0 @@
7

54
debian/control vendored
View File

@ -1,15 +1,55 @@
Source: livecd-rootfs Source: livecd-rootfs
Section: devel Section: devel
Priority: optional Priority: optional
Build-Depends: debhelper (>= 7) Build-Depends: debhelper-compat (= 13)
Maintainer: LaMont Jones <lamont@ubuntu.com> Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Standards-Version: 3.6.1.0 Standards-Version: 4.7.0
Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk Vcs-Git: https://git.launchpad.net/livecd-rootfs -b ubuntu/master
Vcs-Browser: https://git.launchpad.net/livecd-rootfs
Rules-Requires-Root: no
Package: livecd-rootfs Package: livecd-rootfs
Architecture: all Architecture: any
Depends: ${misc:Depends}, debootstrap, rsync, python-minimal | python, procps, squashfs-tools (>= 1:3.3-1), grep-dctrl, fdupes, lsb-release, lzma, e2fsprogs Depends: ${misc:Depends},
Suggests: partimage apt-utils,
attr,
debootstrap,
devscripts,
distro-info,
dosfstools,
e2fsprogs,
gdisk,
genisoimage,
germinate (>= 1.25.1),
gettext,
git,
gnupg,
grep-dctrl,
kpartx,
live-build (>= 3.0~a57-1ubuntu31~),
lsb-release,
lzma,
make,
mount,
mtools [!i386],
parted,
procps,
python3,
python3-apt,
python3-launchpadlib [!i386],
python3-yaml,
qemu-utils [!i386],
rsync [!i386],
snapd (>= 2.39) [!i386],
squashfs-tools (>= 1:3.3-1),
sudo,
u-boot-tools [arm64 armhf],
python3-vmdkstream [amd64 i386],
xorriso [!i386],
xz-utils,
zerofree,
zstd
Breaks: ubuntu-defaults-builder (<< 0.32)
Description: construction script for the livecd rootfs Description: construction script for the livecd rootfs
livecd-rootfs provides the script used to create the root filesystem livecd-rootfs provides the script used to create the root filesystem
on the livecd. on the livecd.

9
debian/copyright vendored
View File

@ -1,5 +1,4 @@
livecd.sh is copyright (c) 2004-2007 by Canonical Ltd. live-build/* is copyright (c) 2004-2016 by Canonical Ltd.
e2fs-zero.py is copyright (c) 2005 by Paul Sladen
These programs are free software; you can redistribute and/or modify These programs are free software; you can redistribute and/or modify
them under the terms of the GNU General Public License as published by them under the terms of the GNU General Public License as published by
@ -12,8 +11,12 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details. General Public License for more details.
You should have received a copy of the GNU General Public License with You should have received a copy of the GNU General Public License with
your Ubuntu system, in /usr/share/common-licenses/GPL, or with the your Ubuntu system, in /usr/share/common-licenses/GPL-2, or with the
livecd-rootfs source package as the file COPYING. If not, write to livecd-rootfs source package as the file COPYING. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA. Boston, MA 02110-1301 USA.
Files: live-build/ubuntu-cpc/hooks/raspi2/mkknlimg
Copyright: 2009,2010 Dick Streefland <dick@streefland.net>
2014,2015 Raspberry Pi (Trading) Limited <info@raspberrypi.org>
License: GPL-2+

1
debian/examples vendored
View File

@ -1 +0,0 @@
BuildLiveCD

4
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
debian-branch=ubuntu/master
debian-tag = %(version)s
dch-opt = --vendor=debian

8
debian/install vendored
View File

@ -1 +1,7 @@
livecd.sh e2fs-zero.py usr/sbin auto-markable-pkgs usr/share/livecd-rootfs
live-build usr/share/livecd-rootfs
get-ppa-fingerprint usr/share/livecd-rootfs
minimize-manual usr/share/livecd-rootfs
checkout-translations-branch usr/share/livecd-rootfs
update-source-catalog usr/share/livecd-rootfs
sync-mtime usr/share/livecd-rootfs

10
debian/livecd-rootfs.lintian-overrides vendored Normal file
View File

@ -0,0 +1,10 @@
# This is expected and okay
livecd-rootfs: service-file-is-not-a-file [usr/share/livecd-rootfs/*.service]
livecd-rootfs: uses-dpkg-database-directly [usr/share/livecd-rootfs/live-build/lb_chroot_layered]
livecd-rootfs: package-contains-no-arch-dependent-files
# Developer documentation in an already-expected spot
livecd-rootfs: package-contains-documentation-outside-usr-share-doc [usr/share/livecd-rootfs/live-build/ubuntu-cpc/README.cpc.md]
# This is going to occur quite a bit; we're making a livefs
livecd-rootfs: repeated-path-segment * [*]

15
debian/rules vendored
View File

@ -1,3 +1,18 @@
#! /usr/bin/make -f #! /usr/bin/make -f
%: %:
dh $@ dh $@
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
override_dh_auto_test:
dh_auto_test
set -e; for x in live-build/auto/*; do \
sh -n "$$x"; \
done
override_dh_install:
dh_install
find debian/livecd-rootfs -type f -print0 | \
xargs -0r grep -lZ '@DEB_HOST_MULTIARCH@' | \
xargs -0r \
sed -i 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g'

5
debian/source/lintian-overrides vendored Normal file
View File

@ -0,0 +1,5 @@
# This is expected and okay
livecd-rootfs source: absolute-symbolic-link-target-in-source * [live-build/*]
# The description indicates that it's not required in debhelper >= 13, which we have
livecd-rootfs source: override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS [debian/rules:*]

7
debian/tests/control vendored Normal file
View File

@ -0,0 +1,7 @@
Tests: default-bootstraps
Depends: @, lsb-release
Restrictions: needs-root isolation-machine allow-stderr
Tests: minimized
Depends: @, lsb-release
Restrictions: needs-root isolation-machine allow-stderr

92
debian/tests/default-bootstraps vendored Executable file
View File

@ -0,0 +1,92 @@
#!/bin/sh
# autopkgtest check: Build default rootfs for all supported project:subproject pairs
# (C) 2017 Canonical Ltd.
# Author: Balint Reczey <balint.reczey@canonical.com>
set -e
if [ -z "$SUITE" ]; then
SUITE=$(lsb_release -c -s)
fi
# Known project:subproject:template combinations.
# Listed subprojects can be combined with other projects as well,
# but this list gives reasonable coverage.
ALL_TRIPLETS="
edubuntu::
kubuntu::
lubuntu::
ubuntu-unity::
ubuntu::
ubuntu-base::
ubuntu-base:buildd:
ubuntu-budgie::
ubuntu-budgie-desktop::
ubuntu-budgie-live::
ubuntucinnamon::
ubuntu-core:system-image:ubuntu-core
ubuntu-cpc::ubuntu-cpc
ubuntu-cpc:minimized:ubuntu-cpc
ubuntu-dvd::
ubuntukylin::
ubuntu-mate::
ubuntu-mate-core::
ubuntu-mate-desktop::
ubuntu-mate-live::
ubuntu-server:live:ubuntu-server
xubuntu::
xubuntu:minimal:"
ARCH=$(dpkg --print-architecture)
if [ -z "$SELECTED_TRIPLETS" ]; then
SELECTED_TRIPLETS="
ubuntu-base::
ubuntu-cpc::ubuntu-cpc
"
if [ "$ARCH" = amd64 ]; then
SELECTED_TRIPLETS="$SELECTED_TRIPLETS
ubuntu::"
fi
fi
live_build_rootfs() {
PROJECT=${1%%:*}
local SUBPROJECT_TMP=${1%:*}
SUBPROJECT=${SUBPROJECT_TMP#*:}
TEMPLATE=${1##*:}
echo "Building rootfs for project: '$PROJECT' subproject: '$SUBPROJECT' template: '$TEMPLATE' in $PWD"
cp -a /usr/share/livecd-rootfs/live-build/auto .
if [ -n "$TEMPLATE" ]; then
cp -a /usr/share/livecd-rootfs/live-build/$TEMPLATE .
fi
env PROJECT=$PROJECT \
SUBPROJECT=$SUBPROJECT \
SUITE=$SUITE \
ARCH=$ARCH \
NOW=$(date '+%Y%m%d') \
lb config
mkdir chroot
# this part needs root rights, but right now the whole script ran as root by autopkgtest
env PROJECT=$PROJECT \
SUBPROJECT=$SUBPROJECT \
ARCH=$ARCH \
NOW=$(date '+%Y%m%d') \
lb build
echo "Build results for project: '$PROJECT' subproject: '$SUBPROJECT' template: '$TEMPLATE' in $PWD"
du -sh *
echo ""
}
[ -d /adt ] || mkdir /adt
WORKDIR=$(mktemp -d -p /adt)
trap "RET=\$?; rm -rf $WORKDIR; exit \$RET" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR
for i in $SELECTED_TRIPLETS; do
mkdir $i
(cd $i && live_build_rootfs $i)
# clean up after build to avoid filling the disk, needs root rights
rm -rf $i
done

3
debian/tests/minimized vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
env SELECTED_TRIPLETS=ubuntu-cpc:minimized:ubuntu-cpc debian/tests/default-bootstraps

View File

@ -1,235 +0,0 @@
#!/usr/bin/env python
# Copyright Paul Sladen <code@paul.sladen.org>, 2005-05-14
# You may use this work under the terms of the GNU GPL.
#
# Synopsis:
# 1. call dumpe2fs /dev/xxxx | grep -E '^( Free blocks: |Block size:)'
# 2. decode Block size, eg. 4096 bytes
# 3. decode ranges of Free blocks, like: 123, 132-145, 149-150, 167
# 4. open '/dev/xxxx' for writing
# 5. seek to each location (block_number * block_size) and write lots of NUL
# 6. profit
"""\
e2fszero 0.1 (2005-05-14)
Usage: e2fs-zero [-h] [-v] [-w|-n] ext2-filesystem
Zero unused blocks in an Ext2 Filesystem, to increase compression and rsyncability.
-h --help this message
-v --verbose extra information
-n --dryrun disable writing to the filesystem
-w --write enable writing to the filesystem (default)
Note: This program relies on 'dumpe2fs' to do the dangerous calculations!
NOTE: YES, THIS PROGRAM REALLY WILL OVERWRITE (bits of) YOUR FILESYSTEM WITH NULLS\
"""
DUMPE2FS = '/sbin/dumpe2fs'
import os, sys
# messages
verbose = False
# enable writing operations
dangerous = False
def main():
global verbose, dangerous, DUMPE2FS
# catch people who need usage help
# this is the worst and more incorrect piece of code in here
leftover = []
for fight in sys.argv[1:]:
if fight == '-v' or fight == '--verbose':
verbose = True
continue
elif fight == '-n' or fight == '--dryrun':
dangerous = False
continue
elif fight == '-w' or fight == '--write':
dangerous = True
continue
elif fight[0] == '-':
print __doc__
sys.exit()
leftover.append(fight)
#print `leftover`
try:
if len(leftover) != 1:
raise 'ArgumentError'
filesystem = leftover[0]
if len(filesystem) <= 0:
raise 'NoFilesystemName'
except:
print >> sys.stderr, __doc__
sys.exit()
# We need access to the filesystem image (either a block device or a very large file)
# and we also need to have 'dumpe2fs', otherwise we can't open a pipe() from it.
try:
stat = os.stat(filesystem)
stat = os.stat(DUMPE2FS)
# Might aswell just let the user see any stderr errors from dumpe2fs,
# although annoying it prints a banner first
#out, err = os.popen3("%s '%s'" % (DUMPE2FS, filesystem))[1:]
sys.stderr.write('calling ')
pipe = os.popen("%s '%s'" % (DUMPE2FS, filesystem))
except OSError:
print >> sys.stderr, "$(PROGRAM): can't access $(filesystem), try --help"
# We're looking for the following lines from dumpe2fs, in order, and ignoring the rest:
# Filesystem volume name: <none>
# Free blocks: 134859
# Block size: 4096
# Free blocks: 1123, 1345-1456, 1567, 1678-1789
# Free blocks: 2123-2345, 2456-2567, 2678, 2789
s = pipe.readline()
if s <= 'Filesystem volume name:':
raise "Failed to parse correct dumpe2fs output"
# 'Free blocks:'
while not s.startswith('Free blocks:') and len(s) > 0:
s = pipe.readline()
try:
free_blocks = int(s.strip().split(': ')[1])
except:
raise "Failed to parse unused block count ('Free blocks:')"
if verbose:
print "Detected filsystem contains %d free blocks" % (free_blocks)
# 'Block size:'
while not s.startswith('Block size:') and len(s) > 0:
s = pipe.readline()
try:
block_size = int(s.strip().split(': ')[1])
except:
raise "Failed to parse filesystem block-size ('Block size:')"
if verbose:
print "Detected filsystem block_size = %d bytes" % (block_size)
# 'Free blocks:' (multiple entries, one per Ext2 "group")
free_ranges = []
while True:
while len(s) and not s.startswith(' Free blocks:'):
try:
s = pipe.readline()
except:
raise "failed to read"
# Detect EOF
if not len(s):
break
#print len(s), `s`
# Strip the label: and separate the commas
try:
#print `s.strip()`
free_ranges += s.split(': ', 1)[1].strip().split(', ')[:]
except:
print >> sys.stderr, `s`
raise "Failed to parse free_ranges (' Free blocks:')"
s = pipe.readline()
#print `free_ranges`
# Turn the strings into integer lists of useful free blocks
# 'blocks' contains each free blocks and get _very_ big
# 'wipes' contains [offset, length] pairs
record_blocks = False
record_wipes = True
blocks = []
wipes = []
free_block_count = 0
for egg in free_ranges:
if len(egg) > 0:
# Assuming this ext2 group has some spare space in it...
try:
# Find some ranges (Ranges are inclusive, eg. 172-184)
if egg.find('-') > 0:
#blocks += range(*map(int, egg.split('-')))
a, b = egg.split('-')
if record_blocks: blocks += range(int(a), int(b) + 1)
if record_wipes: wipes.append([block_size * int(a), block_size * (int(b) - int(a) + 1)])
free_block_count += int(b) - int(a) + 1
# But some are singular (eg. '199') is just one free block on its own
else:
if record_blocks: blocks += [int(egg)]
if record_wipes: wipes.append([block_size * int(egg), block_size])
free_block_count += 1
except:
# since we're nearly at the point of writing to the disk,
# it probably better to just safely roll over and die
print "Bzzzz on trying to decode " + `egg`
blocks.sort()
#print len(blocks), `blocks`
if verbose:
print len(wipes), 'offset/length pairs', `wipes`
if verbose or free_blocks != free_block_count:
print "Free blocks; parsed: %d, decoded: %d" % (free_blocks, free_block_count)
if free_blocks != free_block_count:
raise 'Decoded Free blocks do not match count in filesystem!'
perform_wipe(filesystem, wipes)
WRITE_SIZE = 2**18
PADDING = '\0'
# fstream file-access [open/f.write/f.tell] seems to have some
# grave funnyiness that causes the file to be randomly truncated.
# Since I spent a good while tearing my hair out over this, I've
# changed it to just use the normal POSIX os.open/os.write/close
# Here we take the offset/length pairs decoded above, open the
# ext2 filesystem image and overwrite the unused areas.
# it would be handy to truncate areas (make them sparse) so that they
# don't actually take up space on disk to...
def perform_wipe(filename, wipes = [[0, 0]]):
progress_counter = 0.0
percentage = 100.0 / len(wipes)
empty_space = PADDING * WRITE_SIZE
#f = open(filename, 'w')
if dangerous:
mode = os.O_WRONLY|os.EX_CANTCREAT
else:
mode = os.O_RDONLY|os.EX_CANTCREAT
fd = os.open(filename, mode)
# Don't waste space on a tty, display a progress percentage instead.
if sys.stdout.isatty():
end = '\r'
else:
end = '\n'
for offset, length in wipes:
progress_counter += percentage
sys.stdout.write("wiping position %16d for %16d bytes (%5.1f%%)%s" %
(offset, length, progress_counter, end))
#f.seek(offset)
os.lseek(fd, offset, 0)
#print 'currently at (before) ' + `f.tell()`
#print 'currently at (before) ' + `os.tell(fd)`
# only write 256kB at a time, since we can stick that in a buffer
# and not have Python regenerate HUGE arrays each time
if 1:
while length >= WRITE_SIZE and length > 0:
#f.write(empty_space)
#length -= WRITE_SIZE
if dangerous:
length -= os.write(fd, empty_space)
else:
length -= WRITE_SIZE
#f.write('\xaa' * length)
#f.write('hello')
if dangerous:
os.write(fd, PADDING * length)
#print 'currently at (after) ' + `f.tell()`
#print 'currently at (after) ' + `os.tell(fd)`
#f.close()
os.close(fd)
if sys.stdout.isatty():
print
if verbose:
print 'All done! Hopefully your filesystem is not toast.'
if __name__ == '__main__':
main()

15
get-ppa-fingerprint Executable file
View File

@ -0,0 +1,15 @@
#! /usr/bin/python3
from __future__ import print_function
from launchpadlib.launchpad import Launchpad
from optparse import OptionParser
parser = OptionParser(usage="%prog OWNER/NAME")
_, args = parser.parse_args()
if not args:
parser.error("must provide a PPA owner/name")
owner_name, ppa_name = args[0].split("/", 1)
lp = Launchpad.login_anonymously('livecd-rootfs', 'production', version='devel')
print(lp.people(owner_name).getPPAByName(name=ppa_name).signing_key_fingerprint)

View File

@ -0,0 +1 @@
0xffffff

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm block_suspend audit_read perfmon bpf checkpoint_restore

View File

@ -0,0 +1 @@
acquire send receive

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
1.2

View File

@ -0,0 +1 @@
create read write exec append mmap_exec link lock

View File

@ -0,0 +1 @@
sqpoll override_creds

View File

@ -0,0 +1 @@
create read write open delete setattr getattr

View File

@ -0,0 +1 @@
mount umount pivot_root

View File

@ -0,0 +1 @@
detached

View File

@ -0,0 +1 @@
userns_create

View File

@ -0,0 +1 @@
no

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
pciu&

View File

@ -0,0 +1 @@
unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp

View File

@ -0,0 +1 @@
file

View File

@ -0,0 +1 @@
0x000001

View File

@ -0,0 +1 @@
allow deny subtree cond kill complain prompt audit quiet hide xindex tag label

View File

@ -0,0 +1 @@
0x000003

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
0x000001

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
read trace

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
allow deny audit quiet

View File

@ -0,0 +1 @@
cpu fsize data stack core rss nproc nofile memlock as locks sigpending msgqueue nice rtprio rttime

View File

@ -0,0 +1 @@
hup int quit ill trap abrt bus fpe kill usr1 segv usr2 pipe alrm term stkflt chld cont stop stp ttin ttou urg xcpu xfsz vtalrm prof winch io pwr sys emt lost

View File

@ -0,0 +1 @@
0xffffff

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm block_suspend audit_read perfmon bpf checkpoint_restore

View File

@ -0,0 +1 @@
acquire send receive

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
1.2

View File

@ -0,0 +1 @@
create read write exec append mmap_exec link lock

View File

@ -0,0 +1 @@
sqpoll override_creds

View File

@ -0,0 +1 @@
create read write open delete setattr getattr

View File

@ -0,0 +1 @@
mount umount pivot_root

View File

@ -0,0 +1 @@
detached

View File

@ -0,0 +1 @@
userns_create

View File

@ -0,0 +1 @@
no

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
pciu&

View File

@ -0,0 +1 @@
unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp mctp

View File

@ -0,0 +1 @@
yes

View File

@ -0,0 +1 @@
yes

Some files were not shown because too many files have changed in this diff Show More