Bug 5901 - Error at rootfs time if 'ptest-pkgs' is in IMAGE_FEATURES
Summary: Error at rootfs time if 'ptest-pkgs' is in IMAGE_FEATURES
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.6 M4
Assignee: Robert Yang
QA Contact: Andra Necula
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-03 08:54 UTC by Chen Qi
Modified: 2014-09-02 10:44 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2014-03-03 08:54:47 UTC
Below is part of the error information in log.do_rootfs.

NOTE: The image creation groups are: [['ext3', 'tar']]
NOTE: Running image creation script for ext3: /home/chenqi/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/create_image.ext3 ...
NOTE: Running image creation script for tar: /home/chenqi/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/create_image.tar ...
0+0 records in
0+0 records out
0 bytes (0 B) copied, 1.0785e-05 s, 0.0 kB/s
mke2fs 1.42.9 (28-Dec-2013)
debugfs 1.42.9 (28-Dec-2013)
mkdir: Usage: mkdir <filename>
HDA Intel: File not found by ext2_lookup 
HDA Intel: File not found by ext2_lookup 
HDA Intel: File not found by ext2_lookup 
cd: Usage: cd <file>
mkdir: Usage: mkdir <filename>
i8042 aux: File not found by ext2_lookup 
i8042 aux: File not found by ext2_lookup 
i8042 aux: File not found by ext2_lookup 
cd: Usage: cd <file>
mkdir: Usage: mkdir <filename>
i8042 kbd: File not found by ext2_lookup 
i8042 kbd: File not found by ext2_lookup 
i8042 kbd: File not found by ext2_lookup 
cd: Usage: cd <file>
write: Could not allocate inode in ext2 filesystem 
.data: File not found by ext2_lookup 
.data: File not found by ext2_lookup 
.data: File not found by ext2_lookup 

//Chen Qi
Comment 1 Paul Eggleton 2014-03-03 11:02:20 UTC
Is this the same issue as bug 5712?
Comment 2 Robert Yang 2014-03-03 11:13:18 UTC
(In reply to comment #1)
> Is this the same issue as bug 5712?

No, I'm afraid not, 5712 is becuase the dash can't handle the [[ in parameter expansion, it seems that this one is caused by the ":" or " " in the filename,
I remembered that I had fix it, I will do more investigation.

// Robert
Comment 3 Robert Yang 2014-03-08 01:36:55 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 Andra Necula 2014-09-02 10:44:30 UTC
Verified on poky 52b788c6df9201764130ab744bf67b770b24b896. I checked the log.do_rootfs, errors do not reproduce.

//Andra N.