Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zero: Add templates for local.conf and bblayers.conf
Browse files Browse the repository at this point in the history
Add template files for local.conf and bblayers.conf.  With these
files, we can now do:

    $ git clone https://github.com/spacecubics/scsat1-rpi
    $ cd scsat1-rpi/zero
    $ git clone -b kirkstone git://git.yoctoproject.org/meta-raspberrypi
    $ git clone -b kirkstone git://git.yoctoproject.org/poky
    $ TEMPLATECONF=$(readlink -f ./meta-scsat-rpi/conf) source ./poky/oe-init-build-env
    $ bitbake core-image-minimal

    Loading cache: 100% |                                                 | ETA:  --:--:--
    Loaded 0 entries from dependency cache.
    Parsing recipes: 100% |###############################################| Time: 0:00:04
    Parsing of 913 .bb files complete (0 cached, 913 parsed). 1675 targets, 96 skipped, 0 masked, 0 errors.
    NOTE: Resolving any missing task queue dependencies

    Build Configuration:
    BB_VERSION           = "2.0.0"
    BUILD_SYS            = "x86_64-linux"
    NATIVELSBSTRING      = "debian"
    TARGET_SYS           = "arm-oe-linux-gnueabi"
    MACHINE              = "raspberrypi0-wifi"
    DISTRO               = "nodistro"
    DISTRO_VERSION       = "nodistro.0"
    TUNE_FEATURES        = "arm thumb vfp arm1176jzfs callconvention-hard"
    TARGET_FPU           = "hard"
    meta                 = "kirkstone:471318ae2f6b3c142822001f4a18e2fed8c78f1a"
    meta-raspberrypi     = "kirkstone:43683cb14b6afc144619335b3a2353b70762ff3e"

    Initialising tasks: 100% |############################################| Time: 0:00:00
    Sstate summary: Wanted 721 Local 0 Mirrors 0 Missed 721 Current 0 (0% match, 0% complete)
    NOTE: Executing Tasks
    NOTE: Tasks Summary: Attempted 2005 tasks of which 0 didn't need to be rerun and all succeeded.

Note that currently this only works with G++ 12.  Debian Sid already
have G++ 13 and libdns FTBFS.

rpm-software-management/libdnf#1558

Signed-off-by: Yasushi SHOJI <[email protected]>
yashi committed Jul 13, 2023

Verified

This commit was signed with the committer’s verified signature.
saschagrunert Sascha Grunert
1 parent 7fc75b8 commit 0d42b11
Showing 2 changed files with 27 additions and 0 deletions.
11 changes: 11 additions & 0 deletions zero/meta-scsat-rpi/conf/bblayers.conf.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/../meta-raspberrypi \
"
16 changes: 16 additions & 0 deletions zero/meta-scsat-rpi/conf/local.conf.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
MACHINE = "raspberrypi0-wifi"
#DISTRO = "scsat1-rpi"
PACKAGE_CLASSES = "package_rpm"
USER_CLASSES = "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
CONF_VERSION = "2"

0 comments on commit 0d42b11

Please sign in to comment.