Skip to content
webOS OSE build layer
Branch: master
Clone or download
flowergom webos-image: Update layer pins for 2019-04-16 (build 69)
meta-webosose as of 2019-04-16 16:40:00 +0900

288cff4 luna-surfacemanager=5 qtwayland=5
Latest commit a68c4c7 Apr 16, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
build-templates webos-image: Update layer pins for 2018-03-17 (build 1) Mar 17, 2018
.gitignore webos-image: Update layer pins for 2018-03-17 (build 1) Mar 17, 2018 Fix wrong license text Aug 13, 2018
mcf webos-image: Update layer pins for 2019-04-16 (build 69) Apr 16, 2019



Build webOS OSE (Open Source Edition) images


This repository contains the top level code that aggregates the various OpenEmbedded layers into a whole from which webOS OSE images can be built.


Set up build-webos by cloning its Git repository:

 git clone

Note: If you populate it by downloading an archive (zip or tar.gz file), then you will get the following error when you run mcf:

 fatal: Not a git repository (or any parent up to mount parent).
 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYTEM not set).


Before you can build, you will need some tools. If you try to build without them, bitbake will fail a sanity check and tell you what's missing, but not really how to get the missing pieces. On Ubuntu, you can force all of the missing pieces to be installed by entering:

$ sudo scripts/

Also, the bitbake sanity check will issue a warning if you're not running under Ubuntu 14.04 64bit LTS.


To configure the build for the raspberrypi3 or qemux86 and to fetch the sources:

For raspberrypi3
$ ./mcf -p 0 -b 0 raspberrypi3

For qemux86
$ ./mcf -p 0 -b 0 qemux86

The -p 0 and -b 0 options set the make and bitbake parallelism values to the number of CPU cores found on your computer.

To kick off a full build of webOS OSE, make sure you have at least 100GB of disk space available and enter the following:

$ make webos-image

This may take in the neighborhood of two hours on a multi-core workstation with a fast disk subsystem and lots of memory, or many more hours on a laptop with less memory and slower disks or in a VM.


The following images can be built:

  • webos-image: The production webOS OSE image.
  • webos-image-devel: Adds various development tools to webos-image, including gdb and strace. See packagegroup-core-tools-debug and packagegroup-core-tools-profile in oe-core and packagegroup-webos-test in meta-webos for the complete list.


To blow away the build artifacts and prepare to do clean build, you can remove the build directory and recreate it by typing:

$ rm -rf BUILD
$ ./mcf.status

What this retains are the caches of downloaded source (under ./downloads) and shared state (under ./sstate-cache). These caches will save you a tremendous amount of time during development as they facilitate incremental builds, but can cause seemingly inexplicable behavior when corrupted. If you experience strangeness, use the command presented below to remove the shared state of suspicious components. In extreme cases, you may need to remove the entire shared state cache. See here for more information on it.

Building Individual Components

To build an individual component, enter:

$ make <component-name>

To clean a component's build artifacts under BUILD, enter:

$ make clean-<component-name>

To remove the shared state for a component as well as its build artifacts to ensure it gets rebuilt afresh from its source, enter:

$ make cleanall-<component-name>

Adding new layers

The script automates the process of adding new OE layers to the build environment. The information required for integrate new layer are; layer name, OE priority, repository, identification in the form branch, commit or tag ids. It is also possible to reference a layer from local storage area. The details are documented in

Copyright and License Information

Unless otherwise specified, all content, including all source code files and documentation files in this repository are:

Copyright (c) 2008-2018 LG Electronics, Inc.

All content, including all source code files and documentation files in this repository except otherwise noted are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

SPDX-License-Identifier: Apache-2.0

You can’t perform that action at this time.