Commit Graph

880 Commits

Author SHA1 Message Date
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
Gerardo Exequiel Pozzi
5a57d83964 [archiso] Use --sysroot when list installed packages.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-06-24 12:49:40 -03:00
Gerardo Exequiel Pozzi
02164ac244 [releng] support for -P iso_publisher and -A iso_application in build.sh
Implement FS#54126
2018-06-23 22:38:34 -03:00
Gerardo Exequiel Pozzi
b5ad2305db prepare release
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-06-23 22:26:06 -03:00
Gerardo Exequiel Pozzi
7e6b7157e6 [releng] bye pcmcia initcpio 2018-06-23 22:24:11 -03:00
Gerardo Exequiel Pozzi
22b1fb4c6b [releng] bye zd1211-firmware 2018-06-23 22:22:28 -03:00
Gerardo Exequiel Pozzi
901d3b07a4 prepare release
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-06-23 16:58:07 -03:00
Gerardo Exequiel Pozzi
cf094d07b2 [releng] Cleanup remain dual-arch stuff
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-06-23 16:34:15 -03:00
Gerardo Exequiel Pozzi
b200ce82f7 Ensure correct umask for scripts
Fix for FS#58473

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2018-06-23 16:09:33 -03:00
Sean Enck via arch-releng
5f57352398 Drop the '-d' from pacstrap calls
The '-d' in pacstrap is a noop nowadays, keeping it may cause confusion

Signed-off-by: Sean Enck <enckse@gmail.com>
2018-06-17 12:21:37 -03:00