Commit Graph

989 Commits

Author SHA1 Message Date
nl6720
4d0cc65dbd
Add back lsscsi
It cannot be fully replaced by lsblk.
2020-06-30 12:10:09 +03:00
nl6720
f00c0734ad
Clear the screen after syslinux exits
Reduce the time where boot loader artifacts linger on screen after the boot loader has done its job.
2020-06-30 10:43:08 +03:00
nl6720
ff926f72a1
Set timezone from outside chroot 2020-06-30 06:25:43 +03:00
nl6720
3720627e88
Enable systemd units with symlinks instead of doing it via systemctl in chroot 2020-06-30 06:25:43 +03:00
nl6720
d11737ffe8
Use drop-in files for journald and logind configuration 2020-06-30 06:25:43 +03:00
David Runge
47533fd974
Introducing shellcheck in gitlab CI
archiso/mkarchiso:
Quoting all variables.
Changing pkg_list to be an array instead of a string for easier
handling. Using read to properly populate pkg_list from OPTARG with
stripped whitespaces.
Not exporting iso_label anymore as there seems to be no reason to do so.
Introducing line breaks.

.editorconfig:
Setting max_line_length to 120.
Adding a section for YAML files (e.g. .gitlab-ci.yml).

configs/releng/build.sh
Quting nearly all variables.
Introducing line breaks.

configs/baseline/build.sh:
Quoting all variables.
Introducing line breaks.

.gitlab-ci.yml:
Adding gitlab CI for shelleck linting of the config build scripts, mkarchiso and startup scripts in releng.

Closes #19
2020-06-29 20:10:23 +02:00
David Runge
9e004aebf1
IPv6 DHCP
configs/releng/airootfs/etc/systemd/network/20-{ethernet,wirless}.network:
Making sure that systemd-networkd enables DHCP capabilities also for
IPv6 ('DHCP=yes' and unsetting IPv6AcceptRA - see `man 5
systemd.network` for further information).

Closes #23
2020-06-29 16:58:19 +02:00
David Runge
c5ecb8427c
Adding systemd-resolvconf
configs/releng/packages.x86_64:
Due to dropping netctl from the image, no packgae currently directly
pulls in a resolvconf provider.
The systemd-resolvconf package is compatible with systemd-resolved which
is in use on the image now and the preferred choice.

Closes #22
2020-06-24 09:42:08 +02:00
David Runge
3ed5dd510d
Enabling iwd
configs/releng/airootfs/etc/systemd/system/multi-user.target.wants/iwd.service:
Adding a symlink to /usr/lib/systemd/system/iwd.service to enable iwd in
airootfs (and thus on the image).

Closes #18
2020-06-24 00:19:53 +02:00
David Runge
32eef254b6
Removin unneeded packages
configs/releng/packages.x86_64:
Removing packages:
* grub :rescue/ installation actions for grub should be run from within
  a chroot
* lsscsi: lsblk provides the same functionality
* netctl: we have systemd-networkd enabled by default
* ntp: we have systemd-timesyncd
* refind: rescue/ installation actions for refind should be run from
  within a chroot
* vi: we have vim

Closes #15
2020-06-23 23:29:55 +02:00
David Runge
839f74335b
Fixing ownership in airootfs customization
configs/releng/build.sh:
Fixing wrong ownership of files when copying overlay modifications from
the config's airootfs directory to the working directory in
make_customize_airootfs() by using the cp flag
'--no-preserve=ownership'.

