Building Torizon with LXDE

Hello,

I’m trying to add LXDE to Torizon. Here is my modified bblayers.conf:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "7"
OEROOT := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)))}/../.."

BBPATH = "${TOPDIR}"

BBFILES = ""

# These layers hold recipe metadata not found in OE-core, but lack any machine or distro content
BASELAYERS ?= " \
  ${OEROOT}/layers/meta-openembedded/meta-oe \
  ${OEROOT}/layers/meta-openembedded/meta-networking \
  ${OEROOT}/layers/meta-openembedded/meta-gnome \
  ${OEROOT}/layers/meta-openembedded/meta-multimedia \
  ${OEROOT}/layers/meta-openembedded/meta-initramfs \
  ${OEROOT}/layers/meta-openembedded/meta-filesystems \
  ${OEROOT}/layers/meta-openembedded/meta-python \
  ${OEROOT}/layers/meta-openembedded/meta-perl \
  ${OEROOT}/layers/meta-virtualization \
  ${OEROOT}/layers/meta-selinux \
  ${OEROOT}/layers/meta-updater \
"

# These layers hold machine specific content, aka Board Support Packages
BSPLAYERS ?= " \
  ${OEROOT}/layers/meta-toradex-nxp \
  ${OEROOT}/layers/meta-freescale \
  ${OEROOT}/layers/meta-freescale-3rdparty \
  ${OEROOT}/layers/meta-yocto/meta-yocto-bsp \
  ${OEROOT}/layers/meta-yocto/meta-poky \
  ${OEROOT}/layers/meta-security \
"

# Add your overlay location to EXTRALAYERS
# Make sure to have a conf/layers.conf in there
EXTRALAYERS ?= ""

BBLAYERS = " \
  ${OEROOT}/layers/meta-toradex-torizon \
  ${OEROOT}/layers/meta-toradex-distro \
  ${OEROOT}/layers/meta-toradex-bsp-common \
  ${OEROOT}/layers/meta-lmp \
  ${OEROOT}/layers/meta-lxde \
  ${OEROOT}/layers/meta-browser \
  ${OEROOT}/layers/meta-rust \
  ${BASELAYERS} \
  ${BSPLAYERS} \
  ${EXTRALAYERS} \
  ${OEROOT}/layers/openembedded-core/meta \
"

But I don’t get LXDE to start.

Do I need to add other layers as well?

Or would it in general be a better idea to take the Embedded Linux distro and add Docker?

Thank you in advance

Sebastian

Just for clarification: using the Debian container is not feasible for my application.

Hello Jaski,

I want all of Torizons features so I can run my application in a container. But I don’t want the “lag” between bootup of Torizon and bootup of the Debian container with the GUI.

Probably it’s best, if I customize the regular Bsp.

Thank you

Sebastian

Hi @sorschiedt

I’m trying to add LXDE to Torizon. Here is my modified bblayers.conf:

What exactly are you trying to do?

If Torizon with Container is not the solution for you, then you should use the regular Bsp, where you can define the image by yourself.

Best regards,
Jaski