Commit Graph

581 Commits

Author SHA1 Message Date
Simon Ser 8bb21bb925 images/freebsd: remove myself from build failure notification CC 2024-04-19 12:28:56 +02:00
Baptiste Daroussin 9b92048d9e image/freebsd: readd freebsd current
While at here convert the script to not depend anymore on snapshots
but depend but use the new pkgbase.

The packages for the bases system are published on a weekly basis
(every sunday at weekly on sunday at 12:00 UTC)

Use mkimg(1) to directly create the qcow2
2024-04-19 11:29:10 +02:00
Jordan Anderson 1ccf6b14cc Upgrade to OpenBSD 8.5 2024-04-11 13:17:44 +02:00
Haowen Liu cf39fb2a89 ubuntu/noble starts development 2024-04-11 13:10:59 +02:00
unwox 46e941eca9 images/guix: increase VM RAM to 3GB
Unfortunately 2GB is not enough anymore to build Guix.
2024-04-11 13:10:33 +02:00
Drew DeVault e4461297be images/*: bump disk size to 24G across the board 2024-04-09 10:37:26 +02:00
Simon Ser 813d720117 images/archlinux: drop pkill gpg-agent
This wasn't working properly: we weren't waiting for gpg-agent to
finish (just sending the signal). As a result, umount was still
failing.

The new PID namespace stuff supersedes this.
2024-03-16 16:53:27 +01:00
Simon Ser 9668eb0856 images/archlinux: run chroot in new PID namespace
gpg-agent remains after exit, and causes umount to fail.

Mirrors what was done in arch-chroot:
2be79c6259
2024-03-16 16:52:15 +01:00
Simon Ser 2b0d4e25cb images/archlinux: don't rm root in genimg cleanup
If we fail to umount, then this spams the logfile with numerous
errors, making it difficult to understand the cause of the issue.
This isn't a useful thing to do in the first place since this
directory is mounted.
2024-03-16 16:03:21 +01:00
Simon Ser 63ea8ae8c0 images/archlinux: fix mkinitcpio hook name
The hook got renamed, so it wasn't disabled anymore.
2024-03-16 16:03:14 +01:00
Simon Ser 568ec21c05 images/archlinux: allow mkinitcpio upgrades
This is a lightweight package, so shouldn't matter. Ignoring it
can lead to errors:

    error: missing dependency 'initramfs' for package 'linux'
    linux: ignoring package upgrade (6.7.6.arch1-1 => 6.7.8.arch1-1)
    mkinitcpio: ignoring package upgrade (37.3-1 => 38-4)
    Resolving dependencies...
    Checking package conflicts...
    :: uninstalling package 'mkinitcpio-37.3-1' due to conflict with 'cryptsetup-2.7.0-3'
2024-03-16 16:03:14 +01:00
Drew DeVault 892b2887fa images: drop 9front support
Just too much of a hassle to support this for the number of users we
have. Sorry.
2024-02-07 10:52:01 +01:00
Drew DeVault 994883a04f images/*: update build worker deploy targets 2024-02-07 09:25:57 +01:00
Simon Ser 054233a7d2 Drop FreeBSD 12.x
FreeBSD 12.x is EOL, and doesn't build anymore:
https://builds.sr.ht/~sircmpwn/job/1126421
2024-01-24 09:45:18 +01:00
Luca Weiss dfa05f3399 images/alpine: install curl
The _apply_patch function for applying patches from lists.sr.ht requires
curl and since curl is not installed with the current set of packages
anymore, install it explicitly.
2024-01-21 11:28:03 +01:00
Simon Ser c32e0052bf alpine: update symlinks 2023-12-22 10:59:42 +01:00
Willow Barraco 2a6317c4fa images/alpine: add 3.19
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
2023-12-22 10:54:16 +01:00
Conrad Hoffmann b48cc91c05 images/archlinux: add missing mkdir 2023-12-07 22:29:11 +01:00
Haowen Liu 1b21add920 ubuntu: upgrade packages during genimg 2023-12-07 22:07:43 +01:00
Conrad Hoffmann c87bcac7cd images/archlinux: avoid GnuPG's new keyboxd
GnuPG recently made "keyboxd", an alternative keyring storage, the
default for new installs [1]. For reasons I cannot explain yet, a gpg
command will hang indefinetly trying to talk to keyboxd, if all of the
following are true:

- keyboxd is already running for the user
- it is managed by the systemd-user session (!?)
- the gpg command is run inside fakeroot

This is easily reproducible on builds.sr.ht: when building and signing a
package with `makepkg`, it will just hang forever after outputting
"Entering fakeroot environment". One can see in the process tree that it
is executing a gpg command inside a fakeroot at that time, which never
finishes.

While I have not found the cause, this issue is not isolated to
builds.sr.ht. I have reproduced this on other Arch Linux systems.

I am trying to figure out what the exact issue is, and whom to talk to
about it, but until then I think just avoiding keyboxd makes sense.

Hence, this commit disables keyboxd system-wide by adding a
configuration put forth in [2]. I verified that this is indeed
sufficient to make GnuPG fall back to the old storage format, even for
new setups.

[1] https://github.com/gpg/gnupg/blob/master/README#L119
[2] https://marc.info/?l=gnupg-users&m=170193805722787&w=2
2023-12-07 11:57:55 +01:00
Conrad Hoffmann 4c4e6ad6de images/*: send failure emails to new list
For improved visibility, emails triggered by failures when building
build images will henceforth go to the new mailing list created for this
purpose: https://lists.sr.ht/~sircmpwn/sr.ht-image-failures
2023-12-04 15:50:58 +01:00
Simon Ser dccf0147ee images/archlinux: refresh pacman index before installing yay
Otherwise we get this:

    + chroot root sudo -u build -g build /bin/bash -c 'cd /home/build && cd yay && env GOCACHE=/tmp/cache makepkg -si --noconfirm --skippgpcheck'
    ==> Making package: yay 12.2.0-1 (Mon Dec  4 09:06:25 2023)
    ==> Checking runtime dependencies...
    warning: database file for 'multilib' does not exist (use '-Sy' to download)
    ==> Checking buildtime dependencies...
    warning: database file for 'multilib' does not exist (use '-Sy' to download)
    ==> Installing missing dependencies...
    warning: database file for 'multilib' does not exist (use '-Sy' to download)
    error: failed to prepare transaction (could not find database)
    ==> ERROR: 'pacman' failed to install missing dependencies.
    ==> Missing dependencies:
      -> go>=1.19
    ==> ERROR: Could not resolve all dependencies.
2023-12-04 12:37:01 +01:00
Simon Ser aab77d0f2f images/archlinux: use yay --provides=false instead of --noprovides
Fixes this warning:

    -> '--noprovides' is deprecated. Use '--provides=false' instead
2023-12-04 12:37:01 +01:00
Simon Ser 73f8323784 images/archlinux: upgrade archlinux-keyring before other packages
Currently the Arch image is broken because the keyring has been
updated but the package is too old:

    curl: signature from "Leonidas Spyropoulos <artafinde@archlinux.org>" is unknown trust
    :: deleting corrupted file '/var/cache/pacman/pkg/curl-8.4.0-2-x86_64.pkg.tar.zst' (invalid or corrupted package (PGP signature))
    syslinux: signature from "Leonidas Spyropoulos <artafinde@archlinux.org>" is unknown trust
    :: deleting corrupted file '/var/cache/pacman/pkg/syslinux-6.04.pre2.r11.gbf6db5b4-4-x86_64.pkg.tar.zst' (invalid or corrupted package (PGP signature))
2023-12-04 12:37:00 +01:00
Conrad Hoffmann 650e80c8e4 Revert "ubuntu/noble starts development"
This reverts commit 4130bfb968.

Does not build (on ubuntu/lts?):

https://builds.sr.ht/~bitfehler/job/1104224
2023-11-30 13:44:50 +01:00
Jordan Anderson aa6b9b1d23 Update OpenBSD symlinks 2023-11-30 12:38:11 +01:00
Jordan Anderson cc4a93e024 Add OpenBSD 7.4 2023-11-30 12:38:11 +01:00
Francesco Gazzetta a53aed3db2 images/nixos: add 23.11
* Do not point latest to 23.11 yet because it's still in beta
* Replace the 22.11 cronjob since that version is EoL
2023-11-30 12:38:11 +01:00
Simon Ser 3b397aa8c4 images/freebsd: add 14.0
FreeBSD 14.0 has been released today:
https://www.freebsd.org/releases/14.0R/announce/
2023-11-30 12:38:11 +01:00
Haowen Liu 4130bfb968 ubuntu/noble starts development 2023-11-30 12:38:11 +01:00
Maxwell G 17b1e159d8 images: move fedora/latest alias to fedora/39
Fedora 39 was officially released on 7 November 2023.

Ref: https://fedoramagazine.org/announcing-fedora-linux-39/
2023-11-16 12:44:52 +01:00
Josh Soref 04aac44005 spelling: because
Signed-off-by: Josh Soref <jsoref@gmail.com>
2023-10-04 11:03:09 +02:00
Nessdoor 0d9ff479f8 images/nixos: pass optional system attribute to evalConfig
This allows for image.nix to be used inside hermetic builds where
builtins.currentSystem is not available as an attribute.
2023-10-04 11:01:13 +02:00
Zack Weinberg ef4808ca7c images/archlinux: Enable installation of multilib packages.
Build manifests that want to compile 32-bit binaries can now
enable `gcc -m32` and the like with

```
packages:
  - multilib-devel
```

instead of a task that patches pacman.conf.
2023-10-04 11:00:59 +02:00
Pinghao Wu bf7b34b3f3 images/archlinux: build: fix qemu package name
qemu-headless had been replaced by qemu-base, and the replace was
recently removed.

See: 6b17907e83 (9b9baac1eb9b72790eef5540a1685306fc43fd6c_1043_1056)
2023-10-04 11:00:18 +02:00
unwox a17bcc9461 images/guix: Update maintainer contact 2023-10-04 10:59:18 +02:00
Jacob Moody 3cb88b0ca8 images/9front: Add genimg and build.yml 2023-09-01 16:51:07 +02:00
Maxwell G bb37d94483 images: add fedora/40 and move fedora/rawhide to it
Fedora 40 is now Fedora Rawhide and Fedora 39 is the branched release.
fedora/latest will be moved to fedora/39 when Fedora 39 is officially
released around October.
2023-09-01 10:35:56 +02:00
Masanori Ogino ce250672a3 images/openbsd: Update for 7.3
Signed-off-by: Masanori Ogino <omasanori@proton.me>
2023-09-01 10:32:16 +02:00
Masanori Ogino 37338f2967 images/netbsd: Update 9.x to 9.3
Signed-off-by: Masanori Ogino <omasanori@proton.me>
2023-09-01 10:32:07 +02:00
Haowen Liu 7b8e66e4dd ubuntu/kinetic: EOF 2023-09-01 09:47:09 +02:00
Francesco Gazzetta 8ce0ebf3b1 images/nixos: set latest to 23.05 2023-08-16 11:53:04 +02:00
Conrad Hoffmann c02243f368 images/*: start uploading new images to AMS infra
The destination is backed by a CephFS volume that can be mounted by
build workers running in AMS.
2023-08-16 11:51:19 +02:00
Taavi Väänänen 04544535b7 images/control: Clarify error messages
Changes the error message for trying to run a non-existent architecture
to mention that it's specifically the architecture that's missing and
not the specific image (which is checked at the very start of the file).

The error message for a non-existent image is clarified a bit too, to
make it more clear what's wrong in the manifest, instead of how the
runner is detecting that.
2023-07-07 09:39:56 +02:00
Drew DeVault 93a547179c image/debian: disable KVM on sanity check 2023-07-06 10:58:50 +02:00
Maxwell G 6b1f66e9ea Fix fedora/latest symlink location
Resolves: 3ee8fabf4e
2023-07-06 10:58:36 +02:00
Drew DeVault 0be575e44c alpine: update symlinks 2023-06-22 10:26:41 +02:00
Maxwell G 3ee8fabf4e Move fedora/latest alias to fedora/38
Fedora 38 was officially released on 17 April 2023.

Ref: https://fedoramagazine.org/announcing-fedora-38/
2023-06-22 10:22:26 +02:00
Maxwell G c3b98144af images/fedora: don't use dnf install --refresh
The --refresh flag is not supported by dnf5 which is now the default in
Fedora Rawhide. The fedora/rawhide image is completely broken without
this change.
2023-06-22 10:02:41 +02:00
Maxwell G 45d4a84c16 images/fedora: clean package cache
The package metadata cache unnecessarily inflates the size of the image.
2023-06-22 10:02:39 +02:00