Commit Graph

390 Commits

Author SHA1 Message Date
Avi Deitcher
55e13c914e containerd to 1.7.20
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-07-18 20:51:31 +03:00
Avi Deitcher
7977310c52 tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 20:51:04 +02:00
Avi Deitcher
8bd896a955 tools/alpine: Update to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 20:50:01 +02:00
Avi Deitcher
7276939ad2 Update linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 20:47:44 +02:00
Avi Deitcher
d9027d543d tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 15:30:18 +02:00
Avi Deitcher
1676b1a538 tools/alpine: Update to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 15:29:14 +02:00
Avi Deitcher
59bae229c2 Update linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 15:26:51 +02:00
Avi Deitcher
a538a1efcf tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 10:53:56 +02:00
Avi Deitcher
09c85aa0ad tools/alpine: Update to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 10:53:19 +02:00
Avi Deitcher
6c4eac84c2 Update linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-28 10:50:35 +02:00
Avi Deitcher
6db6bc84aa tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-27 22:26:58 +02:00
Avi Deitcher
86382030f5 tools/alpine: Update to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-27 22:25:54 +02:00
Avi Deitcher
55fe1761e3 Update linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-27 22:23:03 +02:00
Avi Deitcher
bc1a7d60df tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-27 21:09:30 +02:00
Avi Deitcher
64ce82b692 tools/alpine: Update to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-27 21:09:30 +02:00
Avi Deitcher
22cc9343b4 tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-25 23:20:43 +02:00
Avi Deitcher
35dbd157bb tools/alpine: Update to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-25 23:19:18 +02:00
Avi Deitcher
3d20dfe386 Update linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2024-01-25 23:15:38 +02:00
Avi Deitcher
7ab99eac1f pass target arch to final image builder as TARGETARCH; use TARGETARCH when generating raw and iso, fallback to build arch; use updated images that read TARGETARCH; ensure grub has EFI for all archs
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2023-10-06 12:22:09 +03:00
Avi Deitcher
4ee6387366 updated containerd-dev and downstream dependencies
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2023-06-19 14:17:43 +03:00
Avi Deitcher
23d44f6084 update downstream from guestfs
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2023-05-22 09:47:47 +01:00
Avi Deitcher
81f42a2b3b guestfs native arm64
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2023-05-22 09:34:44 +01:00
Avi Deitcher
c51ce2551e
use latest go-compile (#3906)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2023-02-01 10:38:01 +02:00
Avi Deitcher
e668b25a82
Alpine 317 (#3888) 2023-01-05 07:26:50 +02:00
Davide Brini
860934d5d9 New output format: iso-efi-initrd
This option was previously not available and required postprocessing of a `tar-kernel-initrd` output.

Comparison with `iso-efi`:

`iso-efi` only loads the kernel at boot, and the root filesystem is mounted from the actual boot media (eg, a CD-ROM - physical or emulated). This can often cause trouble (it has for us) for multiple reasons:
- the linuxkit kernel might not have the correct drivers built-in for the hardware (see #3154)
- especially with virtual or emulated CD-ROMs, performance can be abysmal: we saw the case where the server IPMI allowed using a ISO stored in AWS S3 over HTTP...you can imagine what happens when you start doing random I/O on the root fs in that case.
- The ISO image has the root device name baked in (ie, `/dev/sr0`) which fails if for some reason the CD-ROM we're running from doesn't end up using that device, so manual tweaking is required (see #2375)

`iso-efi-initrd`, on the other hand, packs the root filesystem as an initramfs (ie similar to what the raw output does, except that in this case we're preparing an ISO image), so both the kernel and the initramfs are loaded in memory by the boot loader and, once running, we don't need to worry about root devices or kernel drivers (and the speed is good, as everything runs in RAM).

Also, the generated ISO can be copied verbatim (eg with `dd`) onto a USB media and it still works.

Finally, the image size is much smaller compared to `iso-efi`.

IMHO, `iso-efi-initrd` could be used almost anywhere `iso-efi` would be used, or might even supersede it. I can't think of a scenario where one might explicitly want to use `iso-efi`.

Points to consider:

- Not tested under aarch64 as I don't have access to that arch. If the automated CI tests also test that, then it should be fine.
- I'm not sure what to put inside `images.yaml` for the `iso-efi-initrd` image. As it is it works of course (my personal image on docker hub), but I guess it'll have to be some more "official" image. However, that cannot be until this PR is merged, so it's kind of a chicken and egg situation. Please advise.
- I can look into adding the corresponding `iso-bios-initrd` builder if there is interest.

![cute seal](https://sites.psu.edu/siowfa16/files/2016/09/baby-seal-29vsgyf-288x300.jpg)

Signed-off-by: Davide Brini <waldner@katamail.com>
2022-07-11 20:26:14 +02:00
Avi Deitcher
0b39a484b1 containerd-dev separate
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2022-03-21 01:20:45 +02:00
Avi Deitcher
0e69ea8f5d tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-11-07 16:39:16 +02:00
Avi Deitcher
c0ef25e4b7 tools/alpine: Update to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-11-07 13:43:45 +02:00
Avi Deitcher
cc57d67c99 bump alpine to 3.14, remove go version hack
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-11-07 13:43:45 +02:00
David Scott
42670404f5 alpine: Update versions file
Signed-off-by: David Scott <dave@recoil.org>
2021-10-21 11:34:59 +01:00
David Scott
34d0aef7d4 Update containerd to 1.4.11
We can remove the workaround for musl using faccessat(2) and breaking
runc, because the fix is in rc93:

https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2

Signed-off-by: David Scott <dave@recoil.org>
2021-10-21 11:34:55 +01:00
Rolf Neugebauer
0e00eddd6b alpine: Fix push-manifest.sh
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-10-16 16:57:15 +01:00
Rolf Neugebauer
d2307ebae3 alpine: Update versions file
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-10-16 16:57:15 +01:00
David Scott
5124698b47 alpine: update containerd to 1.4.6
As suggested on https://github.com/linuxkit/linuxkit/pull/3554#issuecomment-852910630

Signed-off-by: David Scott <dave@recoil.org>
2021-10-16 16:57:15 +01:00
Danny Bessems
098f5c86c0 Include lvm2
Signed-off-by: djpbessems <danny@bessems.eu>
2021-08-06 15:14:38 +02:00
Avi Deitcher
4adc04a24d calculate manifest hash-tag using git ls-tree
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-05-21 01:31:14 +03:00
Rolf Neugebauer
8c16d6ac3a
Merge pull request #3664 from rn/open-vm
Include open-vm-tools packages
2021-05-15 10:46:34 +01:00
Avi Deitcher
4d9de9a583 correctly use target-arch
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-05-10 12:21:33 +03:00
Rolf Neugebauer
7b836c2bd8 Include open-vm-tools packages
In alpine version 3.12, the open-vm-tools package got split into new
smaller sub-packages. The implication of this is that features such as
reporting of hostname and ip address to vCenter stopped working.

Signed-off-by: Edvin Eriksson <edvin.erikson@leovegas.com>
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-09 11:22:12 +00:00
Avi Deitcher
ceef6b1ca2
Merge pull request #3650 from deitch/alpine-hash
alpine carry its own hash
2021-05-06 13:11:41 -04:00
Rolf Neugebauer
c6d2933b48 alpine: Add libelf-static for perf builds
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-05-03 13:51:41 +00:00
Avi Deitcher
1e99ba3dce alpine carry its own hash
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-05-02 19:44:39 +03:00
Avi Deitcher
d091f90f81 pass linkmode=external only for Linux
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-04-29 16:52:44 +03:00
Avi Deitcher
8576579f60 Update use of tools to latest
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-04-27 19:52:35 +03:00
Avi Deitcher
1270e27ba6 tools: Update to the latest linuxkit/alpine
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-04-27 19:14:22 +03:00
Avi Deitcher
95ce6386aa Update Alpine base to 3.13; go-compile rebuilt with mod=vendor option, go bumped to 1.16
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2021-04-27 17:38:22 +03:00
Rolf Neugebauer
765e5f0b88 gp-compile: Use '-mod=vendor' when using go modules
fixes https://github.com/linuxkit/linuxkit/issues/3599

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2021-04-02 18:45:38 +01:00
Dave Tucker
561ce6f4be Remove Notary and Content Trust
This commit removes Notary and Content Trust.
Notary v1 is due to be replaced with Notary v2 soon.
There is no clean migration path from one to the other.
For now, this removes all signing from LinuxKit.
We will look to add this back once a new Notary alternative
becomes available.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2021-03-30 14:51:11 +01:00
Avi Deitcher
fd45bc2ead bump alpine version, add openssh-client, wireguard apk, containerd 1.4.1
Signed-off-by: Avi Deitcher <avi@deitcher.net>
2020-10-07 16:08:15 +03:00
Rolf Neugebauer
1c4a4060f1 tools/alpine: Update package
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
2020-04-26 17:38:54 -04:00