Commit Graph

10 Commits

Author SHA1 Message Date
Peter A. Bigot c33bf220de chkconfig: remove linuxstdbase symlinks
These links were moved to the lsb package because lsbsetup was to be
removed.  Subsequently an earlier patch that moved them to chkconfig was
also merged.  This results in duplicate installations that generate a
warning when building core-image-lsb under DISTRO=poky-lsb which enables the
linuxstdbase feature.

(From OE-Core rev: 77a0b904e18688ecf81a35544f3a5d6ba0aa61a8)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06 23:03:23 +01:00
Wenzong Fan e486242db8 chkconfig: fix QA warning about unsafe references in binaries
This test is disabled in oe-core by default, but if we enable it, we'll
get following warnings:

  + WARN_QA = "unsafe-references-in-binaries unsafe-references-in-scripts"

WARNING: QA Issue: chkconfig: /sbin/chkconfig, installed in the \
base_prefix, requires a shared library under exec_prefix (/usr): \
libpopt.so.0 => /usr/lib64/libpopt.so.0

(From OE-Core rev: 18f5e6b80e1465e00242a2513a4bd90e0a2f3ff7)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11 15:38:01 +01:00
Christopher Larson eb91689e33 chkconfig: package the update-alternatives implementation
(From OE-Core rev: c18b1ce2d98460e5ee6ec6319071bc1fa1016ede)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07 11:09:42 +00:00
Christopher Larson 6c7ab511ca chkconfig: obey sysconfdir, base_libdir
(From OE-Core rev: afd9f47080b36d609297e2eb448bc12af8000d29)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07 11:09:41 +00:00
Christopher Larson a045d23345 chkconfig: don't inherit autotools
This buildsystem is not autoconf/automake, but make.

While we're at it, also make the install not hardcode the path to
/usr/share/locale.

(From OE-Core rev: 0e6f76d9d5929f8c23916827dccc8389419f0163)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07 11:09:41 +00:00
Kang Kai 5283be2305 chkconfig: add link files install_initd and remove_initd
Add link files ${libdir}/lsb/{install,remove}_initd that they are
required by LSB tests. They were created by package lsbsetup, but
lsbsetup was dropped, so create them in chkconfig.

(From OE-Core rev: 268ede582e7b68854965b29a57e865b5fc7deb04)

Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-06 12:31:02 +00:00
Joe Slater 7087e82079 chkconfig: pass CFLAGS to Makefile
The environment CFLAGS is not used by the chkconfig
Makefile, so debug and optimization options are ignored.
So, we use RPM_OPT_FLAGS to pass CFLAGS into Makefile.

Upstream-Status:  Inappropriate [configuration]

(From OE-Core rev: ecdb24c21b7b90b83748cbe5891437b2183321d7)

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18 12:13:41 +01:00
Javier Martinez Canillas 05e00a93f4 chkconfig: use ${sysconfdir} instead of /etc for packaging
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: 7b77d4372ace6aa2400e3328875b39b4f67476d0)

Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06 15:18:50 +01:00
Richard Purdie 69db7852ae chkconfig: Fix unpackaged files warnings
WARNING: For recipe chkconfig, the following files/directories were installed but not shipped in any package:
WARNING:   /usr/man
WARNING:   /usr/man/man5
WARNING:   /usr/man/man8
WARNING:   /usr/man/man8/chkconfig.8
WARNING:   /usr/man/man8/update-alternatives.8
WARNING:   /usr/man/man8/ntsysv.8
WARNING:   /usr/man/man8/alternatives.8

(From OE-Core rev: 9b62f4509e92fc8a88b923a3a77f9f27d7184a0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-16 16:47:42 +00:00
Wenzong Fan f65d96ba2a chkconfig: update it from 1.3.57 to 1.3.58
Update chkconfig and related distro tracking fields.

(From OE-Core rev: 4cd85be17c7964ad24f1877f8b7181df0a0738fb)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14 13:17:44 +00:00