diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2005-11-11 07:18:34 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-11-11 07:18:34 +0000 |
commit | dbd1a76089b2b95b9c57fff7dd7d22c67a93a4e3 (patch) | |
tree | 7234291c163f9422814908cff50e2f24f5c6f2ca /conf/distro | |
parent | 47bb3895991dd77781dee8274159b032ebbc6b31 (diff) |
openslug, ucslugc: convert to use slugos.conf
- All the openslug/ucslugc specific .bb files are converted in this
- change to use generic 'slugos' files with the required configuration
- in openslug.conf or ucslugc.conf. This unifies the image and package
- build stuff. Old targets should continue to work as the slugos
- .bb files PROVIDE the required targets.
Diffstat (limited to 'conf/distro')
-rw-r--r-- | conf/distro/openslug-packages.conf | 8 | ||||
-rw-r--r-- | conf/distro/openslug.conf | 5 | ||||
-rw-r--r-- | conf/distro/slugos.conf | 63 | ||||
-rw-r--r-- | conf/distro/ucslugc-packages.conf | 5 | ||||
-rw-r--r-- | conf/distro/ucslugc.conf | 1 |
5 files changed, 42 insertions, 40 deletions
diff --git a/conf/distro/openslug-packages.conf b/conf/distro/openslug-packages.conf index 67bfc2f16c..e5b82da7cc 100644 --- a/conf/distro/openslug-packages.conf +++ b/conf/distro/openslug-packages.conf @@ -33,7 +33,9 @@ ${PKGDIR}/packages/devio/*.bb \ ${PKGDIR}/packages/diffstat/*.bb \ ${PKGDIR}/packages/diffutils/*.bb \ ${PKGDIR}/packages/dnsmasq/*.bb \ +${PKGDIR}/packages/docbook-utils/*.bb \ ${PKGDIR}/packages/dropbear/*.bb \ +${PKGDIR}/packages/dsniff/*.bb \ ${PKGDIR}/packages/e2fsprogs/*.bb \ ${PKGDIR}/packages/expat/*.bb \ ${PKGDIR}/packages/fakeroot/*.bb \ @@ -84,6 +86,8 @@ ${PKGDIR}/packages/libid3tag/*.bb \ ${PKGDIR}/packages/liblockfile/*.bb \ ${PKGDIR}/packages/libmad/*.bb \ ${PKGDIR}/packages/libmikmod/*.bb \ +${PKGDIR}/packages/libnet/*.bb \ +${PKGDIR}/packages/libnids/*.bb \ ${PKGDIR}/packages/libogg/*.bb \ ${PKGDIR}/packages/libol/*.bb \ ${PKGDIR}/packages/libpcap/*.bb \ @@ -126,14 +130,17 @@ ${PKGDIR}/packages/netbase/*.bb \ ${PKGDIR}/packages/netpbm/*.bb \ ${PKGDIR}/packages/nfs-utils/*.bb \ ${PKGDIR}/packages/nis/*.bb \ +${PKGDIR}/packages/nmap/*.bb \ ${PKGDIR}/packages/nslu2-binary-only/*.bb \ ${PKGDIR}/packages/ntp/*.bb \ ${PKGDIR}/packages/obexftp/*.bb \ +${PKGDIR}/packages/openjade/*.bb \ ${PKGDIR}/packages/openldap/*.bb \ ${PKGDIR}/packages/openntpd/*.bb \ ${PKGDIR}/packages/openobex-apps/*.bb \ ${PKGDIR}/packages/openobex/*.bb \ ${PKGDIR}/packages/openslug-init/*.bb \ +${PKGDIR}/packages/opensp/*.bb \ ${PKGDIR}/packages/openssh/*.bb \ ${PKGDIR}/packages/openssl/*.bb \ ${PKGDIR}/packages/openvpn/*.bb \ @@ -167,6 +174,7 @@ ${PKGDIR}/packages/sane-backends/*.bb \ ${PKGDIR}/packages/screen/*.bb \ ${PKGDIR}/packages/sed/*.bb \ ${PKGDIR}/packages/setpwc/*.bb \ +${PKGDIR}/packages/sgml-common/*.bb \ ${PKGDIR}/packages/slugimage/*.bb \ ${PKGDIR}/packages/ssmtp/*.bb \ ${PKGDIR}/packages/strace/*.bb \ diff --git a/conf/distro/openslug.conf b/conf/distro/openslug.conf index e9f88311c2..a633b56190 100644 --- a/conf/distro/openslug.conf +++ b/conf/distro/openslug.conf @@ -9,9 +9,10 @@ DISTRO_NAME = "OpenSlug" DISTRO_VERSION = "3.0-beta" DISTRO_FEED = "unstable" DISTRO_TYPE = "beta" +SLUGOS_IMAGENAME = "openslug" -# nslu2-jffs2-image builds a complete image (not just the parts) -INHERIT += "nslu2-jffs2-image" +# openslug builds a complete image (not just the parts) +SLUGOS_FLASH_IMAGE = "yes" # NOTE: to build new packages set OPENSLUG_EXTRA_BBFILES to the full path name to # the .bb files for the packages to build - see ucslugc-packages.conf in this diff --git a/conf/distro/slugos.conf b/conf/distro/slugos.conf index 828e0b5800..62444de337 100644 --- a/conf/distro/slugos.conf +++ b/conf/distro/slugos.conf @@ -67,6 +67,13 @@ INHERIT += "package_ipk debian" #FIXME: remove openslug DISTRO_BASE = ":slugos:openslug" +# packages/meta/slugos-image.bb generates a binary image of the root file system +# with a name controlled by the following setting - it defaults to the top level +# ${DISTRO_NAME} and this should always be correct, but it may be too specific (e.g. +# if you change the DISTRO from one of the standard ones in a way which does not +# change the generated image). +SLUGOS_IMAGENAME ?= "${DISTRO_NAME}" + # pull in the frozen list of bbfiles - this sets BBFILES and this will override any # setting in local.conf Since this depends on ${DISTRO} it doesn't actually do # anything by default unless conf/distro/${DISTRO}-packages.conf exists. @@ -99,45 +106,24 @@ include conf/distro/freeze.conf #---------------------------------------------------------------------------------- # IMAGE BUILD OPTIONS # ------------------- -#FIXME: this is historical, there should be a minimal slugos device table and -# this stuff shouldn't be in here at all (put it in slugos-image.bb!) -# Why have anything in the config file to control the image build - why not -# just select a different image .bb file (e.g. slugos-ramdisk-image.bb) to -# build with different options. -IMAGE_FSTYPES = "jffs2" -IMAGE_SEX = "${@['big-endian', 'little-endian'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}" -OPENSLUG_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-openslug.txt')}" -EXTRA_IMAGECMD_jffs2 = "--pad --${IMAGE_SEX} --eraseblock=0x20000 -D ${OPENSLUG_DEVICE_TABLE}" - # CMDLINE* macros define the kernel command line. CMDLINE_DEBUG is provided # to enable/disable debugging in the distro. Here noirqdebug is used to # remove the messages about unhandled interrupts - people debugging interrupt # issues in the kernel need to cancel this (set CMDLINE_DEBUG empty in local.conf) CMDLINE_DEBUG = "noirqdebug" -# IMAGE_PREPROCESS_COMMAND is run before making the image. In SlugOS the -# kernel image is removed from the root file system to recover the space used - -# SlugOS is assumed to boot from a separate kernel image in flash (not in the -# root file system), if this is not the case the following must not be done! -IMAGE_PREPROCESS_COMMAND = "rm ${IMAGE_ROOTFS}/boot/zImage*;" - -# Building a full image. If you add the following extra commands will be -# appended to the openslug-image build by classes/nslu2-jffs2-image.bbclass -# (note that you can, instead, simply add 'inherit nslu2-jffs2-image' to -# openslug-image.bb). If you do this you will need to find a source for the -# LinkSys software to be placed in the full image - 'RedBoot' (the boot loader), -# 'Trailer' (just a bunch of bytes to flag the image as valid) and 'SysConf' -# (actually just a block of unset data - you could modify this to pre-configure -# the SysConf partition of the image). If you own an NSLU2 then this data is -# already in the flash of the NSLU2 and you can download it (including new -# versions) from the LinkSys web site - the bbclass will output information -# about where to put the downloaded data. +# Building a full image. If you set SLUGOS_FLASH_IMAGE to "yes" a complete +# 8MByte flash image will be built after the rootfs JFFS2 image. # -#NOTE: you do not actually need the boot loader in normal use because it is -# *not* overwritten by a standard upslug upgrade, so you can make an image with -# just non-LinkSys software which can be flashed into the NSLU2. -#FIXME: this should not be here, only slugos-image.bb needs this -#INHERIT += "nslu2-jffs2-image" +# If you do this you will need to find a source for the LinkSys software to be +# placed in the full image - 'RedBoot' (the boot loader), 'Trailer' (just a bunch +# of bytes to flag the image as valid) and 'SysConf' (actually just a block of +# unset data - you could modify this to pre-configure the SysConf partition of the +# image). If you own an NSLU2 then this data is already in the flash of the NSLU2 +# and you can download it (including new versions) from the LinkSys web site - see +# packages/meta/slugos-image.bb for information about where to put the downloaded +# data. +SLUGOS_FLASH_IMAGE ?= "no" # EXTRA PACKAGES # -------------- @@ -156,11 +142,6 @@ SLUGOS_EXTRA_DEPENDS ?= "" # Override this as desired - it makes no difference to the final image. SLUGOS_NATIVE_DEPENDS ?= "upslug2-native" -#FIXME: this is for openslug-image, slugos-image should be called slugos! -#FIXME: I find these names confusing, lets just use RDEPENDS and DEPENDS. -OPENSLUG_EXTRA_INSTALL = "${SLUGOS_EXTRA_RDEPENDS}" -OPENSLUG_EXTRA_DEPENDS = "${SLUGOS_EXTRA_DEPENDS} ${SLUGOS_NATIVE_DEPENDS}" - #---------------------------------------------------------------------------------- # PACKAGE VERSION CONTROL #---------------------------------------------------------------------------------- @@ -183,7 +164,7 @@ PREFERRED_VERSION_glibc ?= "2.3.5+cvs20050627" # Select the correct versions of the kernel and modules (these are the # defaults, override in the conf/distro top-level distro file). PREFERRED_PROVIDER_virtual/kernel ?= "nslu2-kernel" -PREFERRED_VERSION_nslu2-kernel ?= "2.6.14" +PREFERRED_VERSION_nslu2-kernel ?= "2.6.14.1" # Built-in ethernet modules PREFERRED_PROVIDER_virtual/ixp-eth ?= "ixp400-eth" @@ -194,3 +175,9 @@ PREFERRED_VERSION_ixp400-eth ?= "1.4" # Select the smallest provider of x11 libraries PREFERRED_PROVIDER_x11 ?= "diet-x11" CVSDATE_diet-x11 ?= "20051005" + +# Ensure consistency across all SlugOS builds for the provider of a +# relational database - use the latest version of the SleepyCat +# Berkeley database +PREFERRED_PROVIDER_virtual/db = "db" +PREFERRED_PROVIDER_virtual/db-native = "db-native" diff --git a/conf/distro/ucslugc-packages.conf b/conf/distro/ucslugc-packages.conf index 819bc8f984..a96c7bc863 100644 --- a/conf/distro/ucslugc-packages.conf +++ b/conf/distro/ucslugc-packages.conf @@ -13,6 +13,7 @@ ${PKGDIR}/packages/bind/*.bb \ ${PKGDIR}/packages/binutils/*.bb \ ${PKGDIR}/packages/bison/*.bb \ ${PKGDIR}/packages/bluez/*.bb \ +${PKGDIR}/packages/bogofilter/*.bb \ ${PKGDIR}/packages/boost/*.bb \ ${PKGDIR}/packages/bridge-utils/*.bb \ ${PKGDIR}/packages/busybox/*.bb \ @@ -24,6 +25,8 @@ ${PKGDIR}/packages/cpio/*.bb \ ${PKGDIR}/packages/cron/*.bb \ ${PKGDIR}/packages/ctorrent/*.bb \ ${PKGDIR}/packages/cvs/*.bb \ +${PKGDIR}/packages/cyrus-imapd/*.bb \ +${PKGDIR}/packages/cyrus-sasl/*.bb \ ${PKGDIR}/packages/db/*.bb \ ${PKGDIR}/packages/devio/*.bb \ ${PKGDIR}/packages/diffstat/*.bb \ @@ -102,6 +105,7 @@ ${PKGDIR}/packages/meta/*.bb \ ${PKGDIR}/packages/mgetty/*.bb \ ${PKGDIR}/packages/miau/*.bb \ ${PKGDIR}/packages/microcom/*.bb \ +${PKGDIR}/packages/minicom/*.bb \ ${PKGDIR}/packages/module-init-tools/*.bb \ ${PKGDIR}/packages/modutils/*.bb \ ${PKGDIR}/packages/mt-daapd/*.bb \ @@ -182,5 +186,6 @@ ${PKGDIR}/packages/xdmcp/*.bb \ ${PKGDIR}/packages/xextensions/*.bb \ ${PKGDIR}/packages/xproto/*.bb \ ${PKGDIR}/packages/xtrans/*.bb \ +${PKGDIR}/packages/zd1211/*.bb \ ${PKGDIR}/packages/zlib/*.bb \ ${UCSLUGC_EXTRA_BBFILES}" diff --git a/conf/distro/ucslugc.conf b/conf/distro/ucslugc.conf index 2de9010a90..359f8e657f 100644 --- a/conf/distro/ucslugc.conf +++ b/conf/distro/ucslugc.conf @@ -7,6 +7,7 @@ DISTRO_NAME = "UcSlugC" DISTRO_VERSION = "3-beta" DISTRO_FEED = "unstable" DISTRO_TYPE = "beta" +SLUGOS_IMAGENAME = "ucslugc" # NOTE: to build new packages set UCSLUGC_EXTRA_BBFILES to the full path name to # the .bb files for the packages to build - see ucslugc-packages.conf in this |