diff options
author | hongxu <hongxu.jia@windriver.com> | 2021-04-08 02:04:28 -0700 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2021-04-28 09:24:48 +0800 |
commit | cbbdb5333d36bda3e6ce833d95960a8d4b09fbea (patch) | |
tree | 452e449ca735650560c09bed8c830ec46a8fa076 /scripts/oe-publish-sdk | |
parent | 69314f890b208ac5ac5d63b905c42f3d3c39da7c (diff) | |
download | openembedded-core-contrib-cbbdb5333d36bda3e6ce833d95960a8d4b09fbea.tar.gz |
deb: apply postinstall on sdk
If not postinstall applied, some nativesdk command could not be found
in sdk due to update-alternatives in postinst not be executed, such as chroot:
$ which chroot
/sbin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils
After applying the fix
$ which chroot
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a9bf19502766baa4087456649d5471483d04f6a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'scripts/oe-publish-sdk')
0 files changed, 0 insertions, 0 deletions