aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-09-13 08:52:46 +1200
committerArslaan Pathan <[email protected]>2026-09-13 08:52:46 +1200
commit970037e98be448f41829855a18933b3de2f7a497 (patch)
tree1276815778aab03fc621216cc81bb23a1235b910 /meta-yerba
parent867d71725a5ef131059ed2d31320630fea8c1e47 (diff)
downloadyerbalinux-970037e98be448f41829855a18933b3de2f7a497.tar.xz
yerbalinux-970037e98be448f41829855a18933b3de2f7a497.zip
tbfr w/u i dont know whats even in this commit anymore but.. try add networking properly ig\?
Diffstat (limited to 'meta-yerba')
-rw-r--r--meta-yerba/conf/distro/yerba.conf2
-rw-r--r--meta-yerba/recipes-connectivity/openresolv/openresolv_3.17.4.bb38
-rw-r--r--meta-yerba/recipes-core/images/yerba-image.bb12
-rw-r--r--meta-yerba/recipes-devtools/qemu/qemu-system-native_%.bbappend1
-rw-r--r--meta-yerba/recipes-kernel/linux-firmware/linux-firmware_%.bbappend1
5 files changed, 51 insertions, 3 deletions
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 <[email protected]>"
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)}"