generic-poky/meta/recipes-extended
Xiaofeng Yan e8ca7c9046 chkconfig: remove link for update-alternatives to disambiguate
[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.

(From OE-Core rev: f3a52a73251b26ead15abd4910dc82c1011ab852)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-11 19:22:06 +01:00
..
at at: enable pam support 2011-07-27 12:02:42 +01:00
augeas multilib: Use BPN instead of PN for style like lib${PN} 2011-08-03 18:07:25 +01:00
bash bash: enable update-alternative to use bash as default shell 2011-05-13 10:29:01 +01:00
bc SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
blktool SRC_URI, S: use BPN instead of PN for multilib case 2011-08-04 15:04:30 +01:00
byacc License Field Cleanup: Non-standard field names 2011-05-27 18:27:22 +01:00
bzip2 recipes-extended: Add Summary information 2010-12-16 15:53:08 +00:00
chkconfig chkconfig: remove link for update-alternatives to disambiguate 2011-08-11 19:22:06 +01:00
cpio gplv2 recipes update upstream status of patches 2011-05-23 15:36:33 +01:00
cracklib SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
cronie cronie: enable PAM support for cronie 2011-07-27 12:02:42 +01:00
cups cups: add pam support 2011-07-27 12:02:41 +01:00
cwautomacros cwautomacros: upgrade to version 20110201 2011-04-28 10:44:34 +01:00
diffutils diffutils: fix libc overrides 2011-05-19 23:40:34 +01:00
ed ed (GPLv2): remove --disable-silent-rules 2011-05-20 12:44:31 +01:00
ethtool recipes-extended: Add Summary information 2010-12-16 15:53:08 +00:00
findutils findutils: fix libc overrides 2011-05-19 23:40:34 +01:00
foomatic foomatic-filters: add a link to pass LSB printing test 2011-05-16 15:32:20 +01:00
gamin multilib: Use BPN instead of PN for style like lib${PN} 2011-08-03 18:07:25 +01:00
gawk gawk: Upgrade from 3.1.8 to 4.0.0 2011-07-07 11:14:01 +01:00
ghostscript ghostscript: Fixed the incorrect DEPENDS. 2011-08-05 17:43:35 +01:00
gperf SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
grep Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
groff groff: Disable x11 support 2011-07-14 15:02:28 +01:00
gzip Upstream-Status: Update patch upstream-status for GPLv2 recipes 2011-05-17 15:14:46 +01:00
hdparm Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
images Remove -live.bb recipes 2011-07-27 12:02:45 +01:00
iptables recipes-extended: Add Summary information 2010-12-16 15:53:08 +00:00
iputils iptuils: Add sgmlspl-native to DEPENDS 2011-07-20 15:27:33 +01:00
less less: update to 443 2011-06-01 18:34:30 +01:00
libaio update patch upstream status 2011-05-13 11:02:14 +01:00
libarchive libarchive: remove undistributable copyright content from source 2011-07-12 15:00:45 +01:00
libidn SRC_URI, S: use BPN instead of PN for multilib case 2011-08-04 15:04:30 +01:00
libtirpc SRC_URI, S: use BPN instead of PN for multilib case 2011-08-04 15:04:30 +01:00
libuser libuser_0.57.1.bb: inherit gettext class instead of adding gettext to DEPENDS directly 2011-04-04 14:09:47 +01:00
libzypp libzypp: Increase the size of the arch compat table 2011-08-05 17:16:02 +01:00
lighttpd lighttpd: Upgrade to 1.4.29 2011-08-04 15:04:32 +01:00
logrotate Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
lsb lsb: Fix hard code libdir issue for multilib 2011-08-08 13:59:33 +01:00
lsof lsof: fix libc overrides 2011-05-19 23:40:35 +01:00
mailx Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
man man: add Upstream-Status field to paches 2011-07-19 17:34:20 +01:00
man-pages Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
mc mc: Add missing debug files to -dbg 2011-06-23 12:07:35 +01:00
mdadm mdadm: compilation fix for gcc 4.6.0 2011-05-11 17:14:25 +01:00
mingetty Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
minicom recipes: add Upstream-Status for multiple recipes 2011-05-13 10:28:59 +01:00
mktemp SRC_URI, S: use BPN instead of PN for multilib case 2011-08-04 15:04:30 +01:00
msmtp Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
net-tools SRC_URI: Using BPN instaed of PN. 2011-08-05 17:43:34 +01:00
newt libnewt: update to 0.52.13 2011-08-04 15:04:29 +01:00
pam libpam 1.1.4: fix packaging 2011-07-27 16:46:29 +01:00
parted parted: Upgrade to 3.0 2011-08-04 15:04:33 +01:00
pax pax: fix for compiling with gcc 4.6.0 2011-05-11 17:14:25 +01:00
perl cpan.bbclass: Perform more mangling for perl path 2011-07-21 10:59:18 +01:00
polkit polkit: depend on intltool-native instead of intltool 2011-08-04 15:04:29 +01:00
procps Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
psmisc Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
quota quota: Avoid stripping binaries 2011-06-23 12:07:32 +01:00
rpcbind Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
sat-solver sat-solver: fix for non /usr/lib libdir case 2011-07-13 12:14:20 +01:00
screen screen: add pam support 2011-07-27 12:02:41 +01:00
sed update patch upstream status 2011-05-13 11:02:14 +01:00
shadow shadow: update pam related configure files 2011-07-27 12:02:42 +01:00
slang Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
sudo sudo: add pam support 2011-07-27 12:02:42 +01:00
sysklogd sysklogd: Drop ONLINE_PACKAGE_MANAGEMENT as per mailing list discussion 2011-07-12 15:00:44 +01:00
sysstat sysstat: Avoid stripping binaries 2011-06-23 12:07:32 +01:00
tar Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
tasks libQtOpenGL:Add libQtOpenGL to an lsb image 2011-07-07 13:45:29 +01:00
tcp-wrappers tcp-wrappers: Using ${PN} in PACKAGES. 2011-08-05 17:43:34 +01:00
texinfo Drop PRIORITY variable 2011-07-01 23:27:29 +01:00
time update patch upstream status 2011-05-13 11:02:14 +01:00
tzcode tzcode,tzdata: Update tzdata to 2011h 2011-07-20 15:27:38 +01:00
tzdata tzcode,tzdata: Update tzdata to 2011h 2011-07-20 15:27:38 +01:00
unzip unzip: Avoid stripping binaries 2011-06-23 12:07:32 +01:00
watchdog recipes-extended: Add Summary information 2010-12-16 15:53:08 +00:00
which recpies: add Upstream-Status for multiple recipes' patches 2011-05-13 10:28:59 +01:00
xdg-utils SRC_URI, S: use BPN instead of PN for multilib case 2011-08-04 15:04:30 +01:00
xinetd recipes: Add Upstream-Status for multiple recipes 2011-05-13 10:28:59 +01:00
xz xz: Upgrade to 5.0.2 (from 5.0.0) 2011-04-18 05:49:27 +01:00
zip SRC_URI Checksums Additionals 2010-12-09 08:18:17 -08:00
zypper update patch upstream status 2011-05-13 11:02:14 +01:00