From 970037e98be448f41829855a18933b3de2f7a497 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Sun, 13 Sep 2026 08:52:46 +1200 Subject: tbfr w/u i dont know whats even in this commit anymore but.. try add networking properly ig\? --- meta-yerba/conf/distro/yerba.conf | 2 +- .../openresolv/openresolv_3.17.4.bb | 38 ++++++++++++++++++++++ meta-yerba/recipes-core/images/yerba-image.bb | 12 +++++-- .../qemu/qemu-system-native_%.bbappend | 1 + .../linux-firmware/linux-firmware_%.bbappend | 1 + 5 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 meta-yerba/recipes-connectivity/openresolv/openresolv_3.17.4.bb create mode 100644 meta-yerba/recipes-devtools/qemu/qemu-system-native_%.bbappend create mode 100644 meta-yerba/recipes-kernel/linux-firmware/linux-firmware_%.bbappend (limited to 'meta-yerba') diff --git a/meta-yerba/conf/distro/yerba.conf b/meta-yerba/conf/distro/yerba.conf index 18d3a6e..6d2a421 100644 --- a/meta-yerba/conf/distro/yerba.conf +++ b/meta-yerba/conf/distro/yerba.conf @@ -5,7 +5,7 @@ MAINTAINER = "Arslaan Pathan " TCLIBC = "glibc" -IMAGE_INSTALL:append = " runit runit-config" +IMAGE_INSTALL:append = " runit runit-config kernel-modules" APPEND:append = " init=/sbin/runit-init" DISTRO_FEATURES = " pam" diff --git a/meta-yerba/recipes-connectivity/openresolv/openresolv_3.17.4.bb b/meta-yerba/recipes-connectivity/openresolv/openresolv_3.17.4.bb new file mode 100644 index 0000000..a62c033 --- /dev/null +++ b/meta-yerba/recipes-connectivity/openresolv/openresolv_3.17.4.bb @@ -0,0 +1,38 @@ +SUMMARY = "openresolv is a resolvconf implementation which manages /etc/resolv.conf." +DESCRIPTION = "openresolv is a resolvconf implementation which manages /etc/resolv.conf." +HOMEPAGE = "https://github.com/NetworkConfiguration/openresolv" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM="file://LICENSE;md5=b612f9979838f6126283eec15dfadb86" + +SRC_URI="git://github.com/NetworkConfiguration/openresolv;protocol=https;branch=master" +SRCREV="6489889ce5631364ad2f17d391e1a3ad969619f2" +S = "${WORKDIR}/git" + +PROVIDES += "virtual/base-utils" + +inherit autotools + +EXTRA_OECONF="--sysconfdir=${sysconfdir} --localstatedir=${localstatedir}" + +do_configure() { + ./configure \ + --prefix=${prefix} \ + --sysconfdir=${sysconfdir} \ + --localstatedir=${localstatedir} \ + --mandir=${mandir} +} + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + +FILES:${PN} = " \ + ${bindir}/* \ + ${sbindir}/* \ + ${sysconfdir}/* \ + ${libexecdir}/* \ +" diff --git a/meta-yerba/recipes-core/images/yerba-image.bb b/meta-yerba/recipes-core/images/yerba-image.bb index 437803c..5073b22 100644 --- a/meta-yerba/recipes-core/images/yerba-image.bb +++ b/meta-yerba/recipes-core/images/yerba-image.bb @@ -12,14 +12,12 @@ IMAGE_INSTALL = "\ runit \ runit-serialgetty \ runit-tty0-getty \ - runit-dhcpcd \ runit-config \ util-linux-agetty \ bash \ zsh \ vim \ nano \ - dhcpcd \ curl \ wget \ file \ @@ -30,4 +28,14 @@ IMAGE_INSTALL = "\ iputils \ procps \ ncurses-terminfo-base \ + kmod \ + usbutils \ + pciutils \ + rfkill \ + iw \ + ethtool \ + wireless-regdb \ + linux-firmware \ + iwd \ + openresolv \ " diff --git a/meta-yerba/recipes-devtools/qemu/qemu-system-native_%.bbappend b/meta-yerba/recipes-devtools/qemu/qemu-system-native_%.bbappend new file mode 100644 index 0000000..f6f3a1f --- /dev/null +++ b/meta-yerba/recipes-devtools/qemu/qemu-system-native_%.bbappend @@ -0,0 +1 @@ +PACKAGECONFIG:append = " libusb" diff --git a/meta-yerba/recipes-kernel/linux-firmware/linux-firmware_%.bbappend b/meta-yerba/recipes-kernel/linux-firmware/linux-firmware_%.bbappend new file mode 100644 index 0000000..20fc9e8 --- /dev/null +++ b/meta-yerba/recipes-kernel/linux-firmware/linux-firmware_%.bbappend @@ -0,0 +1 @@ +RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGES', '${PN}', '', ' '.join(p for p in d.getVar('PACKAGES').split() if p.startswith('${PN}-')), d)}" -- cgit v1.2.3