diff --git a/src/app/rpm-ostree-0-integration.conf b/src/app/rpm-ostree-0-integration.conf index 574eb8150c..d6681a5040 100644 --- a/src/app/rpm-ostree-0-integration.conf +++ b/src/app/rpm-ostree-0-integration.conf @@ -12,6 +12,6 @@ d /usr/local/etc 0755 root root - d /usr/local/games 0755 root root - d /usr/local/include 0755 root root - d /usr/local/lib 0755 root root - -d /usr/local/sbin 0755 root root - +L /usr/local/sbin - - - - bin d /usr/local/share 0755 root root - d /usr/local/src 0755 root root - diff --git a/tests/compose/libbasic-test.sh b/tests/compose/libbasic-test.sh index 4fa00ba885..f4f383d665 100644 --- a/tests/compose/libbasic-test.sh +++ b/tests/compose/libbasic-test.sh @@ -133,6 +133,7 @@ echo "ok --parent" # Check symlinks injected into the rootfs. ostree --repo="${repo}" ls "${treeref}" /usr/local | grep '^l00777' > symlinks.txt assert_file_has_content_literal symlinks.txt '/usr/local -> ../var/usrlocal' +assert_file_has_content_literal symlinks.txt '/usr/local/sbin -> bin' ostree --repo="${repo}" ls "${treeref}" /opt > symlinks.txt assert_file_has_content_literal symlinks.txt '/opt -> var/opt' echo "ok symlinks"