#@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"
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 \
# 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 \
"
# 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"
#
# 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
# 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
#
#
# 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
DESCRIPTION = "Linux kernel for the Linksys NSLU2 device"
LICENSE = "GPL"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
-PR = "r9"
+PR = "r10"
KERNEL_SUFFIX = "openslug"
-PR = "r11"
+PR = "r12"
IMAGE_BASENAME = "openslug"
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
# 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}"
LICENSE = MIT
PR = "r3"
+INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = 1
PACKAGES = "${PN}"
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 \
"