debian-koji/builder
Michel Lind 18528e563c Allow overriding sbin directory
This fixes the Koji build for Fedora 42+, where on an installed system,
`/sbin` and `/usr/sbin` are symlinks to `/usr/bin`; see:
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

On a build root the symlink does not exist, so attempts in the spec to
manipulate binaries in `%{_sbindir}/` fail as these binaries are
installed to `%{buildroot}/usr/sbin` while the script is looking for
`%{buildroot}/usr/bin`

The default value is set to `/usr/sbin` so not passing `SBINDIR` when
installing results in the current behavior being preserved.

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-04-17 10:13:41 -04:00
..
kojid add unit test. drop redundant call arg 2025-01-10 10:11:47 +01:00
kojid.conf Don't spawn createrepo if not needed 2023-10-03 15:20:52 +02:00
kojid.init expose graceful reload in kojid service config and init script 2017-08-22 15:06:57 -04:00
kojid.service Revert "PR#3276: Use PrivateTmp for kojid/kojira" 2022-05-19 13:47:22 +02:00
kojid.sysconfig Initial code drop 2007-02-14 11:25:01 -05:00
Makefile Allow overriding sbin directory 2025-04-17 10:13:41 -04:00
mergerepos backport py27 compatible file open with encoding 2021-02-16 14:13:03 +01:00