Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng
AgeCommit message (Collapse)Author
2020-12-01configs/releng/syslinux/archiso_pxe-linux.cfg: add missing /boot to initrd ↵nl6720
file path Fixes https://bugs.archlinux.org/task/68803 .
2020-11-30Fix issues with file ownerships/modesDavid Runge
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
2020-11-30Keep all SYSLINUX files in /syslinuxnl6720
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 .
2020-11-30Allow specifying ownership and mode of custom airootfs files and directoriesnl6720
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 .
2020-11-03Use better xz optionsSven-Hendrik Haase
Default: 732M With these options: 675M
2020-11-01configs/releng/packages.x86_64: add fatresize, gpart and tmuxnl6720
- 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 .
2020-10-31Set syslinux bootloader timeout to 15sDavid Runge
configs/releng/syslinux/archiso_sys.cfg: Set the syslinux bootloader timeout to 15s. In !97 it has accidentally been set to 1.5s.
2020-10-31Set bootloader timeouts to 15sDavid Runge
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
2020-10-29fix a typo, add myself in AUTHORS.rstAlexander Epaneshnikov
2020-10-29Fix linter errors in livecd-soundDavid Runge
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
2020-10-29implement accessibility support in archisoAlexander Epaneshnikov
this fixes #67
2020-10-29Add modconf to HOOKS array in mkinitcpio.confnl6720
The default mkinitcpio.conf includes modconf in HOOKS.
2020-10-29configs/releng/packages.x86_64: add squashfs-tools and udftoolsnl6720
- 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.
2020-10-29Remove build.sh support from profiles and mkarchisoDavid Runge
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
2020-09-27Split SYSLINUX configuration into per-kernel configuration filesnl6720
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).
2020-09-27Use the same file paths in both ISO 9660 and FATnl6720
This allows to use only one systemd-boot configuration file per kernel. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/44 .
2020-09-27Do not rename the initramfs imagenl6720
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
2020-09-27configs/releng: remove custom reflector.service and use the service provided ↵nl6720
by the package archiso specific options are placed in a /etc/systemd/system/reflector.service.d/archiso.conf drop-in.
2020-08-25Pass profile directory as parameter to mkarchisoDavid Runge
**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
2020-08-18archiso/mkarchiso: create an empty /etc/machine-idnl6720
Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/42 .
2020-08-17Deprecate build.sh scripts and old mkarchiso commandsnl6720
Replace build.sh scripts with calls to mkarchiso -B "profiledir" build_profile. Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/37 .
2020-08-17archiso/mkarchiso: allow choosing boot modes from profiledef.shnl6720
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!
2020-08-17archiso/mkarchiso: start preparing a build_profile commandnl6720
Nothing is implemented yet! configs/releng/profiledef.sh: A test profile.
2020-08-11configs/releng/packages.x86_64: replace exfat-utils with exfatprogsnl6720
exfatprogs uses the kernel's driver unlike exfat-utils which provides a FUSE driver.
2020-08-11configs/releng/syslinux/archiso_pxe.cfg: add "checksum" and "verify" boot ↵nl6720
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.
2020-07-30releng: copy UEFI shell from airootfs instead of the host systemnl6720
Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/35 .
2020-07-30releng: place custom sshd_config in airootfsnl6720
Properly track the file instead of modifying it on-the-fly with customize_airootfs.sh. See https://gitlab.archlinux.org/archlinux/archiso/-/issues/21 .
2020-07-30Use latest synced mirrors instead of ageDavid Runge
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.
2020-07-30Install mkinitcpio-archiso-hooks in airootfs instead of copying the hooks ↵nl6720
from host
2020-07-29Build initramfs images only oncenl6720
Place custom mkinitcpio.conf in airootfs. Use a custom mkinitcpio preset to specify generated image file path.
2020-07-29Remove unnecessary files from releng's airootfsnl6720
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.
2020-07-29Add license and basic documentationDavid Runge
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
2020-07-28Copy files more genericallyDavid Runge
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
2020-07-28Copy /etc/skel/ to user's home from build.sh instead of customize_airootfs.shnl6720
Additionally copy the files to all custom user homes, not just root's.
2020-07-28Set up custom user home directories and their permissionsnl6720
2020-07-28Deprecate customize_airootfs.shnl6720
Show a deprecation notice if airootfs/root/customize_airootfs.sh is found.
2020-07-28Install all packages in one go and don't copy pacman.conf to airootfsnl6720
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.
2020-07-20Set root user's shell and password with custom /etc/passwd and /etc/shadownl6720
Correct shadow file permissions from build.sh.
2020-07-16Fix unexpected script_path behaviourJustin Kromlinger
When one calls the `build.sh` scripts with bash instead of the shebang `$script_path` contains the filepath, not the parent dir: ``` % cd /path % grep -A2 script_path= build.sh script_path=$(readlink -f "${0%/*}") echo "$script_path" exit 0 % ./build.sh /path % bash build.sh /path/build.sh ``` This commit fixes that: ``` % grep -A2 script_path= build.sh script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )" echo "$script_path" exit 0 % ./build.sh /path % bash build.sh /path ```
2020-07-12Explicitly add linux and mkinitcpio to packages.x86_64nl6720
linux only gets pulled in because of broadcom-wl and mkinitcpio (usually) gets pulled in by linux.
2020-07-12Don't hardcode packages in build.shnl6720
Move all required packages to packages.x86_64. Test file availability before copying them.
2020-07-11Remove lynx usage in configs/releng/build.shnl6720
/usr/local/bin/Installation_guide: Add a convenience script which opens the installation guide in lynx. /etc/motd: Provide a message with minimal instructions for connecting to internet and inform about the Installation_guide convenience script.
2020-07-11Remove unnecessary dialog packagenl6720
dialog was only added because it was needed for netctl's wifi-menu. Now that netctl is removed, nothing requires dialog.
2020-07-11Use /usr/bin/env in shebangsnl6720
2020-07-11Remove unneded ReadOnlyPaths from reflector.servicenl6720
configs/releng/airootfs/etc/systemd/system/reflector.service: Remove references to a nonexistent file.
2020-07-11Keep /root permissions as 750nl6720
The filesystem package installs /root as 750 not 700. Move chmod from customize_airootfs.sh to build.sh.
2020-07-11Update pacman.conf to the current version shipped by the pacman packagenl6720
2020-07-11Sort packages.x86_64nl6720
Additionally update names of renamed packages: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/bind&id=1b097b9bcaddd65c7af4f92efef175f959395a7e https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/vim&id=807b49bf022a6d523ca6215d5b34cd1e37457bd5
2020-07-11Warn about Syslinux's reboot.c32 and poweroff.c32 requiring APMnl6720
configs/releng/syslinux/archiso_tail.cfg: APM is old and some motherboard firmwares have removed support for it. reboot.c32 and poweroff.c32 will not work on such firmwares. Add a help text to "Reboot" and "Power Off" boot menu entries that warns about requiring APM.
2020-07-11Add terminus-fontnl6720
When built with CONFIG_FONT_TER16x32, the Linux kernel includes a TER16x32 font based on ter-i32b from terminus-font. The kernel will automatically choose this font on screen resolutions larger than 1920×1080. The terminus-font package includes fonts for other character sets, which may be useful during installation.