Re: [OE-core] [PATCH 1/1] opkg: create run-scripts file conditionally

2013-04-02 Thread Kang Kai
On 2013年04月03日 05:02, Saul Wold wrote: On 03/25/2013 11:43 PM, Kang Kai wrote: This bug occurs on rpm-based sdk image. update-alternatives-cworth is default installed into sato image. And for sato-sdk image, it installs every related dev packages. update-alternatives-cworth is from opkg, so opk

Re: [OE-core] [PATCH 1/1] opkg: create run-scripts file conditionally

2013-04-02 Thread Saul Wold
On 03/25/2013 11:43 PM, Kang Kai wrote: This bug occurs on rpm-based sdk image. update-alternatives-cworth is default installed into sato image. And for sato-sdk image, it installs every related dev packages. update-alternatives-cworth is from opkg, so opkg-dev is installed and it requires opkg,

[OE-core] [PATCH 1/1] opkg: create run-scripts file conditionally

2013-03-25 Thread Kang Kai
This bug occurs on rpm-based sdk image. update-alternatives-cworth is default installed into sato image. And for sato-sdk image, it installs every related dev packages. update-alternatives-cworth is from opkg, so opkg-dev is installed and it requires opkg, then opkg is installed into sato-sdk imag

Re: [OE-core] [PATCH 1/1] opkg: create run-scripts file conditionally

2013-03-25 Thread Kang Kai
On 2013年03月25日 22:32, Richard Purdie wrote: On Mon, 2013-03-25 at 15:22 +0800, Kang Kai wrote: When build sato sdk image, opkg will be installed to image even the image package type is set to RPM. This causes the script file run-postinsts installed by rpm will be overwrited by opkg. Judge the i

Re: [OE-core] [PATCH 1/1] opkg: create run-scripts file conditionally

2013-03-25 Thread Richard Purdie
On Mon, 2013-03-25 at 15:22 +0800, Kang Kai wrote: > When build sato sdk image, opkg will be installed to image even the > image package type is set to RPM. This causes the script file > run-postinsts installed by rpm will be overwrited by opkg. > > Judge the image package type and don't create ru

[OE-core] [PATCH 1/1] opkg: create run-scripts file conditionally

2013-03-25 Thread Kang Kai
When build sato sdk image, opkg will be installed to image even the image package type is set to RPM. This causes the script file run-postinsts installed by rpm will be overwrited by opkg. Judge the image package type and don't create run-scripts file when package type is not ipk. [YOCTO #3223]