aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/merge-requests/327'nl67202023-05-171-1/+1
|\ | | | | | | | | | | | | | | | | By 2hexed * origin/merge-requests/327: Update mkarchiso Fixed a little typo in install_dir's description See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/327
| * Update mkarchiso2hexed2023-05-171-1/+1
|/
* CHANGELOG.rst: remove stray git conflict markernl67202023-05-171-1/+0
| | | | Fixes 8cc0e9e5b09d504a50701a825f0ab9992ed73b6f
* configs/releng/packages.x86_64: add more terminfo packagesnl67202023-05-172-0/+4
| | | | | Add foot-terminfo and wezterm-terminfo packages to allow using their terminfo entries for installations via SSH.
* README.profile.rst: document %ARCHISO_UUID% and %ARCHISO_SEARCH_FILENAME%nl67202023-05-171-0/+6
| | | | | While their values are not affected by `profiledef.sh` variables, there is no other place to document these *identifiers*.
* mkarchiso: read SOURCE_DATE_EPOCH from file earlynl67202023-05-172-6/+12
| | | | | | | When restarting an interrupted build, SOURCE_DATE_EPOCH needs to be available before `profiledef.sh` is read, since it may reference it. Fixes 7c6f266ec94e3eff23466ed8d0c45e4bee0ddae4
* Use UUIDs in all boot loader configuration filesnl67202023-05-177-7/+8
| | | | | | | Relying on the volume UUID instead of its LABEL avoids collisions of multiple ISOs created in the same month. Fixes #202
* mkarchiso: support %ARCHISO_UUID% variable in boot loader configurationnl67202023-05-171-5/+9
| | | | | | | | | | It will be replaced with the ISO's modification date in UTC, i.e. its "UUID". This allows to replace `archisolabel=%ARCHISO_LABEL%` with `archisodevice=UUID=%ARCHISO_UUID%` in boot loader configurations. Related to #202
* Merge remote-tracking branch 'origin/merge-requests/325'nl67202023-05-172-2/+2
|\ | | | | | | | | | | | | | | By shivanandvp * origin/merge-requests/325: mkarchiso: Fix the cp command arguments to retain mkarchiso's behavior prior to the GNU Coreutils update. Fixes Issue #214 See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/325
| * mkarchiso: Fix the cp command arguments to retain mkarchiso's behavior prior ↵shivanandvp2023-05-172-2/+2
|/ | | | to the GNU Coreutils update. Fixes Issue #214
* Merge remote-tracking branch 'origin/merge-requests/322'nl67202023-05-172-1/+3
|\ | | | | | | | | | | | | | | | | | | | | By Antonio V * origin/merge-requests/322: Fixed subdirectories copy from grub/ to the ISO Subdirectories from grub/ are copied to the ISO Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/215 See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/322
| * Fixed subdirectories copy from grub/ to the ISOAntonio V2023-05-141-0/+2
| |
| * Subdirectories from grub/ are copied to the ISOAntonio V2023-05-141-1/+1
| |
* | Merge branch 'd3vil0per-master-patch-56859' into 'master'David Runge2023-05-162-3/+5
|\ \ | |/ |/| | | | | Added classes for Memtest86+ and UEFI Shell menuentries See merge request archlinux/archiso!323
| * Added classes for Memtest86+ and UEFI Shell menuentriesAntonio V2023-05-141-0/+2
| |
| * Added classes for Memtest86+ and UEFI Shell menuentriesAntonio V2023-05-141-3/+3
|/
* Merge remote-tracking branch 'origin/merge-requests/235'nl67202023-05-132-1/+13
|\ | | | | | | | | | | | | | | By Zig Globulin * origin/merge-requests/235: wait for networkd online before curl invocation See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/235
| * wait for networkd online before curl invocationZig Globulin2023-03-022-1/+13
| | | | | | | | | | | | | | 1) wait for network-online.target before invoking curl as there's no synchronization with network setup for this script 2) don't hide curl errors - it may be easier to debug the issues 3) add log and comments
* | configs/baseline/profiledef.sh: compress morenl67202023-03-172-1/+4
|/ | | | | | | | * 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.
* Add changelog for 70nl67202023-02-271-0/+18
|
* Add changelog entry for terminal_output fixDavid Runge2023-02-271-0/+1
|
* Use console as grub's terminal_outputDavid Runge2023-02-272-4/+2
| | | | | | | 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-242-3/+3
| | | | | | | | | 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
* README.transfer.rst: update instructionsnl67202023-02-242-90/+123
| | | | | | | | | | | Convert the file to reStructuredText markup. Fixes #39. Rewrite the instructions where possible or otherwise update them. E.g. fix the changed boot loader paths, etc. The "Manual formatting (BIOS only)", previosly "PC-BIOS (ISOHYBRID-MBR)", method is not tested and it is not clear if it still even works.
* Rename docs/README.transfer to docs/README.transfer.rstnl67202023-02-241-0/+0
|
* Move SYSLINUX directory from /syslinux/ to /boot/syslinux/nl67202023-02-242-16/+17
| | | | | | | | | This allows to reduce the number of top-level directories by one and matches with the GRUB directory move. Most boot loader related things will now be in the /boot/ directory. Fixes #207
* Move the .uuid file to /boot/grub/YYYY-mm-dd-HH-MM-SS-00.uuidnl67202023-02-244-16/+18
| | | | | | | | | | | | | | 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.
* mkarchiso: write grubenv in _make_common_bootmode_grub_cfgnl67202023-02-243-1/+26
| | | | | | | Add all variables that we replace with values in configuration files. Keep `${isofs_dir}/${install_dir}/grubenv` with fewer variables for backwards compatibility. It will be removed in the future.
* configs/*/grub/grub.cfg: reuse ARCHISO_HINT and ARCHISO_UUID passed from the ↵nl67202023-02-222-6/+14
| | | | | | | | 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.
* Move grub files from /EFI/BOOT/ to /boot/grub/ on ISO 9660nl67202023-02-222-5/+7
| | | | | | | | | | | | | | | | | Move the location of GRUB files so that there is boot-platform (BIOS vs EFI) neutral place for GRUB-specific files (e.g. configuration files, background images, etc.). The EFI binaries are obviosly staying in the default/fallback boot path `/EFI/BOOT/BOOT*.EFI`, otherwise there will be no UEFI booting. The /boot/grub/ directory will be used to store BIOS (i386-pc) GRUB bootsector images, if we get to that. It is also a requirement for implementing `loopback.cfg` support, since the file's path must be `/boot/grub/loopback.cfg`. Implements #206
* Do not duplicate grub.cfg in efiboot.imgnl67202023-02-222-20/+36
| | | | | | | | | | | | | | | Instruct the embeded grub.cfg to search for a volume with a `/.disk/%UUID_SEARCH_FILENAME%.uuid` file and load `/EFI/BOOT/grub.cfg` from it. This avoid duplicating GRUB configuration files in two places (ISO 9660 and FAT) and ensures there is no confusion about which is the _correct_ configuration file. Since nothing besides EFI binaries is copied to `efibootimg`, the `_make_common_bootmode_grub_copy_to_efibootimg` function is removed. Fixes #208
* mkarchiso: add more details to the comment in grub-embed.cfgnl67202023-02-221-2/+5
| | | | Link to the upstream issue report.
* configs/*/profiledef.sh: honor SOURCE_DATE_EPOCHnl67202023-02-223-4/+5
| | | | Ensure the **correct** date is used in `iso_label` and `iso_version`.
* mkarchiso: do not place memtest86+ in netboot artifactsnl67202023-02-104-10/+10
| | | | | | | | | Move memtest86+ to `/boot/memtest86+/` on ISO 9660. That directory is not copied to netboot artifact output. Netboot boot menu https://ipxe.archlinux.org/releng/netboot/archlinux.ipxe does not have entries for memtest and archiso-manager removes these files (not the EFI one, though) before uploading the release files anyway.
* configs/*/airootfs/etc/ssh/sshd_config: update to match 9.2p1-1nl67202023-02-072-6/+6
| | | | | | | | 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-024-8/+18
| | | | | | | | 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-023-9/+20
| | | | | | | | | | | | | | | | | 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
* mkarchiso: write a .uuid file to /.disk/ on ISO 9660 to allow GRUB to search ↵nl67202023-02-021-2/+9
| | | | | | | | | | | | | | | | for it Create a `/.disk/INSERT_UUID_HERE.uuid` file to implement something called "file system transposition". See https://www.mail-archive.com/grub-devel@gnu.org/msg34346.html for the proposal of it for grub-mkrescue. This will allow GRUB to search for the volume containing the file instead of hardcoding the ISO volume label or another file system or partition attribute in GRUB configuration. By only relying on the directory structure simplifies supporting medium preparation methods with manual partitioning such as https://wiki.archlinux.org/title/USB_flash_installation_medium#In_GNU/Linux_4
* Update URLsnl67202023-01-294-6/+6
| | | | | | | | * Update mkinitcpio-archiso project link, * Update code of conduct link, * Update arch-releng mailing list link, * Use HTTPS where possible, * Replace dead link.
* Add changelog for 69nl67202022-12-241-3/+13
|
* Merge remote-tracking branch 'origin/merge-requests/304'nl67202022-12-241-1/+1
|\ | | | | | | | | | | | | | | By Alexander Speshilov * origin/merge-requests/304: fix typo in README.profile.rst See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/304
| * fix typo in README.profile.rstAlexander Speshilov2022-12-221-1/+1
| |
* | Merge remote-tracking branch 'origin/merge-requests/303'nl67202022-12-242-2/+6
|\ \ | |/ |/| | | | | | | | | | | By Christian Hesse * origin/merge-requests/303: archiso/mkarchiso: write "uninitialized" to /etc/machine-id See merge request https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/303
| * archiso/mkarchiso: write "uninitialized" to /etc/machine-idChristian Hesse2022-12-222-2/+6
|/ | | | | | | This is a new value introduced in systemd v247. It makes sure a new machine-id is generated, but is handled as first boot as well. See "First Boot Semantics" in machine-id(5) for details.
* configs/baseline/profiledef.sh: use LZMA compression for the EROFS imagenl67202022-12-172-1/+3
| | | | | | | | | 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/releng/syslinux/archiso_pxe-linux.cfg: replace checksum and verify ↵nl67202022-12-101-3/+3
| | | | | | | | | | | | | | | with cms_verify=y Specify `cms_verify=y` in SYSLINUX/PXELINUX configuration to use OpenSSL CMS based method for verifying the root file system image against the code signing certificates in the initramfs. `checksum` and `verify` are removed since they essentially serve the same purpose and performing all the checks just needlessly delays boot. Additionally, the removal of `verify` allows to build the ISO without gpg, i.e. without using `mkarchiso`'s `-g` and `-G` options. Fixes #200
* mkarchiso: check if the code signing files specified with option -c existnl67202022-12-102-1/+10
| | | | | Look for the files in `*_validate_options` and error out early if they do not exist.
* mkarchiso: open the ARCHISO_GNUPG_FD, ARCHISO_TLS_FD and ARCHISO_TLSCA_FD ↵nl67202022-12-062-3/+5
| | | | | | file descriptors only for reading Nothing should ever be written to these files, so let's make sure it cannot happen.
* mkarchiso: do not try to use an non existent GPG public key filenl67202022-12-062-5/+9
| | | | | | | | | | | | | | | The `bootstrap` build mode never calls `_export_gpg_publickey`, so even if the GPG key is passed with the `-g` option and thus the `gpg_key` variable is set, the `${work_dir}/pubkey.gpg` file will not exist. This has not caused any issue so far because the `ARCHISO_GNUPG_FD` file descriptor opens the file for both reading and writing, which means the file gets created if it does not exist. Assign the exported public key file name to a `gpg_publickey` variable in `_export_gpg_publickey` and check for it when the file is used. Since the exist status of the gpg command cannot be checked, look for the exported public key file instead.
* mkarchiso: disable shellcheck warning when searching an arraynl67202022-12-061-0/+1
| | | | The warning about SC2076 does not apply here.