Skip to content
Snippets Groups Projects
Commit 5fb93357 authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

allscenarios-linux-blueprint-gateway.conf: Initial distro and image


Basic distribution for the Gateway Blueprint as well as a gateway  image
that pulls in all networking packages we are using for this first
iteration.

Two blueprint specific overrides are added as well. We make sure hostapd
service gets started by default for a good ootb experience. Secondly we
enable the iptables package config flag for systemd-netword to have the
basic NAT functionality enabled.

Signed-off-by: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent 884d0630
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
# Distro configuration for the dashboard blueprint
require conf/distro/allscenarios-linux.conf
DISTRO = "allscenarios-linux-blueprint-gateway"
DISTRO_NAME = "All Scenarios OS Gateway Blueprint Linux Distro"
# Custom hostnames for easy DNS resolution for this blueprint.
hostname_base-files = "blueprint-gateway"
# Avoid build warning(s) for ununsed extra partitions.
ST_VENDORFS = "0"
ST_USERFS = "0"
# With our layer setup we would add any bbappend found from our
# layers.conf. This means blueprint-specific appends would leak
# into the package in our main distribution. To avoid this we
# mask out the blueprint layers in the main distro and unmask
# them only the blueprint distributions.
BBMASK = ""
# We want hostapd service to start by default for this blueprint
SYSTEMD_AUTO_ENABLE_pn-hostapd = "enable"
# Enable iptbakes support in systemd-networkd for NAT
PACKAGECONFIG_append_pn-systemd = " iptc"
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
require recipes-core/images/allscenarios-image-base.bb
SUMMARY = "Gateway blueprint image"
DESCRIPTION = "Smart home gateway device"
LICENSE = "Apache-2.0"
IMAGE_INSTALL_append = "\
ot-br-posix \
wpantund \
hostapd \
iptables \
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment