2 Commits

Author SHA1 Message Date
13111c5203 Attempt to re-add /etc/passwd fiddling (Niri only).
Some checks failed
Build container image / Build and push image (gnome) (push) Failing after 30m12s
Build container image / Build and push image (niri) (push) Successful in 31m33s
2026-02-23 11:29:40 +09:00
902f915433 Modify concurrency setting
It was added to potentially cancel superseded running tasks, but it was
also making the `niri` build wait until the `gnome` build was done. My
bad.
2026-02-23 11:17:00 +09:00
2 changed files with 16 additions and 16 deletions

View File

@@ -27,12 +27,6 @@ env:
https://davejansen.dev/${{ github.repository_owner }}/${{ https://davejansen.dev/${{ github.repository_owner }}/${{
github.event.repository.name }} github.event.repository.name }}
concurrency:
group:
${{ github.workflow }}-${{ github.ref || github.run_id }}-${{
inputs.brand_name}}-${{ inputs.stream_name }}
cancel-in-progress: true
jobs: jobs:
build_push: build_push:
name: Build and push image name: Build and push image
@@ -47,6 +41,12 @@ jobs:
packages: write packages: write
id-token: write id-token: write
concurrency:
group:
${{ github.workflow }}-${{ github.ref || github.run_id }}-${{
matrix.variant }}
cancel-in-progress: true
steps: steps:
- name: Prepare environment - name: Prepare environment
run: | run: |

View File

@@ -52,16 +52,16 @@ chmod -R 1777 /var/tmp
## Handle files that rpm-ostree would normally remove ## Handle files that rpm-ostree would normally remove
## Adapted from: https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh#L33 ## Adapted from: https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh#L33
# if [ -f /etc/passwd ]; then if [ -f /etc/passwd ]; then
# out="$(grep -v 'root' /etc/passwd)" out="$(grep -v 'root' /etc/passwd)"
#
# if [[ ! -z "$out" ]]; then if [[ ! -z "$out" ]]; then
# echo echo
# echo Appending the following passwd users to /usr/lib/passwd echo Appending the following passwd users to /usr/lib/passwd
# echo "${out}" echo "${out}"
# echo "$out" >>/usr/lib/passwd echo "$out" >>/usr/lib/passwd
# fi fi
# fi fi
if [ -f /etc/group ]; then if [ -f /etc/group ]; then
out="$(grep -v 'root\|wheel' /etc/group)" out="$(grep -v 'root\|wheel' /etc/group)"