nmrouter-image: add a dev image

Add a dev image and remove unwanted stuff from the normal image
This commit is contained in:
Stefan Eichenberger 2016-08-11 18:17:21 +02:00
parent a3278fe541
commit 9ca63fd8eb
3 changed files with 61 additions and 45 deletions

View File

@ -0,0 +1,35 @@
require nmrouter-image.bb
SUMMARY = "nmrouter image for developement only"
IMAGE_FEATURES_append = " \
tools-debug \
"
BENCH_TOOLS = " \
tcpdump \
lrzsz \
lmbench \
dbench \
memtester \
nbench-byte \
tiobench \
iozone3 \
iperf \
strongswan \
"
EASY_EDITOR = " \
nano \
"
BENCH_TOOLS_cortexa9hf-neon_append = " cpuburn-neon "
BENCH_TOOLS_cortexa8hf-neon_append = " cpuburn-neon "
IMAGE_INSTALL_append = " \
lrzsz \
${BENCH_TOOLS} \
${EASY_EDITOR} \
"

View File

@ -1,45 +1,27 @@
inherit core-image inherit core-image
SUMMARY = "Test image" SUMMARY = "nmrouter image"
KERNEL_IMAGETYPE = "uImage" KERNEL_IMAGETYPE = "uImage"
IMAGE_FSTYPES_append = " tar.gz " IMAGE_FSTYPES_append = " tar.gz "
IMAGE_FEATURES_append = " \
tools-debug \
"
IMAGE_FEATURES_append = " \ IMAGE_FEATURES_append = " \
package-management \ package-management \
ssh-server-openssh \ ssh-server-openssh \
" "
BENCH_TOOLS = " \
tcpdump \
lrzsz \
lmbench \
dbench \
memtester \
nbench-byte \
tiobench \
iozone3 \
iperf \
strongswan \
"
EASY_EDITOR = " \
nano \
"
BENCH_TOOLS_cortexa9hf-neon_append = " cpuburn-neon "
BENCH_TOOLS_cortexa8hf-neon_append = " cpuburn-neon "
PREFERED_VERSION-pn_nodejs = "4.4.5" PREFERED_VERSION-pn_nodejs = "4.4.5"
IMAGE_INSTALL_append = " \ FIRMWARE ?= "linux-firmware"
linux-firmware \ FIRMWARE_am335x-nbhw16 = " \
linux-firmware-ath6k \
linux-firmware-ath9k \ linux-firmware-ath9k \
linux-firmware-wl12xx\
linux-firmware-wl18xx\
"
IMAGE_INSTALL_append = " \
hostapd \ hostapd \
iw \ iw \
crda \ crda \
@ -48,22 +30,18 @@ IMAGE_INSTALL_append = " \
bash \ bash \
iproute2 \ iproute2 \
ethtool \ ethtool \
i2c-tools \
lrzsz \
devmem2 \ devmem2 \
openvpn \ openvpn \
iptables \ iptables \
pciutils \ pciutils \
kernel-modules \ kernel-modules \
kernel-devicetree \ kernel-devicetree \
node \
python-subprocess \ python-subprocess \
networkmanager \ networkmanager \
cockpit \ cockpit \
board-descriptor \ board-descriptor \
sw-update \ sw-update \
${BENCH_TOOLS} \ ${FIRMWARE} \
${EASY_EDITOR} \
" "
IMAGE_INSTALL_cortex9hf-neon_append = " kernel-devicetree " IMAGE_INSTALL_cortex9hf-neon_append = " kernel-devicetree "

View File

@ -1,20 +1,23 @@
inherit core-image DISTRO_FEATURES_BACKFILL_CONSIDERED = " wifi bluetooth"
inherit image
SUMMARY = "Minimal image for bringup" SUMMARY = "Minimal image for bringup"
IMAGE_FEATURES += " \ #IMAGE_FEATURES += " \
package-management \ # "
ssh-server-openssh \
"
IMAGE_INSTALL += " \ #IMAGE_INSTALL += " \
openssh-sftp-server \ # lrzsz \
bash \ # devmem2 \
ethtool \ # "
i2c-tools \
lrzsz \
devmem2 \
"
IMAGE_INSTALL = " \
packagegroup-core-boot \
e2fsprogs \
lrzsz \
devmem2 \
"
LICENSE = "BSD" LICENSE = "BSD"