Skip to content

Instantly share code, notes, and snippets.

@jordemort
Created April 13, 2021 18:08
Show Gist options
  • Save jordemort/e2b39cb3952fe4969c224e9b0b98b995 to your computer and use it in GitHub Desktop.
Save jordemort/e2b39cb3952fe4969c224e9b0b98b995 to your computer and use it in GitHub Desktop.
diff --git a/layers/meta-bantha/recipes-bantha/images/bantha-image.bb b/layers/meta-bantha/recipes-bantha/images/bantha-image.bb
index d43edda..e5e9229 100644
--- a/layers/meta-bantha/recipes-bantha/images/bantha-image.bb
+++ b/layers/meta-bantha/recipes-bantha/images/bantha-image.bb
@@ -5,7 +5,7 @@ LICENSE = "MIT"
inherit core-image
inherit ostree_readonly_sysroot
-IMAGE_FSTYPES = "ostree.tar"
+IMAGE_FSTYPES = "ostree.tar.xz"
IMAGE_INSTALL += "packagegroup-bantha-image"
IMAGE_LINGUAS = "en-us"
diff --git a/layers/meta-bantha/recipes-bantha/ostree-kernel-initramfs/ostree-kernel-initramfs.bb b/layers/meta-bantha/recipes-bantha/ostree-kernel-initramfs/ostree-kernel-initramfs.bb
index a7047d6..0903d5a 100644
--- a/layers/meta-bantha/recipes-bantha/ostree-kernel-initramfs/ostree-kernel-initramfs.bb
+++ b/layers/meta-bantha/recipes-bantha/ostree-kernel-initramfs/ostree-kernel-initramfs.bb
@@ -14,7 +14,7 @@ inherit module-base linux-kernel-base kernel-artifact-names
PACKAGES = "ostree-kernel ostree-initramfs ostree-devicetrees"
DEPENDS += "virtual/kernel"
-PV = "${KERNEL_VERSION}"
+PV = "0.2"
ALLOW_EMPTY_ostree-initramfs = "1"
ALLOW_EMPTY_ostree-devicetrees = "1"
diff --git a/layers/meta-bantha/recipes-kernel/kernel-module-rtl8822cs-wifi/kernel-module-rtl8822cs-wifi_git.bb b/layers/meta-bantha/recipes-kernel/kernel-module-rtl8822cs-wifi/kernel-module-rtl8822cs-wifi_git.bb
index 32dfa1f..cc8e457 100644
--- a/layers/meta-bantha/recipes-kernel/kernel-module-rtl8822cs-wifi/kernel-module-rtl8822cs-wifi_git.bb
+++ b/layers/meta-bantha/recipes-kernel/kernel-module-rtl8822cs-wifi/kernel-module-rtl8822cs-wifi_git.bb
@@ -2,8 +2,6 @@ SUMMARY = "Driver for RTL8822CS wifi"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-inherit module
-
SRC_URI = "\
git://git@github.com/hello-seam/rtl8822cs-wifi.git;protocol=ssh;branch=main \
file://gpl-2.0.txt \
@@ -12,8 +10,11 @@ SRCREV = "9718bf6b84fb929e7abdc33fcc05d983e5f21ad1"
PV = "5.9.0.8-37203.20200904-COEX20200103-1717"
S = "${WORKDIR}/git"
+DEPENDS += " virtual/kernel bc-native"
+
+inherit module-base
-DEPENDS += " bc-native"
+#MODULE_NAME = "88x2cs"
do_configure() {
true
@@ -38,6 +39,8 @@ do_compile() {
strip
}
+FILES_${PN} = "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/88x2cs.ko"
+
do_install() {
install -d 755 ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/
install -p -m 644 88x2cs.ko ${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment