Bug 7392 - btrfs format image missing rootfs
Summary: btrfs format image missing rootfs
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.8 M4
Assignee: Saul Wold
QA Contact: Alexandru Georgescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-03-04 12:28 UTC by Ionut Chisanovici
Modified: 2015-03-27 06:53 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
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 Ionut Chisanovici 2015-03-04 12:28:06 UTC
Hi,

BTRFS qemux86 image cannot be booted up due to missing rootfs:

$ runqemu qemux86 nographic
Couldn't find a qemux86 rootfs image in /home/ionut/work/poky_1.8/poky/build/tmp/deploy/images/qemux86.
ionut@ionut-ubuntu:~/work/poky_1.8/poky/build$ cd tmp/deploy/images/qemux86/
ionut@ionut-ubuntu:~/work/poky_1.8/poky/build/tmp/deploy/images/qemux86$ ll
total 676488
drwxrwxr-x 2 ionut ionut      4096 Mar  4 14:17 ./
drwxrwxr-x 3 ionut ionut      4096 Mar  4 13:43 ../
lrwxrwxrwx 1 ionut ionut        70 Mar  4 13:43 bzImage -> bzImage--3.19+git0+f7a81274b4_43b9eced9b-r0-qemux86-20150304111005.bin
-rw-r--r-- 2 ionut ionut   6723664 Mar  4 13:42 bzImage--3.19+git0+f7a81274b4_43b9eced9b-r0-qemux86-20150304111005.bin
lrwxrwxrwx 1 ionut ionut        70 Mar  4 13:43 bzImage-qemux86.bin -> bzImage--3.19+git0+f7a81274b4_43b9eced9b-r0-qemux86-20150304111005.bin
-rw-r--r-- 1 ionut ionut 608242688 Mar  4 14:16 core-image-sato-qemux86-20150304111005.rootfs.ext4
-rw-r--r-- 1 ionut ionut     18058 Mar  4 14:16 core-image-sato-qemux86-20150304111005.rootfs.manifest
-rw-r--r-- 1 ionut ionut 157709602 Mar  4 14:16 core-image-sato-qemux86-20150304111005.rootfs.tar.bz2
-rw-rw-r-- 2 ionut ionut  82026060 Mar  4 13:43 modules--3.19+git0+f7a81274b4_43b9eced9b-r0-qemux86-20150304111005.tgz
lrwxrwxrwx 1 ionut ionut        70 Mar  4 13:43 modules-qemux86.tgz -> modules--3.19+git0+f7a81274b4_43b9eced9b-r0-qemux86-20150304111005.tgz
-rw-r--r-- 2 ionut ionut       294 Mar  4 14:15 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt


BUILD: 1.8_M3.RC3: 5c1c8af083ca7b57cc339d16ce0513b27c5dac90
ENVIRONMENT: Ubuntu 14.10 x86_64
STEPS TO REPRODUCE: 
1. set IMAGE_FSTYPES = "btrfs" and KERNEL_FEATURES_append = " cfg/fs/btrfs " in local.conf
2. build core-image-sato image and boot it up

EXPECTED OUTCOME: btrfs format image could be booted up

Cheers,
Ionut C
Comment 2 Alexandru Georgescu 2015-03-27 06:53:17 UTC
I could build an image with systemd and btrfs and now boots fine.

Tested with fido:8b3d3e7c957ad06c390886487f69aeb8e145da6a