Thanks to Marcos Mello and Francois Dupoux of sysresccd
(https://gitlab.com/fdupoux/sysresccd-src) for making this fix
available.

Closes #11
2020-06-23 22:16:16 +02:00
David Runge
6bf452f56d
Adding nvme-cli to package list
configs/releng/packages.x86_64:
Adding nvme-cli to the list of packages for working with NVME drives in
a live environment (as discussed in FS#63769).

Closes #20
2020-06-23 21:46:16 +02:00
David Runge
9b49621f78
Removing wget in favor of curl
configs/releng/airootfs/root/.automated_script.sh:
Replacing wget with curl for the use-case of downloading a
pre-specified remote startup script (changing flags where needed).

configs/releng/packages.x86_64:
Removing wget from the list of installed packages, as
.automated_script.sh was the only reason for it being installed.

Closes #16
2020-06-23 21:38:39 +02:00
David Runge
372a6f9b2f
Numerical prefix for systemd-networkd configuration
Adding a numerical prefix ('20-') to the ethernet.network and
wireless.network configuration files for systemd-networkd.
This way overriding them can become more predictable e.g. by providing
files with a '30-' prefix.

Closes #13
2020-06-23 21:10:17 +02:00
David Runge
2d4b9f3e34
Removing custom UEFI shell boot loader configs
configs/releng/build.sh:
Copying the edk2-shell based Shell_Full.efi to the root of the iso/ efi
image as 'shellx64.efi' is automatically picked up by certain hardware
and by systemd-boot.
This makes all custom UEFI shell configuration obsolete.

configs/releng/efiboot/loader/entries/uefi-shell-*.conf:
Removing obsolete custom UEFI shell boot loader configuration.

Closes #14
2020-06-23 20:44:29 +02:00
David Runge
68df5746f2
Removing efitools
configs/releng/build.sh:
Removing the efitools based PreLoader.efi and HashTool.efi, as they are
dead weight due to not allowing secure boot (FS#59487).
Future secure boot functionality (most probably based on shim) is being
discussed in FS#53864.

Closes #17
2020-06-23 20:08:57 +02:00
David Runge
5fbbb05a2e
Removing dist target
Makefile:
Removing the dist target. It requires to increment a number on each
release.
This workflow can be entirely circumvented by signed commit tags and
using those for packaging.
2020-05-31 23:05:52 +02:00
David Runge
0d67870667
Replacing dhcpcd with systemd-networkd and systemd-resolved
configs/releng/airootfs/etc/udev/rules.d/81-dhcpcd.rules:
Removing the udev rule for starting dhcpcd@.service on interfaces of the
form eth* and en*.

configs/releng/airootfs/etc/systemd/network/{ethernet,wireless}.network:
Adding default DHCP configurations for en*, eth*, wlp* and wlan*
interfaces.

configs/releng/airootfs/etc/resolv.conf:
Adding a symlink from /run/systemd/resolve/stub-resolv.conf to
/etc/resolv.conf (in airootfs).

configs/releng/airootfs/root/customize_airootfs.sh:
Adding systemd-networkd and systemd-resolved to the list of services
that are being enabled during airootfs customization.
2020-05-31 21:41:57 +02:00
David Runge
769fbecef3
Unsetting the root password
Due to changes in the filesystem package [1] the current /etc/passwd
does not allow login without an empty root password anymore.
This becomes apparent, when switching to another TTY than the one
autologin is activated for.

By running passwd -d root we unset the password.
In the future this should go to a custom /etc/passwd file.

[1] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/filesystem&id=0320c909f3867d47576083e853543bab1705185b
2020-05-31 00:27:15 +02:00
David Runge
79a9ed1111
Fixing default bootloader menu selection.
configs/releng/efiboot/loader/loader.conf:
The 'default' bootloader selection of systemd-boot is based on a glob
pattern. The previous pattern was not sufficient to select anything,
which is why it is now made explicit (pointing to archiso-x86_64.conf).
2020-05-30 20:03:52 +02:00
David Runge
d50e57a243
Simplifying regex for script download
configs/releng/airootfs/root/.automated_script.sh:
Using only one regex to match http://, https:// or ftp:// endpoints.
2020-05-30 19:55:03 +02:00
David Runge
2ce375cd01
Using edk2-shell for UEFI shell
configs/releng/build.sh:
Instead of downloading UDK2018 based edk2 UEFI shell, use the Shell
binaries from the edk2-shell package.
This effectively makes the use of EFI shell v1 obsolete.

configs/releng/efiboot/loader/entries/uefi-shell-v*:
Renaming UEFI shell entries to match the packaged edk2-shell based UEFI
shell binaries.

configs/releng/build.sh:
Renaming the systemd-boot bootloader entries for UEFI shell (normal and
full version) to reflect their file names, which are derived from the
binary names in the edk2-shell package.
Copying the edk2-shell based UEFI shell binaries for normal efiboot and
.iso based "el-torito" efiboot mode.

docs/README.build:
Adding edk2-shell to the requirements in the documentation, as the
package is now used to provide UEFI shell.
2020-05-30 19:30:52 +02:00
David Runge
ec5f5378c7
Renaming refind-efi to refind
configs/releng/packages.x86_64:
As the refind-efi package has been renamed to refind, the package
required for the releng image needs to be renamed as well.
2020-05-30 18:17:15 +02:00
David Runge
60161013bb
Revert "Renaming refind package"
This reverts commit c16612401e.
2020-05-30 18:02:18 +02:00
David Runge
c16612401e
Renaming refind package
configs/releng/packages.x86_64:
refind-efi has been renamed to refind
2020-04-23 08:02:31 +02:00
Pierre Schmitz
d796edc7dc Prepare release 2019-10-16 13:10:09 +02:00
Pierre Schmitz
6b4ac06371 FS#64049: Re-add missing packages reflecting the base group to package transition 2019-10-16 13:09:21 +02:00
Christian Hesse
01521adc42 add zstd in supported squashfs compression list
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-09-03 09:34:40 -03:00
Gerardo Exequiel Pozzi
fe0d627f4d prepare release
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2019-05-01 18:38:41 -03:00
Gerardo Exequiel Pozzi
4c544304cb [configs/releng] Re-add wpa_supplicant 2019-05-01 18:35:17 -03:00
Gerardo Exequiel Pozzi
a2d4a7a399 prepare release
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2019-04-26 11:50:19 -03:00
Christian Hesse
170ff713c3 update download url for Shell.efi
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-04-26 11:47:15 -03:00
Gerardo Exequiel Pozzi
05f11168d2 [configs/releng] Add iwd
Requested at FS#62087
2019-04-06 00:29:57 -03:00
martindamianfernandez
fb2f34d127 Update packages.x86_64
wpa_actiond

404 file no found
2019-04-06 00:27:54 -03:00
Christian Hesse
55cdc1e9bc make sure the root filesystem is owned by root
Signed-off-by: Christian Hesse <mail@eworm.de>
2019-01-09 15:01:51 -03:00
Gerardo Exequiel Pozzi
d320406c93 prepare release
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-12-24 00:30:05 -03:00
Christian Hesse
c060639bae update download url for Shell_Full.efi
https://bugzilla.tianocore.org/show_bug.cgi?id=1108
Signed-off-by: Christian Hesse <mail@eworm.de>
2018-12-13 01:08:14 -03:00
Gerardo Exequiel Pozzi
e23dbb4516 [configs/releng] Update amd-ucode license path
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-08-25 13:45:05 -03:00
Christian Hesse
f9308678ee use package amd-ucode for amd microcode
The package linux-firmware has a new split package amd-ucode. Do not
build the image manually but use the package.

Signed-off-by: Christian Hesse <mail@eworm.de>
2018-08-24 17:36:48 -03:00
Gerardo Exequiel Pozzi
67dabd1503 prepare release
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-08-22 00:24:48 -03:00
Gerardo Exequiel Pozzi
5a353529f7 [configs/releng] Make and use amd_ucode.bin for initrd.
Requested at FS#59694
2018-08-18 23:23:44 -03:00
Gerardo Exequiel Pozzi
69f637148a prepare release
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-08-01 00:57:10 -03:00
Eli Schwartz via arch-releng
ddad85c86a make detection of kernel modules dir more robust
extract `uname -r` from the contents of vmlinuz-linux rather than make
assumptions about the kernel EXTRAVERSION.

This is trivially customizable by changing the chosen kernel image.

Fixes FS#59496

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
2018-08-01 00:56:20 -03:00
Gerardo Exequiel Pozzi
d4a9ba4b78 prepare release
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-07-26 17:17:08 -03:00
Christian Hesse
3a95b7cafb generate pkglist with query (not sync) operation
Using the sync operation with list option fails with --sysroot when
signed database files are around. Instead use the query operation, which
uses the local databases of installed pakages only.

The only downside is that we do no longer record the originating
repository.

Signed-off-by: Christian Hesse <mail@eworm.de>
2018-07-26 17:15:29 -03:00
Gerardo Exequiel Pozzi
4f1b133095 [configs/releng] add wireless-regdb to airootfs
Requested at FS#59434
2018-07-26 17:09:45 -03:00
Christian Hesse
a00ba0f499 Remove cow file early for non-persistent systems
The kernel has an open file handle after setting up the mapping. We can
remove it early to make sure it is gone on shutdown.

This helps to keep the cow_device clean for non-persistent systems where
cow_directory contains a version specific string.

Signed-off-by: Christian Hesse <mail@eworm.de>
2018-06-29 13:08:24 -03:00
Gerardo Exequiel Pozzi
fd228a9a44 [releng] Copy custom pacman.conf to airootfs 2018-06-28 00:40:13 -03:00
Gerardo Exequiel Pozzi
8f0ed7a69c [releng] upgrade custom pacman.conf 2018-06-28 00:03:18 -03:00
Gerardo Exequiel Pozzi
4b7c87fe76 [archiso] Drop --config when using --sysroot
https://lists.archlinux.org/pipermail/arch-releng/2018-June/003834.html

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-06-25 13:30:23 -03:00