Skip to content

Commit

Permalink
create standalone distro, fork from poky
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidma authored and julianschuler committed Dec 22, 2024
1 parent cf41311 commit 89d3d95
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
1 change: 0 additions & 1 deletion kas/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ target: nao-image
local_conf_header:
meta-nao: |
CONF_VERSION = "2"
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES += "allow-empty-password"
CLANGSDK = "1"
Expand Down
2 changes: 1 addition & 1 deletion meta-hulks/conf/distro/HULKs-OS.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require conf/distro/nao-core-minimal.conf

SUMMARY = "HULKs flavoured Poky"
SUMMARY = "HULKs flavoured Nao"

DISTRO = "HULKs-OS"
DISTRO_NAME = "HULKs-OS"
Expand Down
30 changes: 16 additions & 14 deletions meta/conf/distro/nao-core-minimal.conf
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
require conf/distro/poky.conf

SUMMARY = "A small image just capable of allowing a device to boot."

DISTRO = "nao-core-minimal"
DISTRO_NAME = "nao-core-minimal"
DISTRO_VERSION = "2.0"
SDK_NAME = "${DISTRO}-${SDKMACHINE}"
DISTRO_VERSION = "3.0"
TARGET_VENDOR = "-aldebaran"
IMAGE_NAME = "${IMAGE_BASENAME}-${DISTRO}-${DISTRO_VERSION}${IMAGE_VERSION_SUFFIX}"
IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${DISTRO}-${DISTRO_VERSION}"
SDK_NAME = "${DISTRO}-${SDKMACHINE}"
SDK_VENDOR = "-naosdk"
SDK_ARCHIVE_TYPE = "tar.zst"
MAINTAINER = "Team HULKs <[email protected]>"

hostname:pn-base-files = "nao"
# TODO: maybe: ipv6
DISTRO_FEATURES ?= "alsa ext2 ipv4 usbgadget usbhost wifi xattr pci vfat pam polkit pulseaudio ldconfig"

DISTRO_EXTRA_RDEPENDS += "packagegroup-core-boot"

PREFERRED_PROVIDER_virtual/kernel = "linux-intel-rt"

PREFERRED_PROVIDER_cgos-mod = "linux-intel-rt"
KERNEL_MODULE_AUTOLOAD:append = " cgosdrv"

IMAGE_NAME = "${IMAGE_BASENAME}-${DISTRO}-${DISTRO_VERSION}${IMAGE_VERSION_SUFFIX}"
IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${DISTRO}-${DISTRO_VERSION}"
PACKAGE_CLASSES ?= "package_ipk"

DISTRO_FEATURES:remove = "x11 wayland 3g nfs nfc opengl vulkan bluetooth pcmcia"
require conf/distro/include/no-static-libs.inc

DISTRO_FEATURES:append = " pam polkit"
BB_SIGNATURE_HANDLER ?= "OEEquivHash"
BB_HASHSERVE ??= "auto"

KERNEL_MODULE_AUTOLOAD:append = " cgosdrv"
INIT_MANAGER = "systemd"

DISTRO_FEATURES:append = " systemd usrmerge"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
hostname:pn-base-files = "nao"

0 comments on commit 89d3d95

Please sign in to comment.