Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml28
-rw-r--r--CHANGELOG.rst21
-rw-r--r--CONTRIBUTING.rst22
-rw-r--r--configs/baseline/airootfs/etc/systemd/network/20-ethernet.network3
-rw-r--r--configs/releng/airootfs/etc/systemd/network/20-ethernet.network3
-rw-r--r--configs/releng/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf2
-rw-r--r--configs/releng/packages.x86_641
7 files changed, 79 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c674294..628c28f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,10 +22,16 @@ stages:
check:
before_script:
+ # NOTE: Install latest archlinux-keyring before upgrading system. In the
+ # future this should not be needed anymore when we can guarantee a valid
+ # keyring for longer:
+ # https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/issues/4
+ - pacman -Sy --needed --noconfirm archlinux-keyring
- pacman --noconfirm -Syu --needed make shellcheck
script:
- make check
stage: check
+ interruptible: true
build_short:
extends: .build
@@ -33,6 +39,17 @@ build_short:
matrix:
- BUILD_SCRIPT_ARGS: baseline bootstrap
- BUILD_SCRIPT_ARGS: releng bootstrap
+ only:
+ refs:
+ - master
+ - merge_requests
+ changes:
+ - archiso/*
+ - configs/**/*
+ - Makefile
+ - .gitlab-ci.yml
+ - .gitlab/ci/*
+ interruptible: true
build_long:
extends: .build
@@ -44,3 +61,14 @@ build_long:
- BUILD_SCRIPT_ARGS: releng netboot
tags:
- fast-single-thread
+ only:
+ refs:
+ - master
+ - merge_requests
+ changes:
+ - archiso/*
+ - configs/**/*
+ - Makefile
+ - .gitlab-ci.yml
+ - .gitlab/ci/*
+ interruptible: true
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index a166bf7..0eb97f9 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -14,6 +14,27 @@ Changed
Removed
-------
+[61] - 2022-01-31
+=================
+
+Added
+-----
+
+- Add linux-firmware-marvell to the list of packages in the releng profile (e.g. for Surface Pro 6 WiFi support)
+- Add documentation to systemd-networkd configuration files
+- Add information about the use of changelog and merge requests to the contributing guidelines
+- Make the CI pipelines more efficient by automatically cancelling running pipelines if they are superseded by a newer
+ commit and by only running build pipelines on code or profile changes
+
+Changed
+-------
+
+- Fix an issue where mkarchiso is failing to raise an error when the ``mmd`` and ``mcopy`` commands are not found
+- Fix an issue where the architecture detection in mkarchiso fails due to an unset ``arch`` variable in the profile
+
+Removed
+-------
+
[60] - 2021-12-28
=================
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index bffc49d..ba8bf4a 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -19,6 +19,28 @@ All ash and bash scripts are linted using shellcheck:
make lint
+Changelog
+=========
+
+When adding, changing or removing something in a merge request, add a sentence to the `CHANGELOG.rst <CHANGELOG.rst>`_
+explaining it.
+The changelog entry needs to be added to the unreleased section at the top, as that section is used for the next
+release.
+
+Merge requests and signed commits
+=================================
+
+Merge requests are not required to contain signed commits (using ``git commit -S`` - see `man 1 git-commit
+<https://man.archlinux.org/man/git-commit.1>`_).
+The project maintainers may rebase a given merge request branch at their discretion (if possible), which may remove
+signed commits.
+
+The tip of the project's default branch is required to be a signed commit by the project maintainers.
+For external contributors this means, that their merge request will be merged using ``--no-ff`` (see `man 1 git-merge
+<https://man.archlinux.org/man/git-merge.1>`_) in a signed merge commit, while contributions by the project maintainers
+may be merged using ``--ff`` when the top-most commit of the source branch is signed by a valid PGP key of the given
+maintainer.
+
Testing
=======
diff --git a/configs/baseline/airootfs/etc/systemd/network/20-ethernet.network b/configs/baseline/airootfs/etc/systemd/network/20-ethernet.network
index e8842f2..4b6a2ab 100644
--- a/configs/baseline/airootfs/etc/systemd/network/20-ethernet.network
+++ b/configs/baseline/airootfs/etc/systemd/network/20-ethernet.network
@@ -1,4 +1,7 @@
[Match]
+# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*).
+# See https://bugs.archlinux.org/task/70892
+# Instead match by globbing the network interface name.
Name=en*
Name=eth*
diff --git a/configs/releng/airootfs/etc/systemd/network/20-ethernet.network b/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
index f2a7d60..9ada778 100644
--- a/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
+++ b/configs/releng/airootfs/etc/systemd/network/20-ethernet.network
@@ -1,4 +1,7 @@
[Match]
+# Matching with "Type=ether" causes issues with containers because it also matches virtual Ethernet interfaces (veth*).
+# See https://bugs.archlinux.org/task/70892
+# Instead match by globbing the network interface name.
Name=en*
Name=eth*
diff --git a/configs/releng/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf b/configs/releng/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf
index d1d8474..b9d22eb 100644
--- a/configs/releng/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf
+++ b/configs/releng/airootfs/etc/systemd/system/getty@tty1.service.d/autologin.conf
@@ -1,3 +1,3 @@
[Service]
ExecStart=
-ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux
+ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin root - $TERM
diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64
index 9079c06..aaf2416 100644
--- a/configs/releng/packages.x86_64
+++ b/configs/releng/packages.x86_64
@@ -51,6 +51,7 @@ libusb-compat
linux
linux-atm
linux-firmware
+linux-firmware-marvell
livecd-sounds
lsscsi
lvm2