Skip to content

Commit 37e125c

Browse files
author
Yocto
committed
initial commit
0 parents  commit 37e125c

File tree

5 files changed

+103
-0
lines changed

5 files changed

+103
-0
lines changed

COPYING.MIT

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Permission is hereby granted, free of charge, to any person obtaining a copy
2+
of this software and associated documentation files (the "Software"), to deal
3+
in the Software without restriction, including without limitation the rights
4+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5+
copies of the Software, and to permit persons to whom the Software is
6+
furnished to do so, subject to the following conditions:
7+
8+
The above copyright notice and this permission notice shall be included in
9+
all copies or substantial portions of the Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
17+
THE SOFTWARE.

README

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
This README file contains information on the contents of the meta-mistysom layer.
2+
3+
Please see the corresponding sections below for details.
4+
5+
Dependencies
6+
============
7+
8+
URI: <first dependency>
9+
branch: <branch name>
10+
11+
URI: <second dependency>
12+
branch: <branch name>
13+
14+
.
15+
.
16+
.
17+
18+
Patches
19+
=======
20+
21+
Please submit any patches against the meta-mistysom layer to the xxxx mailing list ([email protected])
22+
and cc: the maintainer:
23+
24+
Maintainer: XXX YYYYYY <[email protected]>
25+
26+
Table of Contents
27+
=================
28+
29+
I. Adding the meta-mistysom layer to your build
30+
II. Misc
31+
32+
33+
I. Adding the meta-mistysom layer to your build
34+
=================================================
35+
36+
Run 'bitbake-layers add-layer meta-mistysom'
37+
38+
II. Misc
39+
========
40+
41+
--- replace with specific information about the meta-mistysom layer ---

conf/layer.conf

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# We have a conf and classes directory, add to BBPATH
2+
BBPATH .= ":${LAYERDIR}"
3+
4+
# We have recipes-* directories, add to BBFILES
5+
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6+
${LAYERDIR}/recipes-*/*/*.bbappend"
7+
8+
BBFILE_COLLECTIONS += "meta-mistysom"
9+
BBFILE_PATTERN_meta-mistysom = "^${LAYERDIR}/"
10+
BBFILE_PRIORITY_meta-mistysom = "3"
11+
12+
LAYERDEPENDS_meta-mistysom = "core"
13+
LAYERSERIES_COMPAT_meta-mistysom = "dunfell"

recipes-core/images/mistysom-image.bb

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
SUMMARY = "My custom Linux image."
2+
3+
IMAGE_INSTALL = "packagegroup-core-boot ${CORE_IMAGE_EXTRA_INSTALL}"
4+
5+
IMAGE_LINGUAS = " "
6+
7+
LICENSE = "MIT"
8+
9+
inherit core-image
10+
inherit extrausers
11+
12+
#Set rootfs to 200MiB by default
13+
IMAGE_OVERHEAD_FACTOR ?= "1.0"
14+
IMAGE_ROOTFS_SIZE ?= "294800"
15+
16+
# Change root password (note the capital -P)
17+
EXTRA_USERS_PARAMS = "\
18+
usermod -P 'toor' root \
19+
"
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SUMMARY = "bitbake-layers recipe"
2+
DESCRIPTION = "Recipe created by bitbake-layers"
3+
LICENSE = "MIT"
4+
5+
python do_display_banner() {
6+
bb.plain("***********************************************");
7+
bb.plain("* *");
8+
bb.plain("* Example recipe created by bitbake-layers *");
9+
bb.plain("* *");
10+
bb.plain("***********************************************");
11+
}
12+
13+
addtask display_banner before do_build

0 commit comments

Comments
 (0)