https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin /usr/sbin is now created via a scriptlet. In a pristine installation, we'll end up with merged sbin. On upgrades, symlink creation will fail and the existing /usr/sbin directory will remain. The updated package means that if we build packages, they'll see merged sbin in the filesystem. If additionally rpm defines %{_sbindir} as /usr/sbin, those packages will get files in the merged location. A separate pull request will be filed for rpm. For building rpms, the change in rpm is more important, because what really matters is the path specified in %files, so even if the buildroot has merged-sbin, if %_sbindir says otherwise, package will use the unmerged path. For installation on disk, the change here is more important, because even if packages specify unmerged paths, if the directory on disk is a symlink, that symlink will be followed, so the installation will end up with merged sbin. We want to build packages in a chroot where /usr/sbin is a symlink to /usr/bin, so that packages get files in the merged location. But on user systems, especially when the transition is in progress, we will have packages with files in /usr/sbin, so we accept that /usr/sbin in a separate directory.
Description
Languages
sed
100%