postgresql-container
postgresql-container copied to clipboard
uname -i/-p not working on Fedora any more
uname -i
functionality is non-portable and the custom patch Fedora was carrying around was recently dropped:
https://src.fedoraproject.org/rpms/coreutils/c/cd953e11dd78cada371f0389171cea671949141b?branch=rawhide
The rhbz#548834 suggests to use uname -m
instead.
Also relevant discussion happens at rhbz#2158752
PostgreSQL container uses uname -i
and uname -p
:
- https://github.com/sclorg/postgresql-container/blob/3525b011dd8e44e081cdfb7b55aa12719eeae5b7/src/root/usr/share/container-scripts/postgresql/common.sh#L134
- https://github.com/sclorg/postgresql-container/blob/8aafd89c841475de05219bd60ee14a55ee20af5d/test/run_test#L649