<commit_before># (C) Copyright 2013,
#  National Instruments Corporation.
#  All rights reserved.

SUMMARY = "Base set of packages for NI Linux Realtime distribution"
LICENSE = "MIT"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit packagegroup

#
# Set by the machine configuration with packages essential for device bootup
#
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""

ALL_DISTRO_ARM_PACKAGES = "\
	mtd-utils \
"

ALL_DISTRO_x64_PACKAGES = "\
	linux-firmware-i915 \
	dmidecode \
"

NILRT_NXG_ARM_PACKAGES = "\
	u-boot-fw-utils \
	kernel-devicetree \
"

NILRT_NXG_x64_PACKAGES = "\
	efivar \
	grub-efi-nilrt \
"

NILRT_ARM_PACKAGES = "\
	mtd-utils-ubifs \
"

NILRT_x64_PACKAGES = "\
	e2fsprogs \
	e2fsprogs-mke2fs \
	phc2sys \
"

NILRT_NXG_PACKAGES = "\
	distro-feed-configs \
	lsb \
	modutils-initscripts \
	ni-utils \
	python-futures \
	rtctl \
	salt-minion \
	connman \
	${@base_contains('TARGET_ARCH', 'arm', \
		'${NILRT_NXG_ARM_PACKAGES}', \
		'${NILRT_NXG_x64_PACKAGES}', d)} \
"

NILRT_PACKAGES = "\
	busybox-ifplugd \
	cronie \
	glibc-gconv-utf-16 \
	gptfdisk-sgdisk \
	init-ifupdown \
	libstdc++ \
	logrotate \
	niwatchdogpet \
	openvpn \
	pigz \
	usbutils \
	${@base_contains('COMBINED_FEATURES', 'pci', 'pciutils-ids', '',d)} \
	${@base_contains('TARGET_ARCH', 'arm', \
		'${NILRT_ARM_PACKAGES}', \
		'${NILRT_x64_PACKAGES}', d)} \
"

RDEPENDS_${PN} = "\
	avahi-daemon \
	base-files \
	base-files-nilrt \
	base-passwd \
	${@base_contains('MACHINE_FEATURES', 'keyboard', 'keymaps', '', d)} \
	busybox \
	${@base_contains('MACHINE_FEATURES', 'acpi', 'busybox-acpid', '', d)} \
	coreutils-hostname \
	dhcp-client \
	ethtool \
	fuse-exfat \
	initscripts \
	initscripts-nilrt \
	iproute2 \
	iptables \
	kmod \
	libavahi-client \
	libavahi-common \
	libavahi-core \
	libcap-bin\
	libnss-mdns \
	libpam \
	lsbinitscripts \
	netbase \
	niacctbase \
	openssh-sshd \
	openssh-scp \
	openssh-sftp-server \
	openssh-ssh \
	opkg \
	start-stop-daemon \
	syslog-ng \
	sysvinit \
	tar \
	udev-extraconf \
	util-linux-agetty \
	util-linux-hwclock \
	util-linux-mount \
	util-linux-umount \
	util-linux-runuser \
	${VIRTUAL-RUNTIME_mountpoint} \
	${VIRTUAL-RUNTIME_dev_manager} \
	${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
	${@base_contains('TARGET_ARCH', 'arm', \
		'${ALL_DISTRO_ARM_PACKAGES}', \
		'${ALL_DISTRO_x64_PACKAGES}', d)} \
	${@base_conditional('DISTRO', 'nilrt-nxg', \
		'${NILRT_NXG_PACKAGES}', \
		'${NILRT_PACKAGES}', d)} \
"

# for older NILRT these will automatically be removed because of the
# PACKAGE_REMOVE = kernel-* rule in niconsole-image.inc
# TODO: We need to clean up this list and remove non-essentials, move
# them to individual recipes or to linux-nilrt as runtime dependencies
RRECOMMENDS_${PN}_x64 += "\
	kernel-module-atkbd \
	kernel-module-coretemp \
	kernel-module-e100 \
	kernel-module-e1000 \
	kernel-module-e1000e \
	kernel-module-hid-microsoft \
	kernel-module-i915 \
	kernel-module-igb \
	kernel-module-intel_agp \
	kernel-module-ipv6 \
	kernel-module-nic7018-wdt \
	kernel-module-psmouse \
	kernel-module-squashfs \
	kernel-module-tg3 \
	kernel-module-tulip \
	kernel-module-usbtouchscreen \
	kernel-module-wacom \
	kernel-module-virtio-balloon \<commit_msg>x64.conf: Add leds-nic78bx User LEDs driver<commit_after># (C) Copyright 2013,
#  National Instruments Corporation.
#  All rights reserved.

