Compare commits

...

6 Commits

Author SHA1 Message Date
tkl
a68f3116c9 images: Add recipe for homeserver image 2021-12-08 19:56:25 +01:00
tkl
9b52abc57c busybox: Fix error in firstboot script 2021-12-08 19:55:30 +01:00
tkl
fd67e20064 busybox-initcfg: Change License file checksum
Signed-off-by: tkl <tkl@blackfinn.de>
2021-12-08 19:54:01 +01:00
tkl
2b74b65415 meta-devtools: Rename python3 packages 2021-12-08 19:53:24 +01:00
tkl
1270ababde buildconf: Add meta-webserver layer
Signed-off-by: tkl <tkl@blackfinn.de>
2021-12-08 19:48:16 +01:00
tkl
13967c048b layer.conf: Add hardknott as supported branch 2021-12-08 19:44:41 +01:00
11 changed files with 25 additions and 14 deletions

View File

@ -14,6 +14,7 @@ BBLAYERS ?= " \
${TOPDIR}/../layers/meta-openembedded/meta-networking \ ${TOPDIR}/../layers/meta-openembedded/meta-networking \
${TOPDIR}/../layers/meta-openembedded/meta-perl \ ${TOPDIR}/../layers/meta-openembedded/meta-perl \
${TOPDIR}/../layers/meta-openembedded/meta-python \ ${TOPDIR}/../layers/meta-openembedded/meta-python \
${TOPDIR}/../layers/meta-openembedded/meta-webserver \
${TOPDIR}/../layers/meta-raspberrypi \ ${TOPDIR}/../layers/meta-raspberrypi \
${TOPDIR}/../layers/meta-virtualization \ ${TOPDIR}/../layers/meta-virtualization \
${TOPDIR}/../layers/meta-security \ ${TOPDIR}/../layers/meta-security \

View File

@ -11,5 +11,5 @@ BBFILE_COLLECTIONS += "meta-blackfinn"
BBFILE_PATTERN_meta-blackfinn = "^${LAYERDIR}/" BBFILE_PATTERN_meta-blackfinn = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-blackfinn = "12" BBFILE_PRIORITY_meta-blackfinn = "12"
LAYERSERIES_COMPAT_meta-blackfinn = "gatesgarth dunfell zeus warrior thud sumo rocko" LAYERSERIES_COMPAT_meta-blackfinn = "hardknott gatesgarth dunfell zeus warrior thud sumo rocko"

View File

@ -24,8 +24,8 @@ RDEPENDS_${PN} += " \
python3 \ python3 \
python3-gunicorn \ python3-gunicorn \
python3-flask \ python3-flask \
rpi.gpio \ python3-rpi.gpio \
w1thermsensor \ python3-w1thermsensor \
" "
FILES_${PN} = " \ FILES_${PN} = " \

View File

@ -24,7 +24,7 @@ RDEPENDS_${PN} += "\
python3 \ python3 \
python3-gunicorn \ python3-gunicorn \
python3-flask \ python3-flask \
rpi.gpio \ python3-rpi.gpio \
" "
FILES_${PN} = " \ FILES_${PN} = " \

View File

@ -1,5 +1,5 @@
LICENSE = "GPLv2" LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

View File

@ -75,7 +75,7 @@ function generate_hostname() {
elif [ $idx = 30 ] ; then elif [ $idx = 30 ] ; then
res=8 res=8
elif [ $idx = 31 ] ; then elif [ $idx = 31 ] ; then
res=8 res=9
fi fi
basex="$basex${res}" basex="$basex${res}"
done done
@ -90,7 +90,7 @@ function generate_hostname() {
if [ $old_hostname = raspberrypi4-64 ] if [ $old_hostname = raspberrypi4-64 ]
then then
new_hostname=rpi3-$basex new_hostname=rpi4-$basex
fi fi
echo $new_hostname > /etc/hostname echo $new_hostname > /etc/hostname

View File

@ -7,8 +7,8 @@ require console-image-base.inc
DEV_SDK_INSTALL += " \ DEV_SDK_INSTALL += " \
git \ git \
make \ make \
python-pip \ python3-pip \
python-dev \ python3-dev \
bash \ bash \
packagegroup-core-buildessential \ packagegroup-core-buildessential \
" "

View File

@ -29,7 +29,7 @@ DEV_SDK_INSTALL = " \
file \ file \
perl-modules \ perl-modules \
pkgconfig \ pkgconfig \
python-modules \ python3-modules \
" "
EXTRA_TOOLS_INSTALL = " \ EXTRA_TOOLS_INSTALL = " \
@ -42,7 +42,6 @@ EXTRA_TOOLS_INSTALL = " \
findutils \ findutils \
i2c-tools \ i2c-tools \
less \ less \
mc \
procps \ procps \
rsync \ rsync \
sysfsutils \ sysfsutils \
@ -57,7 +56,6 @@ EXTRA_TOOLS_INSTALL = " \
" "
MQTT = " \ MQTT = " \
python-paho-mqtt \
" "
PYTHON_LIBS = " \ PYTHON_LIBS = " \

View File

@ -0,0 +1,14 @@
SUMMARY = "homeserver host system"
HOMEPAGE = "https://blackfinn.de"
LICENSE = "MIT"
require docker-host-image.bb
require dev-image.inc
IMAGE_INSTALL_append = " \
nginx \
python3-docker-compose \
"
export IMAGE_BASENAME = "homeserver-image"

View File

@ -11,8 +11,6 @@ inherit pypi setuptools3
PYPI_PACKAGE = "w1thermsensor" PYPI_PACKAGE = "w1thermsensor"
# TARGET_CFLAGS += "-fcommon"
RDEPENDS_${PN} = " \ RDEPENDS_${PN} = " \
python3 \ python3 \
" "