arch-boxes merge requestshttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests2023-07-01T01:20:47Zhttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/185allow known ssh key for QEMU image2023-07-01T01:20:47ZGabriel barrosallow known ssh key for QEMU imageUsing the QEMU file for most programatic use cases is difficult without a ssh key pre-set.
Either using the image in a vagrant qemu backend, or directly via `qemu-system-x86_64 -display none -daemonize` makes it very difficult to intera...Using the QEMU file for most programatic use cases is difficult without a ssh key pre-set.
Either using the image in a vagrant qemu backend, or directly via `qemu-system-x86_64 -display none -daemonize` makes it very difficult to interact with the image since there's no way to ssh to the instance or attach qemu to std i/o without too much unrelated code (as this repo does, btw)
This change just add (and centralizes in common) the code to create the user with a known public ssh key.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/187Draft: Revert "Enable systemd-time-wait-sync.service and order pacman-init.se...2023-04-06T22:21:43ZDavid RungeDraft: Revert "Enable systemd-time-wait-sync.service and order pacman-init.service after time-sync.target"This reverts commit e23d3c57a02b6b6d1062a878b792dfcce2c7004d.
It appears that systemd-time-wait-sync never exits (unless
systemd-networkd is restarted), which leads to follow-up services such
as sshd not starting:
https://gitlab.archlinu...This reverts commit e23d3c57a02b6b6d1062a878b792dfcce2c7004d.
It appears that systemd-time-wait-sync never exits (unless
systemd-networkd is restarted), which leads to follow-up services such
as sshd not starting:
https://gitlab.archlinux.org/archlinux/arch-boxes/-/issues/158
Fixes #158https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/181Draft: Rename the default user from "arch" to "archie"2023-03-26T16:34:38Znl6720Draft: Rename the default user from "arch" to "archie"This matches with the example user of ArchWiki. See https://wiki.archlinux.org/title/Users_and_groups#User_database.This matches with the example user of ArchWiki. See https://wiki.archlinux.org/title/Users_and_groups#User_database.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/172Draft: Upload release artifacts to "Generic Packages Repository"2022-05-29T14:35:00ZKristian KlausenDraft: Upload release artifacts to "Generic Packages Repository"Fix #118
---
Example: https://gitlab.archlinux.org/klausenbusk/arch-boxes/-/releases/v20210830.32835 and https://gitlab.archlinux.org/klausenbusk/arch-boxes/-/packages/366Fix #118
---
Example: https://gitlab.archlinux.org/klausenbusk/arch-boxes/-/releases/v20210830.32835 and https://gitlab.archlinux.org/klausenbusk/arch-boxes/-/packages/366https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/173Fix broken artifact links2022-03-01T23:06:14ZJosh VanderwillikFix broken artifact linksThis is my best guess fix for #145
I removed `?job=build:secure` from the URL, I'm not sure if this is important or notThis is my best guess fix for #145
I removed `?job=build:secure` from the URL, I'm not sure if this is important or nothttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/170Add a workaround for fstrim command not working in some FS2021-06-18T07:42:19ZjuaddeAdd a workaround for fstrim command not working in some FSToday build is failing when fstrim is not supported on the FS.
This workaround enables the build to continue even when trimming is failing, by having a workaround for `set -o errexit` option at the beginning.
We could also unset this pro...Today build is failing when fstrim is not supported on the FS.
This workaround enables the build to continue even when trimming is failing, by having a workaround for `set -o errexit` option at the beginning.
We could also unset this property.
Please advise if any adjustment should be done.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/157clarify arch default user in README.md (fixes #130)2021-01-30T22:34:08ZMichael Vorburger.chclarify arch default user in README.md (fixes #130)https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/143Activate qemu-ga.service in cloud image2020-11-02T23:17:48ZDavid RungeActivate qemu-ga.service in cloud imagebuild-inside-vm.sh:
As the qemu-guest-agent package is installed in the cloud image, the
qemu-ga.service that it provides needs to be enabled to provide
integration with e.g. libvirt.build-inside-vm.sh:
As the qemu-guest-agent package is installed in the cloud image, the
qemu-ga.service that it provides needs to be enabled to provide
integration with e.g. libvirt.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/135Draft: Don't enable cloud-init services2020-10-03T10:55:34ZKristian KlausenDraft: Don't enable cloud-init servicesThey are automatically enabled by the cloud-init-generator[1].
[1] https://cloudinit.readthedocs.io/en/latest/topics/boot.html#generator
Fix #88
---
This should be safe. I just want to test it first.They are automatically enabled by the cloud-init-generator[1].
[1] https://cloudinit.readthedocs.io/en/latest/topics/boot.html#generator
Fix #88
---
This should be safe. I just want to test it first.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/133Draft: Compress the Vagrant qemu image2020-09-29T03:44:07ZKristian KlausenDraft: Compress the Vagrant qemu imageLets see how this change the metrics :)Lets see how this change the metrics :)https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/132Compress initramfs with xz2020-09-29T03:55:44ZSven-Hendrik Haasesvenstaro@archlinux.orgCompress initramfs with xzIn my tests this gains us about 10MB.In my tests this gains us about 10MB.Christian RebischkeKristian KlausenChristian Rebischkehttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/117WIP: Use mkosi in place of packer2020-08-30T13:29:51ZKristian KlausenWIP: Use mkosi in place of packerThis hasn't been tested and probably doesn't work at all.
I did remove the `python` and `linux-headers` package. Do we need them?This hasn't been tested and probably doesn't work at all.
I did remove the `python` and `linux-headers` package. Do we need them?https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/116WIP: Use the mirror.pkgbuild.com mirror for all builds2020-08-16T21:46:23ZKristian KlausenWIP: Use the mirror.pkgbuild.com mirror for all buildsBuilds fails from time to time, often due to a out-of-sync or broken
mirror. So let's switch to a reliable:tm: mirror managed by us instead of
rolling the dice on every build.Builds fails from time to time, often due to a out-of-sync or broken
mirror. So let's switch to a reliable:tm: mirror managed by us instead of
rolling the dice on every build.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/113WIP: Add test in CI pipeline2020-08-13T20:10:46ZSven-Hendrik Haasesvenstaro@archlinux.orgWIP: Add test in CI pipelineThis is the original MR by @Kppqju77 but with enabled secure runners.This is the original MR by @Kppqju77 but with enabled secure runners.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/110Remove outdated warning about SSD capabilities2020-08-11T21:37:14ZSven-Hendrik Haasesvenstaro@archlinux.orgRemove outdated warning about SSD capabilitiesThis is a problem from earlier times. :)This is a problem from earlier times. :)Christian RebischkeChristian Rebischkehttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/111revert keeping artifacts2020-08-11T21:32:19ZChristian Rebischkerevert keeping artifactsKeeping artifacts brings us no benefits and the produced artifacts
should never be used, because they consist of vagrant specific
settings.
For building QEMU/Virtualbox images, checkout the cloud.json fileKeeping artifacts brings us no benefits and the produced artifacts
should never be used, because they consist of vagrant specific
settings.
For building QEMU/Virtualbox images, checkout the cloud.json fileChristian RebischkeChristian Rebischkehttps://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/198Add RequiredForOnline=routable to /etc/systemd/network/80-dhcp.network2023-12-21T12:43:06Znl6720Add RequiredForOnline=routable to /etc/systemd/network/80-dhcp.networkBy default [systemd-networkd-wait-online.service](https://man.archlinux.org/man/systemd-networkd-wait-online.service.8****) considers a network
connection to be "online" when it has reached the "degraded" state
(see [networkctl(1)](https...By default [systemd-networkd-wait-online.service](https://man.archlinux.org/man/systemd-networkd-wait-online.service.8****) considers a network
connection to be "online" when it has reached the "degraded" state
(see [networkctl(1)](https://man.archlinux.org/man/networkctl.1.en) for the definitions).
Since "degraded" does not ensure there's a routable address, let's
change the connection's requirement to "routable" instead.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/197Run DHCP client on predictable network interfaces2023-11-07T18:12:06Znl6720Run DHCP client on predictable network interfacesMake sure networking still works when someone removes the silly
`net.ifnames=0` kernel parameter from the boot loader configuration and
chooses to use predictable network interface names.Make sure networking still works when someone removes the silly
`net.ifnames=0` kernel parameter from the boot loader configuration and
chooses to use predictable network interface names.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/196Revert "Create /etc/resolv.conf as a relative symlink"2023-07-18T13:47:19Znl6720Revert "Create /etc/resolv.conf as a relative symlink"Something about the relative symlink makes arch-chroot go haywire
when invoked by `build.sh` and create crazy bind mounts like
`/tmp/boxes-tmp/tmp.cwtHQPvydE/mount/tmp/boxes-tmp/tmp.cwtHQPvydE/mount/run/systemd/resolve/stub-resolv.conf`
...Something about the relative symlink makes arch-chroot go haywire
when invoked by `build.sh` and create crazy bind mounts like
`/tmp/boxes-tmp/tmp.cwtHQPvydE/mount/tmp/boxes-tmp/tmp.cwtHQPvydE/mount/run/systemd/resolve/stub-resolv.conf`
Revert to an absolute symlink until the issue is fixed.
See https://github.com/archlinux/arch-install-scripts/issues/55
This reverts commit ff22bfc49ac60001849fcce73fe91e5fbabcf03a.https://gitlab.archlinux.org/archlinux/arch-boxes/-/merge_requests/195Allow systemd-gpt-auto-generator to mount the ESP automatically2023-08-19T20:17:09Znl6720Allow systemd-gpt-auto-generator to mount the ESP automaticallygrub-mkconfig from grub 2:2.06.r566.g857af0e17-1 sets up loading a `bli`
module that sets `LoaderDevicePartUUID`. This means that
systemd-gpt-auto-generator can now automount partitions when GRUB is
used as the boot loader.
See https://...grub-mkconfig from grub 2:2.06.r566.g857af0e17-1 sets up loading a `bli`
module that sets `LoaderDevicePartUUID`. This means that
systemd-gpt-auto-generator can now automount partitions when GRUB is
used as the boot loader.
See https://wiki.archlinux.org/title/systemd#GPT_partition_automounting