- 12 May, 2021 1 commit
-
-
Kristian Klausen authored
[1] archlinux/infrastructure!335
-
- 05 May, 2021 2 commits
-
-
Kristian Klausen authored
Fix shellcheck complains due to new version See merge request archlinux/arch-boxes!169
-
Kristian Klausen authored
Shellcheck v0.7.2[1] added more checks resulting in the following complains in our case: In build-host.sh line 12: readonly TMPDIR="$(mktemp --dry-run --directory --tmpdir="${PWD}/tmp")" ^----^ SC2155: Declare and assign separately to avoid masking return values. In build-inside-vm.sh line 16: readonly TMPDIR="$(mktemp --dry-run --directory --tmpdir="${PWD}/tmp")" ^----^ SC2155: Declare and assign separately to avoid masking return values. In build-inside-vm.sh line 19: chown "${SUDO_UID}:${SUDO_GID}" "${OUTPUT}" "${TMPDIR}" ^---------^ SC2153: Possible misspelling: SUDO_GID may not be assigned, but SUDO_UID is. [1] https://github.com/koalaman/shellcheck/blob/331e89be990547b6e21ad1b6e56065bcda1ba053/CHANGELOG.md#v072---2021-04-19
-
- 27 Mar, 2021 2 commits
-
-
Sven-Hendrik Haase authored
Refer to the ArchWiki for tested cloud providers and instructions Closes #133 See merge request archlinux/arch-boxes!168
-
Kristian Klausen authored
Fix #133
-
- 19 Mar, 2021 2 commits
-
-
Sven-Hendrik Haase authored
Remove haveged See merge request archlinux/arch-boxes!167
-
Kristian Klausen authored
haveged was presumably added to increase entropy and prevent entropy starvation. A few things has changed since, most notable: * the kernel actively tries to add entropy (jitter entropy)[1][2][3][4] * /dev/random no longer blocks after CRNG initialization[5][6] [1] https://github.com/torvalds/linux/commit/3f2dc2798b81531fd93a3b9b7c39da47ec689e55 [2] https://github.com/torvalds/linux/commit/50ee7529ec4500c88f8664560770a7a1b65db72b [3] https://lore.kernel.org/lkml/alpine.DEB.2.21.1909290010500.2636@nanos.tec.linutronix.de/T/ [4] https://lwn.net/Articles/800509/ [5] https://github.com/torvalds/linux/commit/30c08efec8884fb106b8e57094baa51bb4c44e32 [6] https://lwn.net/Articles/808575/
-
- 16 Mar, 2021 1 commit
-
-
Sven-Hendrik Haase authored
Don't use the secure runner on forks See merge request archlinux/arch-boxes!166
-
- 14 Mar, 2021 1 commit
-
-
Kristian Klausen authored
The jobs will get stuck as the secure runner is only enabled for the archlinux group.
-
- 09 Mar, 2021 2 commits
-
-
Sven-Hendrik Haase authored
Cleanup README Closes #134 See merge request !165
-
Kristian Klausen authored
Fix #134
-
- 25 Feb, 2021 2 commits
-
-
Sven-Hendrik Haase authored
Fix partial upgrade in the guest Closes #136 See merge request archlinux/arch-boxes!164
-
Kristian Klausen authored
A partial upgrade is often a bad idea and can cause issue like: qemu-img: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by qemu-img) cow_spacesize is bumped as upgrading can use a lot of storage. linux is ignored as we need the kernel modules for the current kernel to be available. Fix #136
-
- 20 Feb, 2021 2 commits
-
-
Sven-Hendrik Haase authored
Don't set initramfs compression to zstd as it's the default now[1] See merge request !163
-
- 16 Feb, 2021 2 commits
-
-
Sven-Hendrik Haase authored
Dynamic allocation for file descriptors used in ./build-host.sh Closes #135 See merge request archlinux/arch-boxes!162
-
juadde authored
Visual studio code had an issue with file descriptors already used by the integrated terminal. This commit asks bash to dynamically assign a "free" file descriptor to be used in the expect function. Closes #135
-
- 31 Jan, 2021 10 commits
-
-
Sven-Hendrik Haase authored
Make disk size configurable per image Closes #127 See merge request archlinux/arch-boxes!160
-
Kristian Klausen authored
It is meant for local usage so the disk should be "big enough".
-
Kristian Klausen authored
cloud-init resizes the disk[1] so we don't need a "big disk" with a lot of unused space + some cloud providers charges for the unused space + some cloud providers offers VM with disk < 20GB. [1] https://cloudinit.readthedocs.io/en/latest/topics/modules.html#growpart Fix #127
-
Kristian Klausen authored
-
Sven-Hendrik Haase authored
Use the fast fast-single-thread runner when using qemu for testing See merge request archlinux/arch-boxes!161
-
Kristian Klausen authored
The fast-single-thread runner is much faster (test-cloudimg-qemu): 3min 39sec[1] vs 8min 37sec[2] [1] https://gitlab.archlinux.org/klausenbusk/arch-boxes/-/jobs/14739 [2] https://gitlab.archlinux.org/klausenbusk/arch-boxes/-/jobs/14746
-
Sven-Hendrik Haase authored
Add basic image See merge request archlinux/arch-boxes!158
-
Kristian Klausen authored
It is similar to the cloud-image but it comes with a preconfigured arch user (pw: arch) and lacks cloud-init.
-
Sven-Hendrik Haase authored
Use --reflink=always when copying the fallback initramfs See merge request archlinux/arch-boxes!159
-
Kristian Klausen authored
It saves us ~20MB.
-
- 29 Jan, 2021 2 commits
-
-
Sven-Hendrik Haase authored
Fix swapfile "insecure permissions" See merge request archlinux/arch-boxes!156
-
Kristian Klausen authored
This isn't really necessary as /swap is mode 0700, but a warning is logged in the journal[1], so let's set /swap/swapfile to mode 0600 and get rid of the warning. [1] swapon[189]: swapon: /swap/swapfile: insecure permissions 0644, 0600 suggested.
-
- 28 Jan, 2021 3 commits
-
-
Sven-Hendrik Haase authored
Fix boot issues caused by missing modules in the initramfs See merge request archlinux/arch-boxes!155
-
Kristian Klausen authored
-
Kristian Klausen authored
The mkinitcpio autodetect hook removes modules not needed by the running system from the initramfs. This make the image non-bootable on some systems as initramfs lacks the relevant kernel modules. Ex: Some systems need the virtio-scsi kernel module and not the "autodetected" virtio-blk kernel module for disk access. So for the initial install we use the fallback initramfs, and "autodetect" should add the relevant modules to the initramfs when the user updates the kernel.
-
- 05 Jan, 2021 1 commit
-
-
Sven-Hendrik Haase authored
Do explicit mirror resolve with curl See merge request archlinux/arch-boxes!154
-
- 04 Jan, 2021 1 commit
-
-
Kristian Klausen authored
host suddenly doesn't understands hostname with https://. I'm not sure it did before, it could be DNS server doing some magic.
-
- 13 Dec, 2020 4 commits
-
-
Sven-Hendrik Haase authored
Verify vagrant public SSH key See merge request archlinux/arch-boxes!153
-
Kristian Klausen authored
-
Sven-Hendrik Haase authored
Use source for sourcing instead of . See merge request archlinux/arch-boxes!152
-
Kristian Klausen authored
It improves readability according to some..
-
- 12 Dec, 2020 2 commits
-
-
Sven-Hendrik Haase authored
Merge http/* into build-inside-vm.sh See merge request archlinux/arch-boxes!146
-
Kristian Klausen authored
-