SUMMARY = "Base set of packages for NI Linux Realtime distribution"
LICENSE = "MIT"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit packagegroup

#
# Set by the machine configuration with packages essential for device bootup
#
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""

ALL_DISTRO_ARM_PACKAGES = "\
	mtd-utils \
"

ALL_DISTRO_x64_PACKAGES = "\
	linux-firmware-i915 \
	dmidecode \
"

NILRT_NXG_ARM_PACKAGES = "\
	u-boot-fw-utils \
	kernel-devicetree \
"

NILRT_NXG_x64_PACKAGES = "\
	efivar \
	grub-efi-nilrt \
"

NILRT_ARM_PACKAGES = "\
	mtd-utils-ubifs \
"

NILRT_x64_PACKAGES = "\
	e2fsprogs \
	e2fsprogs-mke2fs \
	phc2sys \
"

NILRT_NXG_PACKAGES = "\
	distro-feed-configs \
	lsb \
	modutils-initscripts \
	ni-utils \
	python-futures \
	rtctl \
	salt-minion \
	connman \
	${@base_contains('TARGET_ARCH', 'arm', \
		'${NILRT_NXG_ARM_PACKAGES}', \
		'${NILRT_NXG_x64_PACKAGES}', d)} \
"

NILRT_PACKAGES = "\
	busybox-ifplugd \
	cronie \
	glibc-gconv-utf-16 \
	gptfdisk-sgdisk \
	init-ifupdown \
	libstdc++ \
	logrotate \
	niwatchdogpet \
	openvpn \
	pigz \
	usbutils \
	${@base_contains('COMBINED_FEATURES', 'pci', 'pciutils-ids', '',d)} \
	${@base_contains('TARGET_ARCH', 'arm', \
		'${NILRT_ARM_PACKAGES}', \
		'${NILRT_x64_PACKAGES}', d)} \
"

RDEPENDS_${PN} = "\
	avahi-daemon \
	base-files \
	base-files-nilrt \
	base-passwd \
	${@base_contains('MACHINE_FEATURES', 'keyboard', 'keymaps', '', d)} \
	busybox \
	${@base_contains('MACHINE_FEATURES', 'acpi', 'busybox-acpid', '', d)} \
	coreutils-hostname \
	dhcp-client \
	ethtool \
	fuse-exfat \
	initscripts \
	initscripts-nilrt \
	iproute2 \
	iptables \
	kmod \
	libavahi-client \
	libavahi-common \
	libavahi-core \
	libcap-bin\
	libnss-mdns \
	libpam \
	lsbinitscripts \
	netbase \
	niacctbase \
	openssh-sshd \
	openssh-scp \
	openssh-sftp-server \
	openssh-ssh \
	opkg \
	start-stop-daemon \
	syslog-ng \
	sysvinit \
	tar \
	udev-extraconf \
	util-linux-agetty \
	util-linux-hwclock \
	util-linux-mount \
	util-linux-umount \
	util-linux-runuser \
	${VIRTUAL-RUNTIME_mountpoint} \
	${VIRTUAL-RUNTIME_dev_manager} \
	${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \
	${@base_contains('TARGET_ARCH', 'arm', \
		'${ALL_DISTRO_ARM_PACKAGES}', \
		'${ALL_DISTRO_x64_PACKAGES}', d)} \
	${@base_conditional('DISTRO', 'nilrt-nxg', \
		'${NILRT_NXG_PACKAGES}', \
		'${NILRT_PACKAGES}', d)} \
"

# for older NILRT these will automatically be removed because of the
# PACKAGE_REMOVE = kernel-* rule in niconsole-image.inc
# TODO: We need to clean up this list and remove non-essentials, move
# them to individual recipes or to linux-nilrt as runtime dependencies
RRECOMMENDS_${PN}_x64 += "\
	kernel-module-atkbd \
	kernel-module-coretemp \
	kernel-module-e100 \
	kernel-module-e1000 \
	kernel-module-e1000e \
	kernel-module-hid-microsoft \
	kernel-module-i915 \
	kernel-module-igb \
	kernel-module-intel_agp \
	kernel-module-ipv6 \
	kernel-module-nic7018-wdt \
	kernel-module-leds-nic78bx \
	kernel-module-psmouse \
	kernel-module-squashfs \
	kernel-module-tg3 \
	kernel-module-tulip \
	kernel-module-usbtouchscreen \
	kernel-module-wacom \
	kernel-module-virtio-balloon \
{'fraction_non_alphanumeric': 0.14213275968039335, 'fraction_numerical': 0.01567301782421635, 'mean_word_length': 3.5485674353598884, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '129543', 'n_tokens_mistral': 2942, 'n_tokens_neox': 2820, 'n_words': 422}