Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
os-prober
os-prober-usr_lib-detection.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File os-prober-usr_lib-detection.patch of Package os-prober
From: Andrey Borzenkov <arvidjaar@gmail.com> Subject: fix detection of distributions with /lib => /usr/lib symlink Upstream: yes grub-mount does not implement symbolic links, so distributions that replaced /lib with /usr/lib were not detected. Check both /lib and /usr/lib. Patch taken from upstream version. Affected is e.g. Fedora 18. Index: os-prober/os-probes/mounted/common/90linux-distro =================================================================== --- os-prober.orig/os-probes/mounted/common/90linux-distro +++ os-prober/os-probes/mounted/common/90linux-distro @@ -13,7 +13,7 @@ type="$3" # better. Make sure this test has a high number so that more accurate tests # can come first. # TODO: look for ld-linux.so on arches that have it -if ls "$dir"/lib*/ld*.so* >/dev/null 2>/dev/null; then +if (ls "$dir"/lib*/ld*.so* || ls "$dir"/usr/lib*/ld*.so*) >/dev/null 2>/dev/null; then if [ -e "$dir/etc/debian_version" ]; then short="Debian" long="$(printf "Debian GNU/Linux (%s)\n" "$(cat "$dir/etc/debian_version")")"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor