Compare commits

..

No commits in common. "c1035a262329c1f0b9ecc547c52db9b605d26210" and "de8f190eaa212657d416b723491f88d4567996a4" have entirely different histories.

9 changed files with 6 additions and 109 deletions

View File

@ -24,15 +24,8 @@ DISTRO_FEATURES = " \
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
# INIT_MANAGER ?= "none"
# INIT_MANAGER ?= "sysvinit"
# INIT_MANAGER ?= "systemd"
INIT_MANAGER ?= "mdev-busybox"
TCLIBC = "glibc"
# TCLIBC = "newlib"
# TCLIBC = "musl"
# TLIBC = "baremetal"
TCLIBC = "musl"
# Disable wide char support for ncurses as we don't include it in
# in the LIBC features below.

View File

@ -1,3 +0,0 @@
#!/bin/sh
gunicorn --bind 0.0.0.0:80 weblight:app

View File

@ -1,34 +0,0 @@
SUMMARY = "Yardlight switcher with web ui"
SECTION = "Applications"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
PR = "r0"
SRCREV = "${AUTOREV}"
SRC_URI = " \
git://git.blackfinn.de/python/weblight.git;protocol=https;branch=master \
file://run.sh \
"
S = "${WORKDIR}/git"
do_install_append () {
install -d ${D}/usr/
install -d ${D}/usr/bin/
install -m 0755 ${WORKDIR}/run.sh ${D}/usr/bin/
}
RDEPENDS_${PN} += "\
python3 \
python3-gunicorn \
python3-flask \
rpi.gpio \
"
FILES_${PN} = " \
/usr/bin/run.sh \
"
inherit setuptools3

View File

@ -1,22 +0,0 @@
SUMMARY = "A minimal container image"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
IMAGE_FSTYPES = "container oci"
inherit image
inherit image-oci
IMAGE_FEATURES = ""
IMAGE_LINGUAS = ""
NO_RECOMMENDATIONS = "1"
IMAGE_CONTAINER_NO_DUMMY = "0"
IMAGE_INSTALL = " \
base-files \
base-passwd \
netbase \
"

View File

@ -1,5 +0,0 @@
IMAGE_INSTALL_append = " \
git \
vim \
"

View File

@ -3,7 +3,11 @@ HOMEPAGE = "https://blackfinn.de"
LICENSE = "MIT"
require docker-host-image.bb
require dev-image.inc
IMAGE_INSTALL_append = " \
git \
vim \
"
export IMAGE_BASENAME = "docker-host-dev-image"

View File

@ -1,8 +0,0 @@
SUMMARY = "A tiny image"
HOMEPAGE = "https://blackfinn.de"
LICENSE = "MIT"
require podman-host-image.bb
require dev-image.inc
export IMAGE_BASENAME = "podman-host-dev-image"

View File

@ -1,10 +0,0 @@
SUMMARY = "Busybox container image"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
require app-container-image.bb
IMAGE_INSTALL += " \
busybox \
yardlight \
"

View File

@ -1,18 +0,0 @@
SUMMARY = "RPi.GPIO"
SECTION = "Devtools"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
PR = "r0"
SRC_URI[sha256sum] = "7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f"
inherit pypi setuptools3
PYPI_PACKAGE = "RPi.GPIO"
TARGET_CFLAGS += "-fcommon"
RDEPENDS_${PN} = " \
python3 \
"