ajout des recettes et fichiers de configuration du meta

This commit is contained in:
2022-12-14 19:45:04 +01:00
commit 25a3f8922d
47 changed files with 20703 additions and 0 deletions
@@ -0,0 +1,13 @@
# Copyright (C) 2022 Vincent BENOIT <vincent.benoit@benserv.fr>
# Release under the MIT license (see COPYING.MIT for the terms)
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://hostname \
file://hosts \
file://fstab"
do_install:append() {
install -m 0644 ${WORKDIR}/hostname ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/hosts ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/fstab ${D}${sysconfdir}
}
+8
View File
@@ -0,0 +1,8 @@
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults,flush 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
devpts /dev/pts devpts mode=0620,ptmxmode=0666,gid=5 0 0
tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
#tmpfs /var/volatile tmpfs defaults 0 0
#/dev/root / auto defaults 1 1
+1
View File
@@ -0,0 +1 @@
kineintercom
+6
View File
@@ -0,0 +1,6 @@
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 kineintercom
@@ -0,0 +1,4 @@
# Copyright (C) 2022 Vincent BENOIT <vincent.benoit@benserv.fr>
# Release under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "KineIntercom Image"
include kineintercom-image.inc
@@ -0,0 +1,40 @@
SUMMARY = "KineIntercom Image"
PV = "1.0.0"
inherit core-image
EXTRA_IMAGE_FEATURES = ""
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 fr_FR.UTF-8"
IMAGE_LINGUAS = "fr-fr"
PROCESS_INSTALL = " \
kine-users \
kine-services \
intercom \
configurateur-backend \
configurateur-frontend \
"
PYTHON_INSTALL = " \
python3-apscheduler \
python3-pyserial \
python3-jsonschema \
rpi-gpio \
"
IMAGE_INSTALL += " \
sudo \
logrotate \
dnsmasq \
hostapd \
dhcpcd \
rsyslog \
iptables \
procps \
kbd-keymaps \
vim \
minicom \
i2c-tools \
${PROCESS_INSTALL} \
"
@@ -0,0 +1,9 @@
[Match]
Name=eth0
[Network]
Address=192.168.10.10/24
Gateway=192.168.10.1
[Link]
ActivationPolicy=always-up
@@ -0,0 +1,16 @@
# Copyright (C) 2022 Vincent BENOIT <vincent.benoit@benserv.fr>
# Release under the MIT license (see COPYING.MIT for the terms)
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += " \
file://eth0.network \
"
FILES:${PN} += " \
${sysconfdir}/systemd/network/eth0.network \
"
do_install:append() {
install -d ${D}${sysconfdir}/systemd/network
install -m 0644 ${WORKDIR}/eth0.network ${D}${sysconfdir}/systemd/network
}