| FORUM

FEDEVEL
Platform forum

Create a build of unpacked rootfs?

rmemory , 05-12-2018, 04:23 PM
I have followed the instructions on the www.imx6rex.com (also described in the videos for the Yocto course) to build the images (zImage, DTB, rootfs) for the the OpenRex. However, I notice the build directory does not include a raw version of the rootfs.

I see this file in my build directory:

core-image-base-imx6q-openrex-20180512035027.rootfs.ext4

And I also see the sdcard.gz file (which I know contains the zImage, DTB, and rootfs). With that said, if possible, I'd like for the Yocto build to include an unpacked copy of the rootfs as a directory, containing the entire rootfs. Is this possible, if so how might I do this?

rmemory , 05-12-2018, 04:35 PM
... or alternatively maybe a better solution for me would be to build the rootfs as a tar ball, which I could then untar to a location of my choosing.
robertferanec , 05-13-2018, 09:42 AM
You should be able to mount the ext4 file. Just use this command:


Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?