Image description changes: packages not required for a
authorJohn Bowler <jbowler@nslu2-linux.org>
Fri, 27 May 2005 15:57:32 +0000 (15:57 +0000)
committerJohn Bowler <jbowler@nslu2-linux.org>
Fri, 27 May 2005 15:57:32 +0000 (15:57 +0000)
bootable image have been moved to the openslug.conf
file so that an image can be built without them (by
overriding the OPENSLUG_EXTRA_RDEPENDS variable.)

Image release name changed to 1.20-pre1

BKrev: 4297436cqk3HFrq4AoEgLcOBYWcbpw

conf/distro/openslug.conf
packages/linux/openslug-kernel-2.6.11.2/defconfig
packages/linux/openslug-kernel_2.6.11.2.bb
packages/meta/openslug-image.bb
packages/meta/openslug-packages.bb

index 59575f0..5ab025e 100644 (file)
@@ -3,7 +3,7 @@
 #@DESCRIPTION: OpenSlug Linux Distribution for the NSLU2
 
 DISTRO_NAME = "OpenSlug"
-DISTRO_VERSION = "1.12-beta"
+DISTRO_VERSION = "1.20-pre1"
 DISTRO_TYPE ?= "beta"
 
 TARGET_FPU_local ?= "soft"
@@ -21,8 +21,18 @@ IMAGE_FSTYPES = "jffs2"
 OPENSLUG_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-openslug.txt')}"
 EXTRA_IMAGECMD_jffs2 = "--pad --big-endian --eraseblock=0x20000 -D ${OPENSLUG_DEVICE_TABLE}"
 
-OPENSLUG_EXTRA_DEPENDS  ?= ""
+OPENSLUG_EXTRA_DEPENDS  ?= "e2fsprogs reiserfsprogs lrzsz"
+
+# Filesystem support modules are listed in here for easy removal,
+# as is the lrzsz serial package and other kernel modules which are
+# not absolutely required for boot.
+# NOTE: only jffs2 support is an absolute requirement of boot, even
+# the ext2/ext3 support is optional!
+OPENSLUG_EXT2_PROGS =  "e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-e2fsck"
+OPENSLUG_REISER_PROGS = "reiserfsprogs"
 OPENSLUG_EXTRA_RDEPENDS ?= "\
+lrzsz \
+${OPENSLUG_EXT2_PROGS} ${OPENSLUG_REISER_PROGS} \
 kernel-module-usbnet \
 kernel-module-pegasus kernel-module-p8022 kernel-module-kaweth \
 kernel-module-usbserial \
@@ -43,11 +53,14 @@ kernel-module-pl2303 kernel-module-ftdi-sio"
 # boot (however you can do a simple flash file system boot - no
 # attached disk - and install the nfs modules from ssh.)
 OPENSLUG_EXTRA_FILESYSTEMS ?= "\
+kernel-module-ext2 \
+kernel-module-ext3 \
 kernel-module-nfs \
 kernel-module-vfat \
 kernel-module-ntfs \
 kernel-module-isofs \
 kernel-module-udf \
+kernel-module-reiserfs \
 kernel-module-nls-cp437 \
 kernel-module-nls-utf8 \
 "
@@ -58,14 +71,10 @@ kernel-module-nls-utf8 \
 # kernel-module-msdos - mounts a FAT file system without long file names
 #                       (use kernel-module-vfat, it shows the long names
 #                       if present.)
-# kernel-module-reiserfs - support for the reiser file system
 
 OPENSLUG_EXTRA_INSTALL ?= "${OPENSLUG_EXTRA_RDEPENDS} ${OPENSLUG_EXTRA_FILESYSTEMS}"
 
-# These lines are for backwards compatibility and will be removed soon.
-BOOTSTRAP_EXTRA_DEPENDS  += "${OPENSLUG_EXTRA_DEPENDS}"
-BOOTSTRAP_EXTRA_RDEPENDS += "${OPENSLUG_EXTRA_RDEPENDS} ${OPENSLUG_EXTRA_FILESYSTEMS}"
-
+# Select the correct versions of the kernel and modules
 PREFERRED_PROVIDER_virtual/kernel ?= "openslug-kernel"
 PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
 
