Bug 5712

Summary: /var/lib/opkg/alternatives/[[: File not found by ext2_lookup
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chen Qi <Qi.Chen>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact: Andra Necula <andrax.g.necula>
Severity: normal    
Priority: Medium+ CC: andrax.g.necula, bluelightning, meta.mr.watcher, meta.watcher, sgw
Version: 1.5   
Target Milestone: 1.6 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Chen Qi 2014-01-10 06:46:45 UTC
Checking the log.do_rootfs, we can find this error.
/var/lib/opkg/alternatives/[[: File not found by ext2_lookup

Here's a little more log:
Allocated inode: 2496
Allocated inode: 2497
Allocated inode: 2498
Allocated inode: 2499
Allocated inode: 2500
Allocated inode: 2501
/var/lib/opkg/alternatives/[[: File not found by ext2_lookup 
Allocated inode: 2502
Allocated inode: 2503
Allocated inode: 2504
Allocated inode: 2505
Allocated inode: 2506
Allocated inode: 2507

//Chen Qi
Comment 3 Robert Yang 2014-03-08 01:34:13 UTC
We use the "mke2fs -d" to instead of populate-extfs.sh to fix this issue:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5809ce0c895ddb96c4b1dd4c87ebd85dfbe5c1a0
Comment 4 Chen Qi 2014-06-19 09:14:01 UTC
dora still has this problem, so we need to fix it for dora branch.

//Chen Qi
Comment 5 Chen Qi 2014-07-02 03:02:13 UTC
Fixed on dora branch.

Module: openembedded-core.git
Branch: dora
Commit: 8277c71747758e2ba0815a6f5cd11c9e0c9c90ce
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8277c71747758e2ba0815a6f5cd11c9e0c9c90ce

//Chen Qi
Comment 6 Andra Necula 2014-09-02 09:06:04 UTC
Verified on poky 52b788c6df9201764130ab744bf67b770b24b896. I checked the log.do_rootfs the error : /var/lib/opkg/alternatives/[[: File not found by ext2_lookup; do not reproduce it.

//Andra N.