Skip to content

Commit

Permalink
postprocess: Remove altfiles in nsswitch.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
HuijingHei committed Nov 2, 2023
1 parent 037d13b commit 61718e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions manifests/fedora-coreos-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ postprocess:
ConditionPathExists=
EOF
# Remove altfiles in nsswitch.conf when transfering to systemd-sysusers
# Current altfiles is added by https://src.fedoraproject.org/rpms/authselect/blob/rawhide/f/authselect.spec#_315
# https://github.com/coreos/fedora-coreos-tracker/issues/155#issuecomment-1781289749
- |
#!/usr/bin/env bash
set -xeuo pipefail
sed -i 's/altfiles //g' /etc/nsswitch.conf
# Packages listed here should be specific to Fedore CoreOS (as in not yet
# available in RHCOS or not desired in RHCOS). All other packages should go
# into one of the sub-manifests listed at the top.
Expand Down

0 comments on commit 61718e2

Please sign in to comment.