Bug 4231 - Wrong postinst logs with run-postinsts script
Summary: Wrong postinst logs with run-postinsts script
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.4 M6
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-09 08:08 UTC by Yi Zhao
Modified: 2013-04-11 11:29 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2013-04-09 08:08:16 UTC
Branch: poky/master
Git rev: 4da406cd50cf02a63ed76810a670aba1eb561c79

For a sato-sdk image, the opkg would also be installed even if the package format is rpm. It will choose the incorrect package management command in S98run-postinsts: 
###############
$ cat /etc/rcS.d/S98run-postinsts
#!/bin/sh
opkg-cl configure >/var/log/postinstall.log 2>&1
rm -f //etc/rcS.d/S98run-postinsts
###############