Bug 1522

Summary: [multilib/ipk] /var/lib/opkg/status changed after the 1st boot
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Lianhao Lu <lianhao.lu>
Component: coreAssignee: Xiaofeng Yan <Xiaofeng.yan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dongxiao.xu, edwin.zhai, jessica.zhang, jiajun.xu, meta.mr.watcher, meta.watcher, sgw, shane.wang, Xiaofeng.yan
Version: unspecified   
Target Milestone: 1.2 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (1.2)(P2)Patch Review
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Lianhao Lu 2011-09-23 01:06:51 UTC
After successfully installed some lib32 multilib packages into the x86-64 image, we just found that the file content of /var/lib/opkg/status in rootfs changed after the very 1st boot, many lib32 related packages information are missing in that file.
Comment 1 Jiajun Xu 2011-09-26 06:03:04 UTC
The issue still exists with latest edison branch.
Comment 2 Shane Wang 2012-02-06 04:13:13 UTC
Mark the milestone to be v1.2 M3, and CC Edwin.
Comment 3 Lianhao Lu 2012-04-05 05:09:06 UTC
Hi Robert,

Could your team take a look at this bug? Thanks!
Comment 4 Robert Yang 2012-04-05 05:43:12 UTC
(In reply to comment #3)
> Hi Robert,
> 
> Could your team take a look at this bug? Thanks!

Yes, we can, would you please give us some more information? I meant the detalied reproduce steps.
Comment 5 Lianhao Lu 2012-04-05 05:58:17 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Hi Robert,
> > 
> > Could your team take a look at this bug? Thanks!
> 
> Yes, we can, would you please give us some more information? I meant the
> detalied reproduce steps.

1. Build image core-image-sato with the following configurations in local.conf:
MACHINE = "qemux86-64"
PACKAGE_CLASSES ?= "package_ipk"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = "lib32-bash"

2. Copy the file /var/lib/opkg/status from the image .ext3 file to another place for later comparison. You should see lib32- related informaitons.

3. Launch qemu.

4. After the launch, compare the file /var/lig/opkg/status with the saved file in step 2, to see whether the lib32- related information is missing.