rootfs_rpm: Fix bug 936
Status from this message: Merged into OE-Core
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | rootfs_rpm: Fix bug 936meta/ | +2 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] rootfs_rpm: Fix bug 936
From: Xiaofeng Yan <[email protected]>
"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 for solving this problem.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/rootfs_rpm
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/rootfs_rpm
Thanks,
Xiaofeng Yan <[email protected]>
---
Xiaofeng Yan (1):
rootfs_rpm: Fix bug 936
.../recipes-extended/chkconfig/chkconfig_1.3.52.bb | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)