yocto env: migrated recipes and conf file from dunfell to kirkstone

Part of yocto upgrade from dunfell to kirkstone
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmueller 2022-07-19 11:17:29 +00:00 committed by Alexandre Bard
parent 9027d38b10
commit 730b1f554d
56 changed files with 133 additions and 135 deletions

View File

@ -1,6 +1,6 @@
DESCRIPTION = "vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s)." DESCRIPTION = "vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s)."
HOMEPAGE = "https://humdi.net/vnstat/" HOMEPAGE = "https://humdi.net/vnstat/"
LICENSE = "GPLv2" LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SECTION = "net" SECTION = "net"
DEPENDS = "gd sqlite3" DEPENDS = "gd sqlite3"
@ -13,7 +13,7 @@ inherit autotools pkgconfig systemd
EXTRA_OECONF = "--disable-extra-paths" EXTRA_OECONF = "--disable-extra-paths"
do_configure_append() { do_configure:append() {
# enable a volatile and persistent path for reading and writing the data base: # enable a volatile and persistent path for reading and writing the data base:
sed -i 's|ReadWritePaths=\/var\/lib|ReadWritePaths=\/var\/lib \/run\/|g' ${S}/examples/systemd/vnstat.service sed -i 's|ReadWritePaths=\/var\/lib|ReadWritePaths=\/var\/lib \/run\/|g' ${S}/examples/systemd/vnstat.service
@ -25,8 +25,8 @@ do_configure_append() {
} }
do_install_append() { do_install:append() {
install -Dm644 ${S}/examples/systemd/vnstat.service "${D}${systemd_system_unitdir}/vnstat.service" install -Dm644 ${S}/examples/systemd/vnstat.service "${D}${systemd_system_unitdir}/vnstat.service"
} }
SYSTEMD_SERVICE_${PN} = "vnstat.service" SYSTEMD_SERVICE:${PN} = "vnstat.service"

View File

@ -2,7 +2,7 @@ SUMMARY = "Display or change ethernet card settings"
DESCRIPTION = "A small utility for examining and tuning the settings of your ethernet-based network interfaces." DESCRIPTION = "A small utility for examining and tuning the settings of your ethernet-based network interfaces."
HOMEPAGE = "http://www.kernel.org/pub/software/network/ethtool/" HOMEPAGE = "http://www.kernel.org/pub/software/network/ethtool/"
SECTION = "console/network" SECTION = "console/network"
LICENSE = "GPLv2+" LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://ethtool.c;beginline=4;endline=17;md5=c19b30548c582577fc6b443626fc1216" file://ethtool.c;beginline=4;endline=17;md5=c19b30548c582577fc6b443626fc1216"

View File

@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f7d9aab84ec6567139a4755c48d147fb"
DEPENDS:append = " libevent libssh msgpack-c ncurses" DEPENDS:append = " libevent libssh msgpack-c ncurses"
SRC_URI = "\ SRC_URI = "\
git://github.com/tmate-io/tmate.git;protocol=https \ git://github.com/tmate-io/tmate.git;protocol=https;branch=master \
" "
SRCREV = "5e00bfa5e137e76c81888727712ced2b3fd99f5b" SRCREV = "5e00bfa5e137e76c81888727712ced2b3fd99f5b"

View File

@ -1,8 +1,8 @@
BASEFILESISSUEINSTALL = "do_install_basefilesissue" BASEFILESISSUEINSTALL = "do_install_basefilesissue"
DISTROVERSION-ISSUE = "\S{PRETTY_NAME}\n" DISTROVERSION-ISSUE = "\S{PRETTY_NAME}\n"
DISTROVERSION-ISSUE_append= "kernel \\\r\n" DISTROVERSION-ISSUE:append= "kernel \\\r\n"
DISTROVERSION-ISSUE_append = "\\\n @ \\\l\n" DISTROVERSION-ISSUE:append = "\\\n @ \\\l\n"
#r: kernel version #r: kernel version
#n: hostname #n: hostname

View File

@ -5,7 +5,7 @@
# #
# More details can be found in the Kernel Dev Manual # More details can be found in the Kernel Dev Manual
# http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#changing-the-configuration # http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#changing-the-configuration
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += " \ SRC_URI += " \
file://no_rfkill.cfg \ file://no_rfkill.cfg \

View File

@ -1,6 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
do_install_append() { do_install:append() {
# Remove default network configurations # Remove default network configurations
rm -rf ${D}${systemd_unitdir}/network rm -rf ${D}${systemd_unitdir}/network
} }

View File

@ -1,8 +1,8 @@
PACKAGECONFIG_remove = "nss-resolve resolved" PACKAGECONFIG:remove = "nss-resolve resolved"
ALTERNATIVE_${PN} = "halt reboot shutdown poweroff runlevel ${@bb.utils.contains('PACKAGECONFIG', 'resolved', 'resolv-conf', '', d)}" ALTERNATIVE:${PN} = "halt reboot shutdown poweroff runlevel ${@bb.utils.contains('PACKAGECONFIG', 'resolved', 'resolv-conf', '', d)}"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " \ SRC_URI:append = " \
file://journald.conf \ file://journald.conf \
" "
@ -10,9 +10,9 @@ SRC_URI_append = " \
# Having this dependency leads to a rebuild of systemd when os-release is rebuilt, # Having this dependency leads to a rebuild of systemd when os-release is rebuilt,
# even when the recommendations are excluded. # even when the recommendations are excluded.
# It may not be required with future releases of yocto. # It may not be required with future releases of yocto.
RRECOMMENDS_${PN}_remove = "os-release" RRECOMMENDS:${PN}:remove = "os-release"
do_install_append() { do_install:append() {
# Remove default network configurations # Remove default network configurations
rm -rf ${D}${systemd_unitdir}/network rm -rf ${D}${systemd_unitdir}/network

View File

@ -4,7 +4,7 @@ clean_pycache(){
find ${PKGD} | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf find ${PKGD} | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf
} }
do_install_append(){ do_install:append(){
cd ${D}${libdir}/python${PYTHON_MAJMIN} cd ${D}${libdir}/python${PYTHON_MAJMIN}
rm -rf turtle.py turtledemo/ rm -rf turtle.py turtledemo/
cd - cd -

View File

@ -1 +1 @@
PACKAGECONFIG_append = " tftp" PACKAGECONFIG:append = " tftp"

View File

@ -1 +0,0 @@
SRCREV = "42e96b13dda2afabbcec2622612d13495a415caa"

View File

@ -1,8 +1,8 @@
# Copyright (C) 2020 Ramon Moesching <ramon.moesching@netmodule.com> # Copyright (C) 2020 Ramon Moesching <ramon.moesching@netmodule.com>
# Released under the MIT license (see COPYING.MIT for the terms) # Released under the MIT license (see COPYING.MIT for the terms)
FILESEXTRAPATHS_prepend:= "${THISDIR}/files:" FILESEXTRAPATHS:prepend:= "${THISDIR}/files:"
do_install_append () { do_install:append () {
if ${@bb.utils.contains("MACHINE_FEATURES", "pps", "true", "false", d)}; then if ${@bb.utils.contains("MACHINE_FEATURES", "pps", "true", "false", d)}; then
sed -i '/^#refclock PPS.*/s/^#//' ${D}/${sysconfdir}/chrony.conf sed -i '/^#refclock PPS.*/s/^#//' ${D}/${sysconfdir}/chrony.conf
fi fi
@ -12,7 +12,7 @@ do_install_append () {
# thus gpsd daemon needs to start with -n paramteter. # thus gpsd daemon needs to start with -n paramteter.
# Patching at installation time gpsd configuration file # Patching at installation time gpsd configuration file
# to apply this parameter # to apply this parameter
pkg_postinst_${PN}_prepend () { pkg_postinst:${PN}:prepend () {
GPSD_CONF=$D${sysconfdir}/default/gpsd.default GPSD_CONF=$D${sysconfdir}/default/gpsd.default

View File

@ -1,8 +1,8 @@
PACKAGECONFIG_append = " dbus" PACKAGECONFIG:append = " dbus"
SYSTEMD_AUTO_ENABLE = "disable" SYSTEMD_AUTO_ENABLE = "disable"
do_install_append () { do_install:append () {
install -d ${D}${localstatedir}/lib/misc/ install -d ${D}${localstatedir}/lib/misc/
} }

View File

@ -1,3 +1,3 @@
FILESEXTRAPATHS_prepend:= "${THISDIR}/patches:" FILESEXTRAPATHS:prepend:= "${THISDIR}/patches:"
SRC_URI_prepend_mx8 = " file://start-daemon-with-data-arg-16.patch " SRC_URI:prepend_mx8 = " file://start-daemon-with-data-arg-16.patch "

View File

@ -1,3 +1,3 @@
ROOTFS_BOOTSTRAP_INSTALL_append = " \ ROOTFS_BOOTSTRAP_INSTALL:append = " \
packagegroup-nm-wifi-minimal \ packagegroup-nm-wifi-minimal \
" "

View File

@ -1,3 +1,3 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://0001-Remove-log-info-from-init.patch" SRC_URI += "file://0001-Remove-log-info-from-init.patch"

View File

@ -2,13 +2,12 @@ require netmodule-linux.conf
DISTRO = "netmodule-linux-minimal" DISTRO = "netmodule-linux-minimal"
DISTRO_VARIANT = " for minimal fitImage" DISTRO_VARIANT = " for minimal fitImage"
INCLUDE_PYCS_pn-python3 = "0" INCLUDE_PYCS:pn-python3 = "0"
INHERIT += "reproducible_build_simple" #export SOURCE_DATE_EPOCH ?= "0"
export SOURCE_DATE_EPOCH ?= "0" #REPRODUCIBLE_TIMESTAMP_ROOTFS = ""
REPRODUCIBLE_TIMESTAMP_ROOTFS = ""
PREFERRED_PROVIDER_virtual/netmodule-image = "netmodule-fitimage" PREFERRED_PROVIDER_virtual/netmodule-image = "netmodule-fitimage"
INITRAMFS_IMAGE_pn-netmodule-fitimage = "netmodule-linux-image-minimal" INITRAMFS_IMAGE:pn-netmodule-fitimage = "netmodule-linux-image-minimal"
IMAGE_FSTYPES = "cpio.gz cpio.gz.u-boot" IMAGE_FSTYPES = "cpio.gz cpio.gz.u-boot"

View File

@ -12,7 +12,7 @@ OSTREE_INITRAMFS_FSTYPES = "ext4.gz.u-boot"
OSTREE_COMMIT_SUBJECT = "${IMAGE_BASENAME};${DISTRO_VERSION}" OSTREE_COMMIT_SUBJECT = "${IMAGE_BASENAME};${DISTRO_VERSION}"
# Unneeded tools added by sota class # Unneeded tools added by sota class
IMAGE_INSTALL_remove = "aktualizr aktualizr-info" IMAGE_INSTALL:remove = "aktualizr aktualizr-info"
SOTA_CLIENT = " " SOTA_CLIENT = " "
SOTA_CLIENT_PROV = " " SOTA_CLIENT_PROV = " "

View File

@ -27,18 +27,18 @@ DISTRO_FEATURES = "bluetooth usbhost pci ipv4 ipv6 wifi multiarch usrmerge"
# Adding them to this variable allow us to remove them. # Adding them to this variable allow us to remove them.
DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio gobject-introspection-data ldconfig" DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio gobject-introspection-data ldconfig"
EXTRA_IMAGECMD_append_ext4 = " -O ^64bit" EXTRA_IMAGECMD:append_ext4 = " -O ^64bit"
EXTRA_IMAGECMD_append_ota-ext4 = " -O ^64bit" EXTRA_IMAGECMD:append_ota-ext4 = " -O ^64bit"
# Packages # Packages
PACKAGECONFIG_append_pn-curl = " ssl" PACKAGECONFIG:append:pn-curl = " ssl"
PACKAGECONFIG_remove_pn-curl = "gnutls" PACKAGECONFIG:remove:pn-curl = "gnutls"
PACKAGECONFIG_append_pn-libgpiod = " python3" PACKAGECONFIG:append:pn-libgpiod = " python3"
PACKAGECONFIG_append_pn-networkmanager = " modemmanager" #PACKAGECONFIG:append:pn-networkmanager = " modemmanager"
PACKAGECONFIG_pn-gpsd = "" PACKAGECONFIG:pn-gpsd = ""
PACKAGECONFIG_append_pn-openssl = " cryptodev-linux" PACKAGECONFIG:append:pn-openssl = " cryptodev-linux"
# These rules may make gpsd start automatically when detecting a # These rules may make gpsd start automatically when detecting a
# receiver. We don't want that since gpsd is started by gnss-mgr # receiver. We don't want that since gpsd is started by gnss-mgr

View File

@ -19,4 +19,4 @@ LAYERVERSION_netmodule-distro = "1"
LAYERDEPENDS_netmodule-distro = "core" LAYERDEPENDS_netmodule-distro = "core"
LAYERSERIES_COMPAT_netmodule-distro = "dunfell" LAYERSERIES_COMPAT_netmodule-distro = "dunfell kirkstone"

View File

@ -1,25 +1,25 @@
BB_NUMBER_THREADS ?= "4" BB_NUMBER_THREADS ?= "4"
PARALLEL_MAKE ?= "-j 4" PARALLEL_MAKE ?= "-j 4"
PACKAGE_CLASSES ?= "package_rpm" PACKAGE_CLASSES ?= "package_rpm"
USER_CLASSES ?= "buildstats image-mklibs image-prelink" USER_CLASSES ?= "buildstats image-prelink"
PATCHRESOLVE = "noop" PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\ BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \ STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \ STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \ STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \ STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \ HALT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \ HALT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \ HALT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K" HALT,/tmp,10M,1K"
ASSUME_PROVIDED += "libsdl-native" ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1" CONF_VERSION = "1"
EXTRA_IMAGE_FEATURES_append = " debug-tweaks" EXTRA_IMAGE_FEATURES:append = " debug-tweaks"
INHERIT += "rm_work" INHERIT += "rm_work"
ERROR_QA_remove += "version-going-backwards" ERROR_QA:remove = "version-going-backwards"
WARN_QA_append += "version-going-backwards" WARN_QA:append = " version-going-backwards"
INHERIT += "buildhistory" INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1" BUILDHISTORY_COMMIT = "1"

View File

@ -1,6 +1,6 @@
DESCRIPTION = "CPU Benchmarking bin" DESCRIPTION = "CPU Benchmarking bin"
HOMEPAGE = "http://www.netmodule.com/" HOMEPAGE = "http://www.netmodule.com/"
LICENSE = "GPLv2" LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PROVIDES = "benchmarking-cpu" PROVIDES = "benchmarking-cpu"
@ -13,7 +13,7 @@ SRC_URI = " \
file://memspeed \ file://memspeed \
" "
FILES_${PN} += "/usr/bin/*" FILES:${PN} += "/usr/bin/*"
S = "${WORKDIR}" S = "${WORKDIR}"

View File

@ -2,7 +2,7 @@ require netmodule-linux-image.bb
SUMMARY = "netmodule image for developement only" SUMMARY = "netmodule image for developement only"
IMAGE_FEATURES_append = " \ IMAGE_FEATURES:append = " \
tools-debug \ tools-debug \
" "
@ -36,12 +36,12 @@ EASY_EDITOR = " \
nano \ nano \
" "
BENCH_TOOLS_cortexa9hf-neon_append = " cpuburn-neon " BENCH_TOOLS_cortexa9hf-neon:append = " cpuburn-neon "
BENCH_TOOLS_cortexa8hf-neon_append = " cpuburn-neon " BENCH_TOOLS_cortexa8hf-neon:append = " cpuburn-neon "
IMAGE_INSTALL_remove_aarch64 = "benchmarking-cpu" IMAGE_INSTALL:remove:aarch64 = "benchmarking-cpu"
IMAGE_INSTALL_append = " \ IMAGE_INSTALL:append = " \
lrzsz \ lrzsz \
${BENCH_TOOLS} \ ${BENCH_TOOLS} \
${EASY_EDITOR} \ ${EASY_EDITOR} \

View File

@ -5,7 +5,7 @@ require includes/image-preprocessing.inc
SUMMARY = "NetModule Linux Distro Image" SUMMARY = "NetModule Linux Distro Image"
PROVIDES += "virtual/netmodule-image" PROVIDES += "virtual/netmodule-image"
IMAGE_FEATURES_append = " \ IMAGE_FEATURES:append = " \
package-management \ package-management \
" "
@ -16,7 +16,7 @@ IMAGE_INSTALL = " \
" "
IMAGE_INSTALL_append_sota = " mount-overlay" IMAGE_INSTALL:append_sota = " mount-overlay"
LICENSE = "BSD" LICENSE = "BSD"

View File

@ -2,6 +2,6 @@ inherit packagegroup
PACKAGES = "${PN}-minimal ${PN}-base ${PN}-extended" PACKAGES = "${PN}-minimal ${PN}-base ${PN}-extended"
SUMMARY_${PN}-minimal = "Minimal packages for ${PN}" SUMMARY:${PN}-minimal = "Minimal packages for ${PN}"
SUMMARY_${PN}-base = "Base packages for ${PN}" SUMMARY:${PN}-base = "Base packages for ${PN}"
SUMMARY_${PN}-extended = "Extended packages for ${PN}" SUMMARY:${PN}-extended = "Extended packages for ${PN}"

View File

@ -5,11 +5,11 @@ require packagegroup-feature.inc
PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_${PN}-base = " \ RDEPENDS:${PN}-base = " \
${@bb.utils.contains("MACHINE_FEATURES", "tibluetooth", "tibluetooth", "", d)} \ ${@bb.utils.contains("MACHINE_FEATURES", "tibluetooth", "tibluetooth", "", d)} \
" "
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
bluez5-obex \ bluez5-obex \
bluez5-noinst-tools \ bluez5-noinst-tools \
" "

View File

@ -5,6 +5,6 @@ require packagegroup-feature.inc
PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
${@bb.utils.contains("MACHINE_FEATURES", "imx-boot", "", "bootloader-config", d)} \ ${@bb.utils.contains("MACHINE_FEATURES", "imx-boot", "", "bootloader-config", d)} \
" "

View File

@ -3,10 +3,10 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-base = " \ RDEPENDS:${PN}-base = " \
can-utils \ can-utils \
" "
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
cannelloni \ cannelloni \
" "

View File

@ -3,6 +3,6 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-base = " \ RDEPENDS:${PN}-base = " \
fpga-image \ fpga-image \
" "

View File

@ -6,7 +6,7 @@ require packagegroup-feature.inc
PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
gpsd \ gpsd \
gpsd-conf \ gpsd-conf \
gps-utils \ gps-utils \

View File

@ -3,6 +3,6 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
imu-setup \ imu-setup \
" "

View File

@ -4,18 +4,18 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
# less is needed for nmcli to show proper output # less is needed for nmcli to show proper output
RDEPENDS_${PN}-minimal = " \ RDEPENDS:${PN}-minimal = " \
networkmanager \ networkmanager \
less \ less \
" "
RDEPENDS_${PN}-base = " \ RDEPENDS:${PN}-base = " \
iproute2 \ iproute2 \
packagegroup-core-ssh-openssh \ packagegroup-core-ssh-openssh \
openssh-sftp-server \ openssh-sftp-server \
" "
RDEPENDS_${PN}-extended= " \ RDEPENDS:${PN}-extended= " \
ethtool \ ethtool \
iptables \ iptables \
iptables-module-ipt-masquerade \ iptables-module-ipt-masquerade \

View File

@ -3,6 +3,6 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-base = " \ RDEPENDS:${PN}-base = " \
spitools \ spitools \
" "

View File

@ -3,7 +3,7 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
util-linux-rtcwake \ util-linux-rtcwake \
chrony \ chrony \
chronyc \ chronyc \

View File

@ -3,6 +3,6 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-base = " \ RDEPENDS:${PN}-base = " \
socket-uart \ socket-uart \
" "

View File

@ -3,6 +3,6 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
v2x-ieee802.11p \ v2x-ieee802.11p \
" "

View File

@ -3,6 +3,6 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
wakeup-timer \ wakeup-timer \
" "

View File

@ -23,13 +23,13 @@ UBLOX_WIFI = " \
" "
RDEPENDS_${PN}-minimal = " \ RDEPENDS:${PN}-minimal = " \
${@bb.utils.contains("MACHINE_FEATURES", "ti-wifi", "${TI_WIFI}", "", d)} \ ${@bb.utils.contains("MACHINE_FEATURES", "ti-wifi", "${TI_WIFI}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "ath-wifi", "${ATH_WIFI}", "", d)} \ ${@bb.utils.contains("MACHINE_FEATURES", "ath-wifi", "${ATH_WIFI}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "ublox-wifi", "${UBLOX_WIFI}", "", d)} \ ${@bb.utils.contains("MACHINE_FEATURES", "ublox-wifi", "${UBLOX_WIFI}", "", d)} \
" "
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
hostapd \ hostapd \
" "

View File

@ -3,7 +3,7 @@ LICENSE = "MIT"
require packagegroup-feature.inc require packagegroup-feature.inc
RDEPENDS_${PN}-extended = " \ RDEPENDS:${PN}-extended = " \
modemmanager \ modemmanager \
wwan-config \ wwan-config \
" "

View File

@ -4,7 +4,7 @@ LICENSE = "MIT"
require packagegroup-nm.inc require packagegroup-nm.inc
FEATURE_LEVEL = "base" FEATURE_LEVEL = "base"
RDEPENDS_${PN} = " \ RDEPENDS:${PN} = " \
packagegroup-nm-minimal \ packagegroup-nm-minimal \
bash \ bash \
curl \ curl \

View File

@ -4,7 +4,7 @@ LICENSE = "MIT"
require packagegroup-nm.inc require packagegroup-nm.inc
FEATURE_LEVEL = "extended" FEATURE_LEVEL = "extended"
RDEPENDS_${PN} = " \ RDEPENDS:${PN} = " \
packagegroup-nm-base \ packagegroup-nm-base \
packagegroup-base \ packagegroup-base \
nmhw-auto-part \ nmhw-auto-part \
@ -22,7 +22,7 @@ RDEPENDS_${PN} = " \
" "
# Hacks for V2X-GNSS-HUB power sequence on HW23 # Hacks for V2X-GNSS-HUB power sequence on HW23
RDEPENDS_${PN}_append_imx8-nmhw23 = " \ RDEPENDS:${PN}:append_imx8-nmhw23 = " \
usb-hub-reset \ usb-hub-reset \
gnss-init \ gnss-init \
" "

View File

@ -4,7 +4,7 @@ LICENSE = "MIT"
require packagegroup-nm.inc require packagegroup-nm.inc
FEATURE_LEVEL = "minimal" FEATURE_LEVEL = "minimal"
RDEPENDS_${PN} = " \ RDEPENDS:${PN} = " \
packagegroup-core-boot \ packagegroup-core-boot \
util-linux-agetty \ util-linux-agetty \
systemd-serialgetty \ systemd-serialgetty \

View File

@ -3,7 +3,7 @@ inherit packagegroup
PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGE_ARCH = "${MACHINE_ARCH}"
# FEATURE_LEVEL must be defined by including file # FEATURE_LEVEL must be defined by including file
RDEPENDS_${PN}_append = " \ RDEPENDS:${PN}:append = " \
\ \
packagegroup-nm-net-${FEATURE_LEVEL} \ packagegroup-nm-net-${FEATURE_LEVEL} \
packagegroup-nm-boot-tools-${FEATURE_LEVEL} \ packagegroup-nm-boot-tools-${FEATURE_LEVEL} \

View File

@ -4,7 +4,7 @@ LICENSE = "MIT"
inherit populate_sdk inherit populate_sdk
TOOLCHAIN_TARGET_TASK_append = " \ TOOLCHAIN_TARGET_TASK:append = " \
cpputest-staticdev \ cpputest-staticdev \
libnmapp-staticdev \ libnmapp-staticdev \
" "

View File

@ -15,7 +15,7 @@ BUILD_NUMBER = "11"
JVM_VERSION = "compact1" JVM_VERSION = "compact1"
FILESEXTRAPATHS_append := ":${THISDIR}/download" FILESEXTRAPATHS:append := ":${THISDIR}/download"
LIC_FILES_CHKSUM = "file://${WORKDIR}/ejdk1.8.0_${PV_UPDATE}/linux_armv6_vfp_hflt/compact1/COPYRIGHT;md5=a762796b2a8989b8952b653a178607a1" LIC_FILES_CHKSUM = "file://${WORKDIR}/ejdk1.8.0_${PV_UPDATE}/linux_armv6_vfp_hflt/compact1/COPYRIGHT;md5=a762796b2a8989b8952b653a178607a1"
LICENSE = "Oracle_Binary_Code_License_Agreement" LICENSE = "Oracle_Binary_Code_License_Agreement"
@ -28,7 +28,7 @@ SRC_URI[sha256sum] = "5dcc644c999e7109efe46669ac717f3b96f3bbdeac3cb66f072ca4dfbc
S = "${WORKDIR}" S = "${WORKDIR}"
FILES_${PN} = "${bindir}/*" FILES:${PN} = "${bindir}/*"
do_install() { do_install() {
install -d ${D}${bindir}/ejdk1.8.0 install -d ${D}${bindir}/ejdk1.8.0
@ -39,6 +39,6 @@ do_install() {
} }
INSANE_SKIP_${PN} += "dev-so already-stripped ldflags file-rdeps " INSANE_SKIP:${PN} += "dev-so already-stripped ldflags file-rdeps "
EXCLUDE_FROM_SHLIBS = "1" EXCLUDE_FROM_SHLIBS = "1"

View File

@ -3,9 +3,9 @@
inherit systemd inherit systemd
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
FILESEXTRAPATHS_prepend := "${THISDIR}/config:" FILESEXTRAPATHS:prepend := "${THISDIR}/config:"
RDEPENDS_${PN} = "bash" RDEPENDS:${PN} = "bash"
SRC_URI = " \ SRC_URI = " \
file://imu-setup.service \ file://imu-setup.service \
@ -14,9 +14,9 @@ SRC_URI = " \
file://imu-lsm6ds3.conf \ file://imu-lsm6ds3.conf \
" "
FILES_${PN} = "${systemd_unitdir}/system ${bindir} /etc" FILES:${PN} = "${systemd_unitdir}/system ${bindir} /etc"
SYSTEMD_SERVICE_${PN} =" \ SYSTEMD_SERVICE:${PN} =" \
imu-setup.service \ imu-setup.service \
" "

View File

@ -15,10 +15,10 @@ S = "${WORKDIR}"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1" INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
SYSTEMD_SERVICE_${PN} = "mount-overlay.service" SYSTEMD_SERVICE:${PN} = "mount-overlay.service"
SYSTEMD_AUTO_ENABLE ?= "enable" SYSTEMD_AUTO_ENABLE ?= "enable"
FILES_${PN}_append = " \ FILES:${PN}:append = " \
/lib \ /lib \
/usr \ /usr \
" "

View File

@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177"
inherit autotools inherit autotools
SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https" SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master"
SRCREV = "bbe3801b990d281cf251cc6e6107256808ea6d19" SRCREV = "bbe3801b990d281cf251cc6e6107256808ea6d19"
PV = "3.8+git${SRCPV}" PV = "3.8+git${SRCPV}"
@ -15,6 +15,6 @@ S = "${WORKDIR}/git"
# Required to add the libary to the SDK. # Required to add the libary to the SDK.
# ${PN}-dev depends on ${PN} which is empty because # ${PN}-dev depends on ${PN} which is empty because
# only the static library is built # only the static library is built
ALLOW_EMPTY_${PN} = "1" ALLOW_EMPTY:${PN} = "1"
BBCLASSEXTEND = "native nativesdk" BBCLASSEXTEND = "native nativesdk"

View File

@ -1,5 +1,5 @@
DESCRIPTION = "Configuration utility for TI wireless drivers" DESCRIPTION = "Configuration utility for TI wireless drivers"
LICENSE = "GPLv2" LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://README;md5=df1ae7fbe1a166f497f944d67efbf088" LIC_FILES_CHKSUM = "file://README;md5=df1ae7fbe1a166f497f944d67efbf088"
# Based on TI meta-arago-extras # Based on TI meta-arago-extras
@ -10,7 +10,7 @@ PV = "R8.7+git${SRCPV}"
PR = "r1" PR = "r1"
SRCREV = "39542357111d1f24e866c2857d561a348c04cce4" SRCREV = "39542357111d1f24e866c2857d561a348c04cce4"
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git" SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git;branch=master"
DEPENDS = "libnl" DEPENDS = "libnl"
@ -21,7 +21,7 @@ EXTRA_OEMAKE = "CFLAGS+="${CFLAGS} -I${STAGING_INCDIR}/libnl3/ -DCONFIG_LIBNL32
CC="${CC}" \ CC="${CC}" \
NLVER=3" NLVER=3"
S = "${WORKDIR}/git/" S = "${WORKDIR}/git"
# Install calibrator # Install calibrator
do_install() { do_install() {

View File

@ -2,11 +2,11 @@ SUMMARY = "Battery Test tool"
DESCRIPTION = "Read battery state, remaining time and other informations from battery" DESCRIPTION = "Read battery state, remaining time and other informations from battery"
AUTHOR = "Ramon Mösching (ramon.moesching@netmodule.com)" AUTHOR = "Ramon Mösching (ramon.moesching@netmodule.com)"
SECTION = "core" SECTION = "core"
LICENSE = "GPLv2+" LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r0" PR = "r0"
RDEPENDS_${PN} = "python3-core python3-smbus" RDEPENDS:${PN} = "python3-core python3-smbus"
SRC_URI = "git://git.netmodule.intranet/nm-tools/smart-battery.git;protocol=ssh;user=gitea;branch=master " SRC_URI = "git://git.netmodule.intranet/nm-tools/smart-battery.git;protocol=ssh;user=gitea;branch=master "
@ -14,7 +14,7 @@ SRCREV ?= "7caae36f50ea23f69458fc50887c5ab59b4d48f3"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
FILES_${PN} = "${bindir}/* batterytest.py " FILES:${PN} = "${bindir}/* batterytest.py "
do_install () { do_install () {

View File

@ -1,6 +1,6 @@
SUMMARY = "NetModule shared library" SUMMARY = "NetModule shared library"
SECTION = "base" SECTION = "base"
LICENSE = "GPLv2+" LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1f002990697cc3f88357d1c0790d47b2" LIC_FILES_CHKSUM = "file://LICENSE;md5=1f002990697cc3f88357d1c0790d47b2"
SRC_URI = "git://gitlab.com/netmodule/tools/libnmapp.git;protocol=ssh;user=git;branch=develop" SRC_URI = "git://gitlab.com/netmodule/tools/libnmapp.git;protocol=ssh;user=git;branch=develop"
@ -10,18 +10,18 @@ PV = "0.0.1+git${SRCPV}"
LIB_SHORT_NAME = "nmapp" LIB_SHORT_NAME = "nmapp"
LIB_PKG_NAME = "libnmapp.a" LIB_PKG_NAME = "libnmapp.a"
DEPENDS_append = " libevent systemd" DEPENDS:append = " libevent systemd"
# Required to add the libary to the SDK. # Required to add the libary to the SDK.
# ${PN}-dev depends on ${PN} which is empty because # ${PN}-dev depends on ${PN} which is empty because
# only the static library is built # only the static library is built
ALLOW_EMPTY_${PN} = "1" ALLOW_EMPTY:${PN} = "1"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
B = "${S}/build" B = "${S}/build"
# build variables for the target (rest is default) # build variables for the target (rest is default)
EXTRA_OEMAKE_append = " 'BUILD_TARGET=target' 'BUILD_CONFIG=rls' 'USE_INITSYS_DUMMY=0' 'SYSROOT=${STAGING_DIR_TARGET}'" EXTRA_OEMAKE:append = " 'BUILD_TARGET=target' 'BUILD_CONFIG=rls' 'USE_INITSYS_DUMMY=0' 'SYSROOT=${STAGING_DIR_TARGET}'"
do_install() { do_install() {
install -d ${D}${libdir} install -d ${D}${libdir}

View File

@ -1,11 +1,11 @@
SUMMARY = "Adds a script and a systemd service to partition the drives of the system on the first boot." SUMMARY = "Adds a script and a systemd service to partition the drives of the system on the first boot."
DESCRIPTION = "Adds a script and a systemd service to partition the drives of the system on the first boot." DESCRIPTION = "Adds a script and a systemd service to partition the drives of the system on the first boot."
PR = "r1" PR = "r1"
LICENSE = "GPLv3+" LICENSE = "GPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c" LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
RDEPENDS_${PN} += "e2fsprogs-resize2fs \ RDEPENDS:${PN} += "e2fsprogs-resize2fs \
e2fsprogs-mke2fs \ e2fsprogs-mke2fs \
bash \ bash \
parted \ parted \
@ -23,6 +23,6 @@ do_install () {
install -m 755 nmhw-auto-part ${D}${bindir}/ install -m 755 nmhw-auto-part ${D}${bindir}/
} }
FILES_${PN} = " \ FILES:${PN} = " \
${bindir}/nmhw-auto-part \ ${bindir}/nmhw-auto-part \
" "

View File

@ -3,10 +3,10 @@ DESCRIPTION = "Generic NetModule update tool for firmware, bootloaders, etc"
AUTHOR = "Alexandre Bard" AUTHOR = "Alexandre Bard"
SECTION = "core" SECTION = "core"
LICENSE = "GPLv2+" LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
RDEPENDS_${PN} = " \ RDEPENDS:${PN} = " \
wget \ wget \
bash \ bash \
coreutils \ coreutils \
@ -14,13 +14,13 @@ RDEPENDS_${PN} = " \
" "
SRC_URI = " \ SRC_URI = " \
git://gitlab.com/netmodule/tools/nmhw-fwupdate.git;user=git;protocol=ssh; \ git://gitlab.com/netmodule/tools/nmhw-fwupdate.git;user=git;protocol=ssh;;branch=master \
" "
SRCREV ?= "68b84ce457e8cd4a59e2f366114edf0098acbe4d" SRCREV ?= "68b84ce457e8cd4a59e2f366114edf0098acbe4d"
S = "${WORKDIR}/git/src" S = "${WORKDIR}/git/src"
FILES_${PN} = " \ FILES:${PN} = " \
/lib \ /lib \
/usr \ /usr \
" "

View File

@ -1,6 +1,6 @@
SUMMARY = "NetModule system-state-framework manager" SUMMARY = "NetModule system-state-framework manager"
SECTION = "base" SECTION = "base"
LICENSE = "GPLv2+" LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6f1c528c9a0010ef398e26c661ff286e" LIC_FILES_CHKSUM = "file://LICENSE;md5=6f1c528c9a0010ef398e26c661ff286e"
SRC_URI = "git://gitlab.com/netmodule/tools/ssf-mgr.git;protocol=ssh;user=git;branch=develop" SRC_URI = "git://gitlab.com/netmodule/tools/ssf-mgr.git;protocol=ssh;user=git;branch=develop"
@ -9,24 +9,24 @@ SRCREV ?= "eead025f7135b28cb6e3e1e68bd636e93b74798b"
PV = "0.0.1+git${SRCPV}" PV = "0.0.1+git${SRCPV}"
DEPENDS_append = " libnmapp" DEPENDS:append = " libnmapp"
RDEPENDS_${PN} = " packagegroup-system-state-framework" RDEPENDS:${PN} = " packagegroup-system-state-framework"
inherit systemd inherit systemd
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
B = "${S}/build" B = "${S}/build"
SYSTEMD_SERVICE_${PN} = "ssf-mgr.service" SYSTEMD_SERVICE:${PN} = "ssf-mgr.service"
FILES_${PN} += " \ FILES:${PN} += " \
${bindir}/ssf-mgr \ ${bindir}/ssf-mgr \
${systemd_system_unitdir}/ssf-mgr.service \ ${systemd_system_unitdir}/ssf-mgr.service \
${sysconfdir}/ssf-mgr/ssf-mgr.conf \ ${sysconfdir}/ssf-mgr/ssf-mgr.conf \
" "
# build variables for the target (rest is default) # build variables for the target (rest is default)
EXTRA_OEMAKE_append = " 'BUILD_TARGET=target' 'BUILD_CONFIG=rls' 'SYSROOT=${STAGING_DIR_TARGET}'" EXTRA_OEMAKE:append = " 'BUILD_TARGET=target' 'BUILD_CONFIG=rls' 'SYSROOT=${STAGING_DIR_TARGET}'"
do_install() { do_install() {
install -d ${D}${bindir} install -d ${D}${bindir}

View File

@ -9,23 +9,23 @@ SRCREV ?= "dbdbc1e31816239586b4706d962a16feb77bd1cf"
PV = "0.0.1+git${SRCPV}" PV = "0.0.1+git${SRCPV}"
DEPENDS_append = " libnmapp" DEPENDS:append = " libnmapp"
inherit systemd inherit systemd
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
B = "${S}/build" B = "${S}/build"
SYSTEMD_SERVICE_${PN} = "sys-mon.service" SYSTEMD_SERVICE:${PN} = "sys-mon.service"
FILES_${PN} += " \ FILES:${PN} += " \
${bindir}/sys-mon \ ${bindir}/sys-mon \
${systemd_system_unitdir}/sys-mon.service \ ${systemd_system_unitdir}/sys-mon.service \
${sysconfdir}/sys-mon/sys-mon.conf \ ${sysconfdir}/sys-mon/sys-mon.conf \
" "
# build variables for the target (rest is default) # build variables for the target (rest is default)
EXTRA_OEMAKE_append = " 'BUILD_TARGET=target' 'BUILD_CONFIG=rls' 'SYSROOT=${STAGING_DIR_TARGET}'" EXTRA_OEMAKE:append = " 'BUILD_TARGET=target' 'BUILD_CONFIG=rls' 'SYSROOT=${STAGING_DIR_TARGET}'"
do_install() { do_install() {
install -d ${D}${bindir} install -d ${D}${bindir}

View File

@ -15,16 +15,16 @@ SRC_URI = " \
S = "${WORKDIR}" S = "${WORKDIR}"
RDEPENDS_${PN} = "socat um-service-cfg" RDEPENDS:${PN} = "socat um-service-cfg"
SYSTEMD_SERVICE_${PN} = " \ SYSTEMD_SERVICE:${PN} = " \
socket-uart.service \ socket-uart.service \
socket-kline.service \ socket-kline.service \
socket-lin.service \ socket-lin.service \
" "
FILES_${PN} = "${systemd_unitdir}/system ${bindir} " FILES:${PN} = "${systemd_unitdir}/system ${bindir} "
do_install() { do_install() {
install -d ${D}${systemd_unitdir}/system install -d ${D}${systemd_unitdir}/system

View File

@ -3,10 +3,10 @@
inherit systemd inherit systemd
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
FILESEXTRAPATHS_prepend := "${THISDIR}/config:" FILESEXTRAPATHS:prepend := "${THISDIR}/config:"
ALTERNATIVE_PRIORITY[netcat] = "100" ALTERNATIVE_PRIORITY[netcat] = "100"
RDEPENDS_${PN} = "netcat" RDEPENDS:${PN} = "netcat"
SRC_URI = " \ SRC_URI = " \
file://um-service-config.service \ file://um-service-config.service \
@ -18,9 +18,9 @@ SRC_URI = " \
file://ports-v2 \ file://ports-v2 \
" "
FILES_${PN} = "${systemd_unitdir}/system ${bindir} /etc/user-module" FILES:${PN} = "${systemd_unitdir}/system ${bindir} /etc/user-module"
SYSTEMD_SERVICE_${PN} =" \ SYSTEMD_SERVICE:${PN} =" \
um-service-config.service \ um-service-config.service \
um-rgpio-config.service \ um-rgpio-config.service \
user-module.target \ user-module.target \