Skip to content

Instantly share code, notes, and snippets.

@bluecmd
Created October 25, 2018 14:53
Show Gist options
  • Select an option

  • Save bluecmd/ac999662a65f39e92bdb3798c91e1934 to your computer and use it in GitHub Desktop.

Select an option

Save bluecmd/ac999662a65f39e92bdb3798c91e1934 to your computer and use it in GitHub Desktop.
OE Core test
[bluecmd]$ git diff --cached [oe-core] [07:53:16]
diff --git a/meta/conf/machine/ast2400.conf b/meta/conf/machine/ast2400.conf
new file mode 100644
index 0000000000..4bde2b1ce5
--- /dev/null
+++ b/meta/conf/machine/ast2400.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: arm_versatile_926ejs
+#@DESCRIPTION: arm_versatile_926ejs
+
+require conf/machine/include/tune-arm926ejs.inc
+#require conf/machine/include/tune-arm1136jf-s.inc
+
+MACHINE_FEATURES = ""
+IMAGE_FSTYPES += "tar.bz2"
+RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
+
+KERNEL_IMAGETYPE = "zImage"
+
+SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;ttyAMA1"
+
+PREFERRED_VERSION_linux-yocto ??= "4.15%"
diff --git a/meta/recipes-core/images/u-bmc.bb b/meta/recipes-core/images/u-bmc.bb
new file mode 100644
index 0000000000..36dd986183
--- /dev/null
+++ b/meta/recipes-core/images/u-bmc.bb
@@ -0,0 +1,7 @@
+SUMMARY = "A small image just capable of allowing a device to boot."
+
+IMAGE_INSTALL = "packagegroup-u-bmc"
+
+IMAGE_LINGUAS = " "
+
+LICENSE = "MIT"
diff --git a/meta/recipes-devtools/rpm/rpm_4.14.1.bb b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
index 1a03a0fce0..48b7e7e55e 100644
--- a/meta/recipes-devtools/rpm/rpm_4.14.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
@@ -50,16 +50,16 @@ SRCREV = "bfee1410af51c1cc9724791fb8d985260a62102b"
S = "${WORKDIR}/git"
-DEPENDS = "nss libarchive db file popt xz bzip2 dbus elfutils python3"
+DEPENDS = "nss libarchive db file popt xz bzip2 elfutils"
DEPENDS_append_class-native = " file-replacement-native bzip2-replacement-native"
-inherit autotools gettext pkgconfig python3native
+inherit autotools gettext pkgconfig
export PYTHON_ABI
# OE-core patches autoreconf to additionally run gnu-configize, which fails with this recipe
EXTRA_AUTORECONF_append = " --exclude=gnu-configize"
-EXTRA_OECONF_append = " --without-lua --enable-python"
+EXTRA_OECONF_append = " --without-lua --disable-python"
EXTRA_OECONF_append_libc-musl = " --disable-nls"
# --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc; we need to have it in rootfs
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.15.bb b/meta/recipes-kernel/linux/linux-yocto_4.15.bb
index 693670c613..6a610a29de 100644
--- a/meta/recipes-kernel/linux/linux-yocto_4.15.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_4.15.bb
@@ -36,7 +36,7 @@ KCONF_BSP_AUDIT_LEVEL = "2"
KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"
-COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
+COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|ast2400"
# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment