generic-poky/meta
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
..
classes sstate: Add level 2 debug so its possible to see what sstate is doing 2011-08-11 19:08:02 +01:00
conf tune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the arch-ia32 version 2011-08-10 13:33:06 +01:00
files classes/package.bbclass: Add fixup_perms 2011-06-30 22:54:04 +01:00
lib/oe oe.terminal: improve how we spawn screen 2011-08-10 13:33:07 +01:00
recipes-bsp SRC_URI, S: use BPN instead of PN for multilib case 2011-08-04 15:04:30 +01:00
recipes-connectivity SRC_URI: Using BPN instaed of PN. 2011-08-05 17:43:34 +01:00
recipes-core eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdk 2011-08-10 13:33:08 +01:00
recipes-devtools gcc: Various fixups to ensure consistent gcc builds 2011-08-11 19:08:02 +01:00
recipes-extended chkconfig: remove link for update-alternatives to disambiguate 2011-08-11 19:22:06 +01:00
recipes-gnome gnome-doc-utils: Avoid RDEPENDS on bash in native case. 2011-08-09 15:17:57 +01:00
recipes-graphics Misc: Corrected the dependency on non-native for -native package. 2011-08-05 17:43:35 +01:00
recipes-kernel module-init-tools-cross: Clean the RDEPENDS value 2011-08-09 15:17:58 +01:00
recipes-multimedia gst-plugins: partially sync packaging with OE .dev 2011-08-08 13:41:19 +01:00
recipes-qt meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESS 2011-07-26 15:47:03 +01:00
recipes-sato SRC_URI, S: use BPN instead of PN for multilib case 2011-08-04 15:04:30 +01:00
recipes-support sqlite3: Ensure nativesdk package extension is handled correctly 2011-08-10 13:33:06 +01:00
site Various siteinfo: Drop rp-pppoe variables 2011-08-04 15:04:37 +01:00
COPYING.MIT Add missing licence files (COPYING.MIT) 2006-07-23 13:52:32 +00:00
recipes.txt Major layout change to the packages directory 2010-08-27 15:29:45 +01:00