aboutsummaryrefslogtreecommitdiff
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* releng: Add usbmuxd to list of packagesDavid Runge2021-02-161-0/+1
| | | | | | | | configs/releng/packages.x86_64: Add usbmuxd to list of packages, so that users have the option to use iOS devices out-of-the-box for data connection during installation. Fixes #99
* Remove havegedKristian Klausen2021-02-162-3/+0
| | | | | | | | | | | | | | | | | | | haveged was added 8 years ago[1] to increase entropy and presumably to prevent entropy starvation. A few things has changed since, most notable: * the kernel actively tries to add entropy (jitter entropy)[2][3][4][5] * /dev/random no longer blocks after CRNG initialization[6][7] [1] d7e790d ("Initialize pacman keyring on bootup") [2] https://github.com/torvalds/linux/commit/3f2dc2798b81531fd93a3b9b7c39da47ec689e55 [3] https://github.com/torvalds/linux/commit/50ee7529ec4500c88f8664560770a7a1b65db72b [4] https://lore.kernel.org/lkml/alpine.DEB.2.21.1909290010500.2636@nanos.tec.linutronix.de/T/ [5] https://lwn.net/Articles/800509/ [6] https://github.com/torvalds/linux/commit/30c08efec8884fb106b8e57094baa51bb4c44e32 [7] https://lwn.net/Articles/808575/ Fix #98
* configs/releng: move locale-gen from customize_airootfs.sh to a pacman hooknl67202021-01-312-10/+13
| | | | | | This finally removes customize_airootfs.sh from releng. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
* config/releng: remove pacman hooks specific to ISO build process from ↵nl67202021-01-312-0/+19
| | | | | | | | | airootfs after they run This works around https://bugs.archlinux.org/task/49347 . Leaving the hooks in the airootfs image will result in it being run when pacstrap is run in the live environment. This should not happen as they are intended for the ISO build process only. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/91 .
* add cloud-init to baselineMichael Vorburger2021-01-275-0/+5
|
* make baseline have working ethernet networking, like relengMichael Vorburger2021-01-276-0/+22
|
* add SSH server to baselineMichael Vorburger2021-01-273-0/+118
| | | | inspired by https://wiki.archlinux.org/index.php/Archiso#Prepare_an_ISO_for_an_installation_via_SSH
* use same airootfs_image_tool_options in baseline as in relengMichael Vorburger2021-01-271-0/+1
|
* configs/releng: move the mirror uncommenting sed command from ↵nl67202021-01-272-2/+12
| | | | | | | | | customize_airootfs.sh to a pacman hook After pacman-mirrorlist is installed, /etc/pacman.d/hooks/uncomment-mirrors.hook will run a sed command which uncomments all Server lines in /etc/pacman.d/mirrorlist. This brings us another step closer to the complete removal of customize_airootfs.sh. Related to https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
* enable SSH server in releng profileMichael Vorburger2021-01-231-0/+1
|
* add cloud-init to relengMichael Vorburger2021-01-235-0/+5
|
* profiledef.sh: Remove www. from archlinux.orgnl67202020-12-262-2/+2
| | | | See https://lists.archlinux.org/pipermail/arch-devops/2020-December/000474.html .
* configs/releng/syslinux/archiso_pxe-linux.cfg: add missing /boot to initrd ↵nl67202020-12-011-1/+1
| | | | | | file path Fixes https://bugs.archlinux.org/task/68803 .
* Fix issues with file ownerships/modesDavid Runge2020-11-301-1/+1
| | | | | | | | | | | archiso/mkarchiso: Make sure to always compare absolute paths in `_make_custom_airootfs()` (as `realpath` is used). Remove `echo` calls that prevent the setting of actual file ownerships and modes. configs/releng/profiledef.sh: Set file mode of /root/.automated_script.sh to 755. Fixes #82
* Keep all SYSLINUX files in /syslinuxnl67202020-11-3012-64/+41
| | | | | | This gets rid of the duplicate ldlinux.c32 and the useless isolinux.cfg which only points to syslinux.cfg. Implements https://gitlab.archlinux.org/archlinux/archiso/-/issues/46 .
* Allow specifying ownership and mode of custom airootfs files and directoriesnl67202020-11-302-0/+11
| | | | | | | | | | | | | profiledef.sh can now contain an associative array called file_permissions which can be used to set custom ownership and mode of custom airootfs files. The array's keys contain the path and the value is a colon separated list of owner UID, owner GID and access mode. For example: file_permissions=( ["/etc/shadow"]="0:0:400" ) This means that mkarchiso now copies airootfs files (and directores) without permissions and anything that should be owned by a user other than root and/or if the mode should be something other than 644 for files and 755 for directories must to be listed in ${file_permission[@]} in profiledef.sh. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/61 .
* Use better xz optionsSven-Hendrik Haase2020-11-031-0/+1
| | | | | Default: 732M With these options: 675M
* configs/releng/packages.x86_64: add fatresize, gpart and tmuxnl67202020-11-011-0/+3
| | | | | | - fatresize is a utility to resize FAT filesystems using libparted. - gpart is partition table rescue/guessing tool. - tmux is a terminal multiplexer. Requested in https://bugs.archlinux.org/task/68252 .
* Set syslinux bootloader timeout to 15sDavid Runge2020-10-311-1/+1
| | | | | | configs/releng/syslinux/archiso_sys.cfg: Set the syslinux bootloader timeout to 15s. In !97 it has accidentally been set to 1.5s.
* Set bootloader timeouts to 15sDavid Runge2020-10-312-2/+2
| | | | | | | | | configs/releng/efiboot/loader/loader.conf, configs/releng/syslinux/archiso_sys.cfg: Set the bootloader timeout to 15s, as they have been set to an overly generous 30s in !79. Fixes #80
* fix a typo, add myself in AUTHORS.rstAlexander Epaneshnikov2020-10-291-1/+1
|
* Fix linter errors in livecd-soundDavid Runge2020-10-291-7/+3
| | | | | | | | | | | configs/releng/airootfs/usr/local/bin/livecd-sound: Replace oldstyle expr with a bash test in `is_numeric()`. Replace use of `nword()` with call to `wc -w`. Quote variables in `pick_a_card()`. Fixes #78
* implement accessibility support in archisoAlexander Epaneshnikov2020-10-2913-2/+328
| | | | this fixes #67
* Add modconf to HOOKS array in mkinitcpio.confnl67202020-10-292-2/+4
| | | | The default mkinitcpio.conf includes modconf in HOOKS.
* configs/releng/packages.x86_64: add squashfs-tools and udftoolsnl67202020-10-291-0/+2
| | | | | - squashfs-tools can be used for system backup. https://wiki.archlinux.org/index.php/Full_system_backup_with_SquashFS - udftools is needed to format UDF file systems.
* Remove build.sh support from profiles and mkarchisoDavid Runge2020-10-292-14/+0
| | | | | | | | | | | | | | | | | configs/{baseline,releng}/build.sh: Remove `build.sh` scripts. They were deprecated with v47. archiso/mkarchiso: Remove all `build.sh` related functionality (i.e. `command_pkglist()`, `command_iso()`, `command_prepare()`, `command_install()`, `command_init()`, `command_run()`). Rename `command_build_profile()` to `_build_profile()` to be more in line with the style of the other function naming. Change `_show_config()` to only print info about the profile and make no more use of parameters. Remove all help output related to legacy `build.sh` commands. Fixes #51
* configs/baseline: support UEFInl67202020-10-244-2/+14
|
* Split SYSLINUX configuration into per-kernel configuration filesnl67202020-09-276-46/+58
| | | | | Slightly simplifies adding boot loader configuration for more kernels. Unfortunately the INCLUDE statement doesn't support wildcards, so each new file must be manually included in the main syslinux configuration file (syslinux.cfg for baseline and archiso_sys.cfg for releng).
* Use the same file paths in both ISO 9660 and FATnl67202020-09-273-10/+1
| | | | | This allows to use only one systemd-boot configuration file per kernel. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/44 .
* Do not rename the initramfs imagenl67202020-09-277-9/+9
| | | | | | | This is a breaking change. archweb, archiso-manager and various documentation must be updated. * https://github.com/archlinux/archweb/blob/master/templates/releng/archlinux.ipxe * https://github.com/pierres/archiso-manager/blob/master/Makefile
* configs/releng: remove custom reflector.service and use the service provided ↵nl67202020-09-274-45/+13
| | | | | | by the package archiso specific options are placed in a /etc/systemd/system/reflector.service.d/archiso.conf drop-in.
* Pass profile directory as parameter to mkarchisoDavid Runge2020-08-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **archiso/mkarchiso**: Change all override option parameters (i.e. `-A`, `-C`, `-D`, `-L`, `-P` and `-g`) to not directly override the global variable they are tied to, but instead using an `override_` prefixed variable. Add `_set_overrides()` to use `override_` prefixed variables (if set) to override those without a prefix. Remove `-B` (a profile directory) from the list of parameters. The profile directory is now provided as separate non-option parameter. Add a call to `_read_profile()`, `_set_overrides()` and `command_build_profile()` to the fallthrough option of the switch-case checking `command_name` - a non-option parameter to mkarchiso. This effectively provides the possibility to set the profile directory using a non-option parameter, while still maintaining compatibility to legacy named arguments used in the configs' `build.sh` scripts. Extend the warning in regards to legacy `build.sh` based commands to mkarchiso by providing an EOL with archiso v49. Change the help output to reflect the changes and further elaborate on the legacy commands used by `build.sh` scripts. Change help output to be ordered alphabetically. Add help output for `-r` and `-g` options. Call `_set_overrides()` for legacy commands that accept one or more of the overriden options (i.e. `command_init`, `command_install`, `command_prepare` and `command_iso`). Various style fixes. **configs/{baseline,releng}/build.sh**: Change call to mkarchiso to use the profile's directory as a named argument instead of an option-argument. **README.rst**: Fix documentation on how to call mkarchiso with a profile directory. Fix wording and ordering of option arguments for run_archiso documentation. Fixes #52
* archiso/mkarchiso: create an empty /etc/machine-idnl67202020-08-181-0/+0
| | | | Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/42 .
* Deprecate build.sh scripts and old mkarchiso commandsnl67202020-08-173-414/+7
| | | | | | Replace build.sh scripts with calls to mkarchiso -B "profiledir" build_profile. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/37 .
* archiso/mkarchiso: allow choosing boot modes from profiledef.shnl67202020-08-172-1/+13
| | | | | | | | | | | Boot mode names are: - bios_syslinux.mbr: SYSLINUX in MBR - bios.syslinux.eltorito: SYSLINUX (ISOLINUX) via El Torito - uefi-x64.systemd-boot.esp: systemd-boot on ESP in MBR - uefi-x64.systemd-boot.eltorito: systemd-boot on ESP via El Torito It is not yet possible to create an ISO with only El Torito or only MBR boot modes!
* archiso/mkarchiso: start preparing a build_profile commandnl67202020-08-171-0/+12
| | | | | | | Nothing is implemented yet! configs/releng/profiledef.sh: A test profile.
* configs/releng/packages.x86_64: replace exfat-utils with exfatprogsnl67202020-08-111-1/+1
| | | | exfatprogs uses the kernel's driver unlike exfat-utils which provides a FUSE driver.
* configs/releng/syslinux/archiso_pxe.cfg: add "checksum" and "verify" boot ↵nl67202020-08-111-3/+3
| | | | | | | options An ISO's checksum and GPG validation primarily matters when PXE booting, so it would be appropriate to enable these options for releng. They should protect against booting a corrupt image.
* releng: copy UEFI shell from airootfs instead of the host systemnl67202020-07-302-1/+2
| | | | Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/35 .
* releng: place custom sshd_config in airootfsnl67202020-07-302-1/+116
| | | | | Properly track the file instead of modifying it on-the-fly with customize_airootfs.sh. See https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
* Use latest synced mirrors instead of ageDavid Runge2020-07-301-1/+1
| | | | | | configs/releng/airootfs/etc/systemd/system/reflector.service: Use the 70 mirrors synced most recently (--latest) instead of a specific time since last sync (--age). According to FS#67399 using 1hour as sync age is too short, as it sometimes leads to empty list.
* Install mkinitcpio-archiso-hooks in airootfs instead of copying the hooks ↵nl67202020-07-304-16/+2
| | | | from host
* Build initramfs images only oncenl67202020-07-298-49/+179
| | | | | Place custom mkinitcpio.conf in airootfs. Use a custom mkinitcpio preset to specify generated image file path.
* Remove unnecessary files from releng's airootfsnl67202020-07-292-3/+0
| | | | | | | | configs/releng/airootfs/etc/fstab: /etc/fstab shipped by the filesystem package has only comments. There is no reason to replace it with an empty file. configs/releng/airootfs/etc/systemd/system/default.target: There is no harm in booting to graphical.target. releng does not enable (or even install) any service that has {Required,Wanted}By=graphical.target.
* Add license and basic documentationDavid Runge2020-07-2935-0/+94
| | | | | | | | | | | | | | | | | | | | | | | | | LICENSE: Add GPL-3.0 license. {{archiso,configs}/*,.editorconfig,.gitlab-ci.yml}: Add SPDX license identifier. Makefile: Add SPDX license identifier. Install the `run_archiso.sh` script as global executable `run_archiso`. Use -D and -t flags to install to install files more generically (without a previous call to install the directory). README.rst: Add README outlining the project's scope, how to build images from the profiles and how to test. AUTHORS.rst: Add list of all direct contributors to the repository. CONTRIBUTING.rst: Add basic contribution guidelines, explaining the linter and the license in use. Closes #7 Closes #3
* Copy files more genericallyDavid Runge2020-07-287-33/+37
| | | | | | | | | | | | | | configs/*: Copy all files that do not need a rename generically (not specifying a destination file name). Do not rename vmlinuz-linux to vmlinuz or vmlinuz.efi (as this serves no purpose and makes the scripts more complicated). Do not rename microcode (i.e. {amd,intel}-ucode.img) when copying them and change all boot loader configuration files that assume a renamed microcode image. Add note and link to Arch Linux wiki to state why memtest.bin is renamed to memtest. Copy license files for {amd,intel}-ucode and memtest more generically by placing them into subdirectories with the same name as the package (to circumenvent overwriting one other). Closes #33
* Copy /etc/skel/ to user's home from build.sh instead of customize_airootfs.shnl67202020-07-282-3/+10
| | | | Additionally copy the files to all custom user homes, not just root's.
* Set up custom user home directories and their permissionsnl67202020-07-282-1/+28
|
* Deprecate customize_airootfs.shnl67202020-07-282-7/+11
| | | | Show a deprecation notice if airootfs/root/customize_airootfs.sh is found.
* Install all packages in one go and don't copy pacman.conf to airootfsnl67202020-07-284-29/+27
| | | | | | | | | configs/{baseline,releng}/build.sh: Copy custom files to airootfs before installing packages. Instead of calling `mkarchiso init`, list all required packages in packages.x86_64 and install them all at once with `mkarchiso install`. The mkdir command which `mkarchiso init` performs is now done by make_custom_airootfs. configs/releng/build.sh: Don't copy configs/releng/pacman.conf to airootfs, it is only meant to provide a unmodified pacman.conf durring pacstrap. In airootfs, an unmodified /etc/pacman.conf will be installed with the pacman package.