From 7889762148bb9b4af3ad1c8cacc89064f35e787b Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Thu, 5 Mar 2009 11:07:47 +0100 Subject: minimal.conf: ship task-cli-debug, if we're building a debug distro --- conf/distro/minimal.conf | 52 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 42 insertions(+), 10 deletions(-) (limited to 'conf/distro') diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf index 47da6e6ad7..b5f7ddc1e4 100644 --- a/conf/distro/minimal.conf +++ b/conf/distro/minimal.conf @@ -1,9 +1,9 @@ ############################################################################# #@TYPE: Distribution #@NAME: Minimal -#@DESCRIPTION: Embedded Linux Distribution Configuration (minimal) +#@DESCRIPTION: Embedded Linux Distribution Configuration # -#@COMMENT: This distribution configuration serves as a starting point for +#@COMMENT: This distribution configuration can serve as a starting point for #@COMMENT: the integration of new target platforms, machines, or distributions. ############################################################################# @@ -29,19 +29,29 @@ DISTRO_FEATURES = "nfs smbfs wifi ppp alsa bluetooth ext2 vfat pcmcia usbgadget ############################################################################# # LIBRARY NAMES ############################################################################# +# libfoo -> libfoo0-2 (etc) INHERIT += "debian" ############################################################################# # STAGING AREA ############################################################################# +# Controlled by packaging system INHERIT += "packaged-staging" ############################################################################# -# PACKAGING +# PACKAGING & FEEDS ############################################################################# +# Chose the packaging system INHERIT += "package_ipk" IMAGE_FSTYPES = "tar.gz jffs2" +require conf/distro/include/sane-feed.inc +PREFERRED_PKG_FORMAT ?= "ipk" +require conf/distro/include/sane-feed-${PREFERRED_PKG_FORMAT}.inc + +# If we're using an .ipk based rootfs, we want to have opkg-nogpg installed so postinst script can run +IPKG_VARIANT = "opkg-nogpg" + ############################################################################# # IMAGES ############################################################################# @@ -49,13 +59,6 @@ IMAGE_FSTYPES = "tar.gz jffs2" IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${PREFERRED_LIBC}-${PREFERRED_PKG_FORMAT}-${DISTRO_VERSION}-${MACHINE}" DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images/${MACHINE}" -############################################################################# -# FEEDS -############################################################################# -require conf/distro/include/sane-feed.inc -PREFERRED_PKG_FORMAT ?= "ipk" -require conf/distro/include/sane-feed-${PREFERRED_PKG_FORMAT}.inc - ############################################################################# # KERNEL ############################################################################# @@ -90,3 +93,32 @@ require conf/distro/include/preferred-e-versions.inc require conf/distro/include/preferred-xorg-versions-X11R7.4-updates.inc require conf/distro/include/preferred-xorg-versions-X11R7.4.inc + +############################################################################# +# CONTENTS +############################################################################# + +# Ship extra debug utils in the rootfs when doing a debug build +DEBUG_APPS ?= "" +DEBUG_APPS += '${@base_conditional("DISTRO_TYPE", "release", "", "task-cli-tools-debug",d)}' + +# Additional content I (only valid if you include task-base) +# distro-feed-configs: configuration files for the online feeds +# util-linux-ng-mount util-linux-ng-umount: busybox mount is broken +# angstrom-libc-fixup-hack: fixes an obscure bug with libc.so symlink +DISTRO_EXTRA_RDEPENDS += "\ + distro-feed-configs \ + util-linux-ng-mount util-linux-ng-umount \ + angstrom-libc-fixup-hack \ +" + +# Additional content II (can be masked with BAD_RECOMMENDS) +DISTRO_EXTRA_RRECOMMENDS += " \ + kernel-module-vfat \ + kernel-module-ext2 \ + kernel-module-ext3 \ + kernel-module-af-packet \ + avahi-daemon \ + avahi-autoipd \ + openssh-sftp-server \ +" -- cgit 1.2.3-korg