Customizing Images

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Customizing Images

5,816 Views
nilwij
Contributor II

I got following error while building core-image-x11

could someone explain me the background and cause for the error.

| makedevs: No entry for root in search list

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_rootfs (log file is located at /home/user/work/FreescaleYP/Yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/core-image-x11/1.0-r0/temp/log.do_rootfs.32368)

ERROR: Task 7 (/home/user/work/FreescaleYP/Yocto/sources/poky/meta/recipes-graphics/images/core-image-x11.bb, do_rootfs) failed with exit code '1'

Thanks

Labels (3)
0 Kudos
4 Replies

1,960 Views
LeonardoSandova
Specialist I

Nil, Did you change the core-image-x11.bb file? You mentioned 'Customizing' that is why I am asking.

Are you compiling from dora or master?

Leo

0 Kudos

1,960 Views
nilwij
Contributor II

Hi Leo,

Yes you are correct i changed the core-image-x11.bb file and conf/local.conf file as follows and I'm compiling from dora branch.

but the problem above seems to not relate with that, because I was able to solve above makedevs: error by clean re-build.

I changed core-image-x11.bb file to add qt4-pkgs as i want qt support in the image.

IMAGE_FEATURES += "splash package-management x11-base qt4-pkgs"

then i changed conf/local.conf file,

PACKAGE_EXCLUDE = "matchbox-wm matchbox-terminal matchbox-session-sato matchbox-session matchbox-desktop-sato matchbox-desktop matchbox-keyboard packagegroup-core-x11-base packagegroup-core-x11-base-dev"

IMAGE_INSTALL_append = " twm"

INHERIT += "rm_work"

because i want to remove matchbox and install twm instead of it.

I got the image build and twm is there. But unfortunately X11 (xserver, /etc/X11/) is not there.

I'm really a beginner to this kind of works, could you please give me a clue how can i do this.

Thanks

0 Kudos

1,960 Views
LeonardoSandova
Specialist I

I wonder if these two packages remove X11: packagegroup-core-x11-base packagegroup-core-x11-base-dev

Try also posting this question on the meta-freescale list please.

1,960 Views
nilwij
Contributor II

sorry for the delay, Yes it seems that packagegroup-core-x11-base removes the X11.  because, in the packagegroup-core-x11-base.bb file packagegroup-core-x11-xserver and packagegroup-core-x11-utils are mentioned as dependents.

RDEPENDS_${PN} = "\

    packagegroup-core-x11-xserver \

    packagegroup-core-x11-utils \

So, I removed the packagegroup-core-x11-base and added only packagegroup-core-x11-xserver and packagegroup-core-x11-utils, then it worked.

here is the modified part of my local.conf file.

PACKAGE_EXCLUDE = "matchbox-wm matchbox-terminal matchbox-session-sato matchbox-session matchbox-desktop-sato matchbox-desktop matchbox-keyboard packagegroup-core-x11-base packagegroup-core-x11-base-dev packagegroup-core-x11-sato"

IMAGE_INSTALL_append = " packagegroup-core-x11-xserver"

IMAGE_INSTALL_append = " packagegroup-core-x11-utils"

IMAGE_INSTALL_append = " xterm"

IMAGE_INSTALL_append = " xclock"

IMAGE_INSTALL_append = " xprop"

IMAGE_INSTALL_append = " dbus"

IMAGE_INSTALL_append = " pointercal"

IMAGE_INSTALL_append = " twm"

IMAGE_INSTALL_append = " mini-x-session"

IMAGE_INSTALL_append = " liberation-fonts"

INHERIT += "rm_work"

0 Kudos