Compare commits
6 Commits
gatesgarth
...
master
Author | SHA1 | Date | |
---|---|---|---|
a68f3116c9 | |||
9b52abc57c | |||
fd67e20064 | |||
2b74b65415 | |||
1270ababde | |||
13967c048b |
@ -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 \
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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} = " \
|
||||||
|
@ -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} = " \
|
||||||
|
@ -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:"
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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 \
|
||||||
"
|
"
|
||||||
|
@ -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 = " \
|
||||||
|
14
recipes-core/images/homeserver-image.bb
Normal file
14
recipes-core/images/homeserver-image.bb
Normal 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"
|
||||||
|
|
@ -11,8 +11,6 @@ inherit pypi setuptools3
|
|||||||
|
|
||||||
PYPI_PACKAGE = "w1thermsensor"
|
PYPI_PACKAGE = "w1thermsensor"
|
||||||
|
|
||||||
# TARGET_CFLAGS += "-fcommon"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} = " \
|
RDEPENDS_${PN} = " \
|
||||||
python3 \
|
python3 \
|
||||||
"
|
"
|
Loading…
Reference in New Issue
Block a user