I am currently using Oracle Linux 9 and could not find rdfind
so decided to build it myself from the latest rpm I could find.
The build process is designed to run from a docker container to avoid contamination of the environment and also to allow this to be built on any PC/VM that can run docker.
see: https://github.com/pauldreik/rdfind
- Requires
dockerto be installed - Create an empty
PKGSdirectory with a non-root user to match the current user's UID. - Run:
docker run -it -v $PWD:/build -w /build oraclelinux:9 - From the container run:
sh build - Any built rpms should be found in
PKGSdirectory on builder box.
Configuration is a bit odd because I'm using an NFS mount and rootsquash
is configured so writing files as root does not work. This slightly
affects the build process.