sysvinit: added libselinux dependency
authorMatt Weber <matthew.weber@rockwellcollins.com>
Tue, 14 Jul 2015 20:20:20 +0000 (15:20 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 18 Jul 2015 13:47:54 +0000 (15:47 +0200)
commite8fb454db64477491da9df9860f473d7decf268e
tree35a5970eda33db8c534d59007756e8b0e38dc7d4
parent083aeac94e19cde6abd4b29cf29db589327d8c49
sysvinit: added libselinux dependency

[Thomas:
  - remove the patch from Matthew Weber that did a lot of changes that
    were not needed: the CFLAGS would not get overridden by Buildroot
    ones if the Buildroot TARGET_CONFIGURE_OPTS is passed on the left
    hand-side of make, and the SULOGINLIBS hack needs to be replaced
    by a proper handling of the libcrypt detection.
  - added a patch that changes the libcrypt detection logic to accept
    a SYSROOT variable. Instead of search for /usr/lib/libcrypt.a, it
    search for $(SYSROOT)/usr/lib/libcrypt.a. This avoids the need for
    overriding SULOGINLIBS.
  - don't modify TARGET_CONFIGURE_OPTS in sysvinit.mk, this is
    completely forbidden and broken.
  - don't pass ROOT= since we don't use 'make install' anyway.]

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sysvinit/0001-fix-libcrypt-test.patch [new file with mode: 0644]
package/sysvinit/sysvinit.mk