Bug 101557 - libinput fails to compile on systems without restorecon
Summary: libinput fails to compile on systems without restorecon
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact: Peter Hutterer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-22 11:57 UTC by n3rdopolis
Modified: 2017-06-23 02:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description n3rdopolis 2017-06-22 11:57:42 UTC
I get this debug output trying to compile libinput now on a debian system that does not have restorecon

ninja: Entering directory `build'
[0/1] Installing files.
Restoring SELinux context on //opt/lib/i386-linux-gnu/libinput.so.10.13.0
/srcbuild/libinput/src/libinput-restore-selinux-context.sh: 10: /srcbuild/libinput/src/libinput-restore-selinux-context.sh: restorecon: not found
Comment 1 Peter Hutterer 2017-06-23 02:47:18 UTC
commit ec27aa3a78c549a78f97bab180e65ddbc23822c6 
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Jun 23 09:35:27 2017 +1000

    Skip restorecon if it cannot be found
    
    https://bugs.freedesktop.org/show_bug.cgi?id=101557


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.