meta-digi-dey: Add dey-image-tiny, a busybox only image.
This can be used as a template for size optimized images. It constraints the use of X11 related packages and the image types used. To build, add the following to your conf/local.conf: DISTRO_FEATURES_remove = "x11" Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
19716dcde7
commit
d3d1b88cd5
|
|
@ -0,0 +1,34 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2014 Digi International.
|
||||||
|
#
|
||||||
|
DESCRIPTION = "DEY busybox only based image."
|
||||||
|
|
||||||
|
IMAGE_INSTALL= "\
|
||||||
|
base-files \
|
||||||
|
base-passwd \
|
||||||
|
busybox \
|
||||||
|
busybox-static-nodes \
|
||||||
|
sysvinit \
|
||||||
|
initscripts \
|
||||||
|
${ROOTFS_PKGMANAGE_BOOTSTRAP} \
|
||||||
|
${CORE_IMAGE_EXTRA_INSTALL} \
|
||||||
|
"
|
||||||
|
|
||||||
|
IMAGE_LINGUAS = " "
|
||||||
|
|
||||||
|
LICENSE = "MIT"
|
||||||
|
|
||||||
|
inherit core-image
|
||||||
|
inherit dey-image
|
||||||
|
inherit distro_features_check
|
||||||
|
|
||||||
|
# Add 'x11' to CONFLICT_DISTRO_FEATURES for 'dey-image-tiny' family of recipes
|
||||||
|
CONFLICT_DISTRO_FEATURES += "x11"
|
||||||
|
|
||||||
|
IMAGE_ROOTFS_SIZE ?= "8192"
|
||||||
|
|
||||||
|
IMAGE_FSTYPES_remove = "ext4"
|
||||||
|
IMAGE_FSTYPES_append = " ext2"
|
||||||
|
|
||||||
|
BAD_RECOMMENDATIONS += "busybox-syslog"
|
||||||
|
ROOTFS_POSTPROCESS_COMMAND += "dey_rootfs_tuning;"
|
||||||
Loading…
Reference in New Issue