aboutsummaryrefslogtreecommitdiff
path: root/configs/baseline
Commit message (Collapse)AuthorAgeFilesLines
* Fix networkd drop-in configuration pathcvlc122025-07-251-0/+0
|
* Remove DownloadUser from pacman.confnl67202024-11-221-1/+1
| | | | | | | | | `DownloadUser = alpm` does not appear to be suitable for mkarchiso use since there is no guarantee that `alpm` user has access to the working directory. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/232 Fixes: 691c57fc2e6345d0a2fbfffd7b6689b14bb87f7b ("Update pacman.conf for pacman 7")
* configs: Adapt enabled systemd services to changes in cloud-init 24.3David Runge2024-10-283-1/+2
| | | | | | | | | | Adapt enabled services in both baseline and releng profiles to cope with changes in cloud-init 24.3. Related-to: https://gitlab.archlinux.org/archlinux/packaging/packages/cloud-init/-/issues/3 Related-to: https://github.com/canonical/cloud-init/pull/5489 Fixes: https://gitlab.archlinux.org/archlinux/archiso/-/issues/236 Signed-off-by: David Runge <dvzrv@archlinux.org>
* Update pacman.conf for pacman 7nl67202024-09-221-0/+2
| | | | | Add new options from https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/pacman.conf
* configs/baseline/profiledef.sh: do not use mkfs.erofs extended options ↵nl67202024-08-261-1/+1
| | | | | | | | | | | | | | "fragments" and "dedupe" These options are not compatible with multi-threaded compression and actually increase the image file size. With this change, the baseline profile's EROFS image file size is reduced from 488 MiB to 398 MiB. On my system, the compression time is reduced from about 2m6.274s to 1m59.410s when using erofs-utils built without multi-threaded compression and to 0m27.883s when using erofs-utils built with multi-threaded compression.
* configs/: replace archisodevice boot parameter with archisosearchuuidnl67202024-04-193-12/+3
| | | | | | | | | | | | `archisosearchuuid=` first searches for a matching UUID. If that fails, then it mounts and looks for a `/boot/${archisosearchuuid}.uuid` file in all detected block devices (in whatever order `blkid` lists them). This implements "file system transposition" without relaying on boot loader specific features and does not tie us to GRUB anymore. Related to https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio-archiso/-/merge_requests/48 Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/217
* configs/*/profiledef.sh: set bootstrap_tarball_compressionnl67202024-03-301-0/+1
| | | | | | | * bootstrap will use .tar.zst with `zstd -c -T0 --long -19`, * releng will retain .tar.gz with `gzip -cn9` for now. This will later be changed as part of https://gitlab.archlinux.org/archlinux/archiso/-/issues/130.
* configs/*/airootfs/etc/systemd/network/: add RequiredForOnline=routablenl67202023-12-091-0/+3
| | | | | | | | | | | By default systemd-networkd-wait-online.service considers a network connection to be "online" when it has reached the "degraded" state (see networkctl(1) for the definitions). Since "degraded" does not ensure there's a routable address, let's change the connection's requirement to "routable" instead. This gives a better chance that the network really is online when network-online.target is reached.
* Add configs/baseline/airootfs/etc/localtimenl67202023-09-291-0/+1
| | | | | | | Make sure the ISO can be booted successfully without triggering questions from systemd-firstboot. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/205 Fixes: 6e1be91961967a6485901ac431f6f6b06675b750 ("archiso/mkarchiso: write "uninitialized" to /etc/machine-id")
* Add configs/*/grub/loopback.cfgnl67202023-09-281-0/+73
| | | | | | | | | See https://www.supergrubdisk.org/wiki/Loopback.cfg for details. Only `${iso_path}` is guaranteed, so we need to search for the volume, on which the ISO file resides, ourselves. Implements https://gitlab.archlinux.org/archlinux/archiso/-/issues/165
* configs/*/grub/grub.cfg: do not hardcode the architecture and platformnl67202023-09-281-3/+57
| | | | | | | | | | Construct a human readable platform identifier from GRUB's built-in variables and use it in menu item descriptions. Only add the menu entries for the additional tools (UEFI shell, Memtest86+) if the files exist. Modify baseline's `grub.cfg` to closer match releng.
* configs/*/grub/grub.cfg: rearrange module loadingnl67202023-09-281-2/+6
| | | | | | * Do not manually load modules that will get loaded by invoking a command. * Explicitly load serial modules. * Move `insmod all_video` after the font is loaded.
* /etc/ssh/sshd_config.d/10-archiso.conf: keep only the modified optionsnl67202023-08-261-115/+2
| | | | | | | | The only changes we make to the default are to enable root login via a password. While `PasswordAuthentication yes` is the default, let's set it explicitly to avoid potential issues in the future.
* Move custom sshd_config to /etc/ssh/sshd_config.d/nl67202023-08-261-0/+0
| | | | | | | | openssh 9.4p1-2 changed /etc/ssh/sshd_config to add support for drop-in files in /etc/ssh/sshd_config.d/. Using drop-in files avoids needing to keep up with changes to the default /etc/ssh/sshd_config.
* Set IPv6PrivacyExtensions=yes in global systemd-netorkd configurationnl67202023-08-112-1/+2
| | | | | | Since systemd 245, IPv6PrivacyExtensions can be set not just per connection, but also globally for all connection with a configuration file in /etc/systemd/network.conf.d/.
* configs/*/airootfs/etc/mkinitcpio.conf.d/archiso.conf: remove comments and ↵nl67202023-06-211-66/+0
| | | | | | unused options Set only the custom values for HOOKS and COMPRESSION.
* configs/: move custom mkinitcpio.conf files to /etc/mkinitcpio.conf.d/nl67202023-06-212-1/+1
| | | | This allows to retain a pristine /etc/mkinitcpio.conf in the rootfs.
* Update configs/{baseline,releng}/pacman.confnl67202023-05-251-6/+3
| | | | | | | Update pacman.conf to match the one shipped with pacman 6.0.2-7. The community repository is gone. See https://archlinux.org/news/git-migration-completed/
* Add support for mDNS.Sorin Pânca2023-05-222-0/+5
|
* Use UUIDs in all boot loader configuration filesnl67202023-05-172-2/+2
| | | | | | | Relying on the volume UUID instead of its LABEL avoids collisions of multiple ISOs created in the same month. Fixes #202
* configs/baseline/profiledef.sh: compress morenl67202023-03-171-1/+1
| | | | | | | | * Use LZMA extreme compression level, * enable experimental compressed fragments feature to create a smaller image, * enable experimental data deduplication. This decreases the baseline profile's `airootfs.erofs` size by about ~16 MiB.
* Use console as grub's terminal_outputDavid Runge2023-02-271-2/+1
| | | | | | | configs/{baseline,releng}/grub/grub.cfg: Use `console` as grub's `terminal_output`, as with `gfxterm` only a blank screen is shown on some hardware. Fixes #212
* configs/*/grub/grub.cfg: replace /dev/disk/by-uuid/ with UUID=nl67202023-02-241-1/+1
| | | | | | | | | Use the shorter and more nicer looking `UUID=` *tags* instead of the `/dev/disk/by-uuid/` paths. This requires mkinitcpio-archiso v68. Related to #202
* Move the .uuid file to /boot/grub/YYYY-mm-dd-HH-MM-SS-00.uuidnl67202023-02-241-1/+1
| | | | | | | | | | | | | | To prevent the file from being accidentally missed when someone copies the ISO's contents, let's not place it in a directory that starts with a dot. Since all GRUB related files are in /boot/grub/, put it there too. Instead of using a more unique UUID for the file name, use `YYYY-mm-dd-HH-MM-SS-00.uuid` which matches the ISO's modification date in UTC,i.e. its "UUID". If multiple ISOs would be generated in the exact same second, the ISO 9660 modification date (i.e. its "UUID") would be the same, so there would be not way to distinguish between the volumes anyway. This also makes the file look less suspicious to the casual glance.
* configs/*/grub/grub.cfg: reuse ARCHISO_HINT and ARCHISO_UUID passed from the ↵nl67202023-02-221-3/+7
| | | | | | | | embedded grub.cfg The `grub.cfg` embedded in the GRUB binaries already sets `ARCHISO_HINT` and `ARCHISO_UUID` in most cases. To avoid performing the same searches multiple times, use the existing variables.
* configs/*/profiledef.sh: honor SOURCE_DATE_EPOCHnl67202023-02-221-2/+2
| | | | Ensure the **correct** date is used in `iso_label` and `iso_version`.
* configs/*/airootfs/etc/ssh/sshd_config: update to match 9.2p1-1nl67202023-02-071-3/+3
| | | | | | | | Update /etc/ssh/sshd_config to match changes made in https://github.com/archlinux/svntogit-packages/commit/42aa04744e96c5805b7aa3904636f8cbd781f682 and https://github.com/archlinux/svntogit-packages/commit/7166713c55002dac3c2b306fdc63e89a412083a6 The only modification remains `PermitRootLogin yes`.
* Preload GRUB's NTFS, exFAT and UDF modulesnl67202023-02-021-0/+4
| | | | | | | | There are claims that some UEFI allegedly natively support NTFS. Preload the required GRUB modules to support booting from NTFS on such systems. Additionally preload the exFAT and UEF modules, because, why not?
* configs/*/grub/grub.cfg: search for a .uuid file in /.disk/ and use the ↵nl67202023-02-021-2/+6
| | | | | | | | | | | | | | | | | volume it's on Search for `/.disk/%UUID_SEARCH_FILENAME%.uuid` and pass the UUID of the volume it's on as `archisodevice`. mkarchiso will replace `%UUID_SEARCH_FILENAME%` with a hardcoded value generated using `SOURCE_DATE_EPOCH` durring ISO build. This allows to prepare an UEFI bootable installation medium by simply copying the directory structure without having to touch `grub.cfg`. Relying on the volume UUID instead of its LABEL also avoids collisions of multiple ISOs created in the same month. Fixes #202
* configs/baseline/profiledef.sh: use LZMA compression for the EROFS imagenl67202022-12-171-1/+1
| | | | | | | | | Now that xz 5.4 is out and erofs-utils is built with LZMA support, it is possible to compress the EROFS image with LZMA for higher compression. `mkfs.erofs` trows a few warnings about using experimental features, but they should not be an issue. Nothing changes for the releng profile, for now at least.
* configs/: remove "Copy to RAM" boot entries since it is automatic nownl67202022-10-223-17/+0
| | | | | | | | The default is now copytoram=auto which enables copying to RAM when the rootfs image size is less than 4 GiB and free RAM exceeds the rootfs image size + 2 GiB. See https://gitlab.archlinux.org/mkinitcpio/mkinitcpio-archiso/-/issues/13 and https://gitlab.archlinux.org/mkinitcpio/mkinitcpio-archiso/-/merge_requests/26. Implements #177.
* configs/: Do not explicitly enable qemu-guest-agent.servicenl67202022-10-061-1/+0
| | | | | | qemu-guest-agent.service will be started by the /usr/lib/udev/rules.d/99-qemu-guest-agent.rules udev rule. Fixes #199
* configs/*/grub/grub.cfg: enable serial input and outputnl67202022-06-261-2/+12
| | | | | | | | Try to initialize a serial device and use it for input and output. Add more comments to grub.cfg to explain what is done. Related to #75
* configs/*/grub/grub.cfg: auto-boot after 15 secondsnl67202022-06-231-2/+6
| | | | | | | * Set the default boot entry and its timeout. * Add classes to menu entries to allow theming them. Fixes #179
* configs/baseline/profiledef.sh: add `-E ztailpacking` to ↵nl67202022-06-181-1/+1
| | | | | | airootfs_image_tool_options for mkfs.erofs As the man page says, it saves more space, although the feature is experimental.
* Use grub for uefi x64 boot modes in profiledef.shplainlinen2022-06-091-2/+2
|
* Add useful grub menu entries to grub.cfgplainlinen2022-06-091-1/+1
|
* configs/: use the C.UTF-8 localenl67202022-06-091-0/+1
| | | | | | | The glibc 2.35-6 package ships with the C.UTF-8 locale included. This means there is now a UTF-8 locale available by default and en_US.UTF-8, which requires editing /etc/locale.gen and running locale-gen, is not needed anymore. Implements #175.
* Update baseline and releng profiledef.sh to support ia32 uefi mode.Pellegrino Prevete2022-05-251-1/+3
|
* Add GRUB configuration files to baseline and releng profiles.Pellegrino Prevete2022-05-251-0/+29
|
* configs/*: add VMware and Hyper-V guest packages and enable their servicesnl67202022-04-306-0/+7
| | | | | | | * open-vm-tools package, vmtoolsd.service and vmware-vmblock-fuse.service for VMware. * hyperv package, hv_fcopy_daemon.service, hv_kvp_daemon.service and hv_vss_daemon.service for Hyper-V. Related to #118.
* configs/{baseline,releng}/: disable systemd-gpt-auto-generatornl67202022-03-251-0/+1
| | | | | | | | | | | | | | | When booting the ISO, you can observe a message that systemd-gpt-auto-generator has failed: systemd-gpt-auto-generator[197]: Reading EFI variable /sys/firmware/efi/efivars/LoaderDevicePartUUID-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f. systemd-gpt-auto-generator[197]: open("/sys/firmware/efi/efivars/LoaderDevicePartUUID-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f") failed: No such file or directory systemd-gpt-auto-generator[197]: EFI loader partition unknown, exiting. systemd-gpt-auto-generator[197]: (The boot loader did not set EFI variable LoaderDevicePartUUID.) systemd-gpt-auto-generator[197]: Failed to open device: No such device Seeing as it started to appear relatively recently, it may be a systemd bug. Since we do not want any GPT partition automounting in the live environment anyway, systemd-gpt-auto-generator can simply be disabled. Fixes #164.
* configs/*/airootfs/etc/systemd/network/20-ethernet.network: add a comment to ↵nl67202022-01-221-0/+3
| | | | | | | | document why an interface name glob is used This documents the changes made in !177 inside the .network files themselves. Related to #142.
* configs/*/airootfs/etc/ssh/sshd_config: update to openssh 8.7p1-1nl67202021-08-251-5/+5
| | | | | Update /etc/ssh/sshd_config to match upstream changes. The only modification remains "PermitRootLogin yes".
* Remove SPDX license identifier from releng configsDavid Runge2021-07-2911-31/+0
| | | | | | configs/baseline/*: Remove the SPDX license identifier comment from the configuration files in the profile, as they are not eligible for copyright.
* configs/*/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d ↵nl67202021-07-271-0/+4
| | | | | | | | /wait-for-only-one-interface.conf: document why the drop-in file exists Related to #142. Add missing `ExecStart=` to baseline's /etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf.
* configs/releng/airootfs/etc/systemd/network/: move RouteMetric= from ↵nl67202021-07-271-3/+0
| | | | | | | | | | | | [DHCPv6] to [IPv6AcceptRA] systemd moved the option. See https://github.com/systemd/systemd/commit/8ebafba9f987c21aa5787c8767f2e390b4ec0bc5 . Implements #123. Document in comments why the route metrics need to be set (because of https://github.com/systemd/systemd/issues/17698 ) and use the same metric values as NetworkManager. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c Additionally remove RouteMetric from configs/baseline/airootfs/etc/systemd/network/20-ethernet.network. There is only one networkd configuration file in baseline, meaning, there are no other routes.
* baseline/pacman.conf: Enable parallel downloadsGiancarlo Razzolini2021-06-291-1/+1
| | | | | Now that pacman 6 is around, enable parallel downloads to speed up the installation process. Added to the baseline configuration to also improve the pipeline.
* configs/*/pacman.conf: update configuration file for pacman 6nl67202021-06-051-1/+2
| | | | | | Based on https://github.com/archlinux/svntogit-packages/blob/accc1d210133a933f2b26e0aad842c27d00c8b0c/trunk/pacman.conf Implements #136
* configs/baseline: use EROFS based imagenl67202021-05-291-2/+2
| | | | Showcase #59.