runtime-cleanup: Fix gshadow typo
"Drop non-determinism from default templates") made an attempt to ensure /etc/gshadow is reproducible by sorting it. However, there was a typo causing the sorted version to be saved as /etc/gschadow, leaving the original intact. (from upstream lorax commit 33f1877dd6fa5659b42b89195a1795c837b89904) Resolves: RHEL-35396
This commit is contained in:
parent
e7890d37e0
commit
35fb9319ff
@ -367,4 +367,4 @@ remove /etc/pki/ca-trust/extracted/java/cacerts
|
|||||||
|
|
||||||
## sort groups
|
## sort groups
|
||||||
runcmd chroot ${root} /bin/sh -c "LC_ALL=C sort /etc/group > /etc/group- && mv /etc/group- /etc/group"
|
runcmd chroot ${root} /bin/sh -c "LC_ALL=C sort /etc/group > /etc/group- && mv /etc/group- /etc/group"
|
||||||
runcmd chroot ${root} /bin/sh -c "LC_ALL=C sort /etc/gshadow > /etc/gshadow- && mv /etc/gshadow- /etc/gschadow"
|
runcmd chroot ${root} /bin/sh -c "LC_ALL=C sort /etc/gshadow > /etc/gshadow- && mv /etc/gshadow- /etc/gshadow"
|
||||||
|
Loading…
Reference in New Issue
Block a user