summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/chkconfig
AgeCommit message (Collapse)Author
2017-04-05chkconfig: replace fedorahosted.org SRC_URI with github.com sourceChoong YinThong
fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to github.com. [YOCTO #11226] Signed-off-by: Choong YinThong <yin.thong.choong@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-03-10chkconfig-alternatives-native: fix obey_variablesJoshua Lock
This postfunc assumes it's run from S, whereas that seems not to always be the case in practice. Explicitly define the full path of the file we wish to sed. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-01-22chkconfig: Avoid using caddr_tKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-12-08package_regex.inc: split GITTAGREGEX entries into recipe filesAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-31upstream_tracking.inc: deprecate and move contents to recipesAlexander Kanavin
No-update reasons and manual version checks should be in the recipes themselves because otherwise they're prone to getting out of date. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-16chkconfig: use explicit directories in obey_variables()Ross Burton
obey_variables() was using relative paths which mean it depends on exactly what directory it starts in. To clarify the code, always use absolute paths. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-01-17opkg/opkg-utils/chkconfig: Clean up u-a-cworth referencesRichard Purdie
Catch some u-a-cworth references that slipped through the move of u-a to opkg-utils and its rename to -opkg. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-06chkconfig: remove linuxstdbase symlinksPeter A. Bigot
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. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10chkconfig: fix QA warning about unsafe references in binariesWenzong Fan
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 Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-02chkconfig-alternatives-native: just append to PROVIDESMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-04chkconfig-alternatives-native-1.3.59: add recipeChristopher Larson
This only builds alternatives, so avoids the libnewt and libpopt dependencies. This uses 1.3.59 sources from git, with a couple commits of mine to add --sysroot (and OPKG_OFFLINE_ROOT) support. LIC_FILES_CHKSUM changed from 1.3.58 to 1.3.59, but only due to minor formatting differences, not content/terms. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-04chkconfig: package the update-alternatives implementationChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-04chkconfig: obey sysconfdir, base_libdirChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-04chkconfig: don't inherit autotoolsChristopher Larson
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. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06chkconfig: add link files install_initd and remove_initdKang Kai
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. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18chkconfig: pass CFLAGS to MakefileJoe Slater
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] Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-06chkconfig: use ${sysconfdir} instead of /etc for packagingJavier Martinez Canillas
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-16chkconfig: Fix unpackaged files warningsRichard Purdie
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 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-14chkconfig: update it from 1.3.57 to 1.3.58Wenzong Fan
Update chkconfig and related distro tracking fields. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-19chkconfig: Update package from v1.3.55 to v1.3.57Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2011-10-20chkconfig: Update to 1.3.55Wenzong Fan
Update chkconfig to 1.3.55 from 1.3.52. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2011-08-11chkconfig: remove link for update-alternatives to disambiguateXiaofeng Yan
[YOCTO #936] "update-alternatives" installed: one in /usr/sbin from chkconfig \ (symlinked to "alternatives"), and the other in /usr/bin \ from update-alternatives-cworth. It appears for whatever reason that the one from chkconfig is run \ during postinst processing but if you run the script from the command \ line it gets the other one. this is due to differences in the PATH environment variable. The following is the sequence to call scripts after kernel booting inittab -->rcS -->./S40networking(PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin) -->S98configure(call rpm-postinstall) #"/usr/sbin" is found prior to "/usr/bin", so update-alternatives from chkconfig is run in this script -->rc5.d -->profile(profile:4:PATH="/usr/local/bin:/usr/bin:/bin" profile:15: PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin) #"/usr/bin/" is found prior to "/usr/sbin", so update-alternatives from update-alternatives-cworth is run in this script So I remove the symlink (update-alternatives linked to chkconfig). The one from update-alternatives-cworth is left alone. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2011-08-04SRC_URI, S: use BPN instead of PN for multilib caseYu Ke
in multilibcase, PN has multilib prefix, so it is not correct to use PN in SRC_URI and S. instead, we've dedicately pruned multilib prefix in BPN, so BPN is the right alternative for PN. Signed-off-by: Yu Ke <ke.y@intel.com>
2011-06-01chkconfig: update to 1.3.52Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-04-08chkconfig: Update to 1.3.51Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-04-04chkconfig_1.3.49.bb: inherit gettext class instead of adding gettext to ↵Khem Raj
DEPENDS directly Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-03Fixup merge error and apply cleanupsRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-03recipe: add chkconfig for LSB command testKang Kai
chkconfig is a system tool for maintaining the /etc/rc*.d hierarchy, and LSB command test will check 2 links point to command chkconfig Signed-off-by: Kang Kai <kai.kang@windriver.com>