index 85d5f73..b8aed8a 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.11.2
-# Fri Apr  8 14:02:10 2005
+# Thu May 26 13:35:59 2005
 #
 CONFIG_ARM=y
 CONFIG_MMU=y
@@ -160,7 +160,7 @@ CONFIG_PM=y
 # CONFIG_PREEMPT is not set
 CONFIG_APM=y
 # CONFIG_ARTHUR is not set
-CONFIG_CMDLINE="root=/dev/ram0 rw rootfstype=ext2,jffs2 initrd=0x01000000,10M init=/linuxrc mem=32M@0x00000000 console=ttyS0,115200n8"
+CONFIG_CMDLINE="root=/dev/mtdblock4 rw rootfstype=jffs2 mem=32M@0x00000000 init=/linuxrc console=ttyS0,115200n8"
 CONFIG_ALIGNMENT_TRAP=y
 
 #
@@ -885,11 +885,11 @@ CONFIG_VIDEO_DEV=m
 #
 # File systems
 #
-CONFIG_EXT2_FS=y
+CONFIG_EXT2_FS=m
 # CONFIG_EXT2_FS_XATTR is not set
-CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS=m
 # CONFIG_EXT3_FS_XATTR is not set
-CONFIG_JBD=y
+CONFIG_JBD=m
 # CONFIG_JBD_DEBUG is not set
 CONFIG_REISERFS_FS=m
 # CONFIG_REISERFS_CHECK is not set
index d91149d..c77c5ce 100644 (file)
@@ -2,7 +2,7 @@ SECTION = "kernel"
 DESCRIPTION = "Linux kernel for the Linksys NSLU2 device"
 LICENSE = "GPL"
 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
-PR = "r9"
+PR = "r10"
 
 KERNEL_SUFFIX = "openslug"
 
index 8e50c1b..d2bf3bb 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r11"
+PR = "r12"
 
 IMAGE_BASENAME = "openslug"
 
@@ -10,11 +10,11 @@ OPENSLUG_HIDDEN_PACKAGES = "ipkg-native ipkg-utils-native fakeroot-native ${PATC
 
 DEPENDS = "virtual/kernel base-files base-passwd \
         busybox dropbear hotplug-ng initscripts netbase \
-        sysvinit tinylogin lrzsz portmap \
+        sysvinit tinylogin portmap \
         ixp4xx-csr ixp425-eth openslug-init \
        module-init-tools modutils-initscripts \
         ipkg-collateral ipkg ipkg-link diffutils \
-       cpio findutils e2fsprogs mtd-utils \
+       cpio findutils mtd-utils \
         ${OPENSLUG_EXTRA_DEPENDS}"
 
 # NOTE: file system kernel modules are defined in openslug.conf
@@ -22,12 +22,11 @@ DEPENDS = "virtual/kernel base-files base-passwd \
 # kernel-module-af-packet must be in the image for DHCP to work
 IPKG_INSTALL = "base-files base-passwd \
         busybox dropbear hotplug-ng initscripts netbase \
-        update-modules sysvinit tinylogin lrzsz portmap \
+        update-modules sysvinit tinylogin portmap \
         ixp4xx-csr ixp425-eth openslug-init \
        module-init-tools modutils-initscripts \
         ipkg-collateral ipkg ipkg-link diffutils \
-       cpio findutils e2fsprogs-mke2fs \
-       e2fsprogs-fsck e2fsprogs-e2fsck \
+       cpio findutils \
        kernel-module-af-packet \
        kernel-module-netconsole \
         ${OPENSLUG_EXTRA_INSTALL}"
index 9b51a78..b538e5b 100644 (file)
@@ -2,6 +2,7 @@ DESCRIPTION = "Packages that are compatible with the OpenSlug firmware"
 LICENSE = MIT
 PR = "r3"
 
+INHIBIT_DEFAULT_DEPS = "1"
 ALLOW_EMPTY = 1
 PACKAGES = "${PN}"
 
@@ -55,12 +56,14 @@ OPENSLUG_PACKAGES = "\
        db4 \
        openldap \
        ntp \
+       reiserfsprogs reiser4progs \
        "
 
 # These packages only build on TARGET_OS=linux, not
 # TARGET_OS=linux-uclibc
 OPENSLUG_PACKAGES_append_linux = "\
        php \
+       libpam \
        yp-tools ypbind ypserv \
        "