DESCRIPTION = "Linux kernel for the Linksys NSLU2 device"
LICENSE = "GPL"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
-PR = "r2"
+PR = "r3"
KERNEL_SUFFIX = "openslug"
CMDLINE_CONSOLE ?= "ttyS0,115200n8"
#CMDLINE_ROOT = "root=/dev/slug rootfstype=ext2,jffs2 initrd=0x01000000,10M mem=32M@0x00000000"
#CMDLINE_ROOT = "root=/dev/mtdblock4 rootfstype=jffs2 mem=32M@0x00000000"
-CMDLINE_ROOT = "root=/dev/ram0 rootfstype=ext2,jffs2 initrd=0x01000000,10M init=/linuxrc mem=32M@0x00000000"
+CMDLINE_ROOT = "root=/dev/ram0 rw rootfstype=ext2,jffs2 initrd=0x01000000,10M init=/linuxrc mem=32M@0x00000000"
CMDLINE = "${CMDLINE_ROOT} ${CMDLINE_CONSOLE}"
do_configure_prepend() {
SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "base-files"
-PR = "r4"
+PR = "r5"
+
+OPENSLUG_VERSION = "1.1-alpha"
SRC_URI = "file://sysconfsetup \
file://kern_header.c"
}
do_install() {
+ echo "OpenSlug-${OPENSLUG_VERSION}" > ${D}/.openslug
+
install -d ${D}/${sysconfdir} \
${D}/${sysconfdir}/init.d \
${D}/${sysconfdir}/rcS.d \
ln -s /etc/init.d/sysconfsetup ${D}/${sysconfdir}/rcS.d/S39sysconfsetup
}
-FILES_${PN} += "/initrd"
+FILES_${PN} = "/"