Merge oe-devel@oe-devel.bkbits.net:openembedded
authorChris Larson <clarson@kergoth.com>
Thu, 17 Feb 2005 18:42:39 +0000 (18:42 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 17 Feb 2005 18:42:39 +0000 (18:42 +0000)
into odin.sc.ti.com:/home/kergoth/code/user/oe/openembedded

2005/02/17 12:41:30-06:00 ti.com!kergoth
Set the kernel version string correctly in the colinux kernel build.

2005/02/17 12:40:42-06:00 ti.com!kergoth
Add hotplug-ng, rename hotplug to linux-hotplug, and move the decision about which /sbin/hotplug binary you use into the hands of the distributions.

BKrev: 4214e59fRUBz9NJWKrkQdsqK0Ps__A

40 files changed:
conf/distro/colinuxoe.conf
conf/distro/familiar.conf
conf/distro/openmnci.conf
conf/distro/opensimpad.conf
conf/distro/openslug.conf
conf/distro/openzaurus.conf
conf/distro/switchbox.conf
conf/distro/wrt54oe.conf
packages/hotplug-ng/files/flags.patch [moved from packages/hotplug/files/collie/usbd with 100% similarity]
packages/hotplug-ng/hotplug-ng_001.bb [moved from packages/hotplug/files/mmc.agent with 100% similarity]
packages/hotplug/hotplug-20040920/hotplug-net-agent-usb.patch [deleted file]
packages/hotplug/hotplug_20040920.bb [deleted file]
packages/linux-hotplug/files/collie/usbd [moved from packages/hotplug/files/usbd with 100% similarity]
packages/linux-hotplug/files/mmc.agent [moved from packages/hotplug/files/sleeve.agent with 100% similarity]
packages/linux-hotplug/files/sleeve.agent [moved from packages/hotplug/files/sleeve.rc with 100% similarity]
packages/linux-hotplug/files/sleeve.rc [moved from packages/hotplug/files/sysconfig-hotplug with 100% similarity]
packages/linux-hotplug/files/sysconfig-hotplug [moved from packages/hotplug/files/sysconfig-usb with 100% similarity]
packages/linux-hotplug/files/sysconfig-usb [moved from packages/hotplug/files/tosa/sysconfig-usb with 100% similarity]
packages/linux-hotplug/files/tosa/sysconfig-usb [moved from packages/hotplug/files/usbd.agent with 100% similarity]
packages/linux-hotplug/files/usbd [moved from packages/hotplug/hotplug-20040329/busybox.patch with 100% similarity]
packages/linux-hotplug/files/usbd.agent [moved from packages/hotplug/hotplug-20040329/fix-net.agent with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040329/busybox.patch [moved from packages/hotplug/hotplug-20040329/logcheck-ignore with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040329/fix-net.agent [moved from packages/hotplug/hotplug-20040920/fix-net.agent with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040329/logcheck-ignore [moved from packages/hotplug/hotplug-20040920/logcheck-ignore with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040329/update-usb.usermap [moved from packages/hotplug/hotplug-20040329/update-usb.usermap with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040920/fix-net.agent [moved from packages/hotplug/hotplug-20040920/isapnp-exit.diff with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040920/hotplug-net-agent-usb.patch [moved from packages/hotplug/hotplug-20040920/update-usb.usermap with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040920/isapnp-exit.diff [moved from packages/hotplug/hotplug-20040920/usb-storage with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040920/logcheck-ignore [moved from packages/hotplug/hotplug-20040920/userspecified_hcd.patch with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040920/update-usb.usermap [moved from packages/hotplug/hotplug_20040329.bb with 100% similarity]
packages/linux-hotplug/linux-hotplug-20040920/usb-storage [new file with mode: 0644]
packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch [new file with mode: 0644]
packages/linux-hotplug/linux-hotplug_20040329.bb [new file with mode: 0644]
packages/linux-hotplug/linux-hotplug_20040920.bb [new file with mode: 0644]
packages/linux/linux-colinux_2.6.10.bb
packages/meta/nylon-feed.bb
packages/meta/nylon-image-standard.bb
packages/meta/openslug-image.bb
packages/meta/task-bootstrap-unionroot.bb
packages/meta/task-bootstrap.bb

index e69de29..eb263e9 100644 (file)
@@ -0,0 +1,18 @@
+#@TYPE: Distribution
+#@NAME: coLinuxoe
+#@DESCRIPTION: Generic OE built distro for the coLinux MACHINE
+
+INHERIT += "package_ipk debian"
+
+# MACHINE decides that linux-colinux is the correct kernel.
+# DISTRO decides whether to build 2.4 or 2.6.  Latest coLinux version
+# (0.6.2) uses 2.6 by default, so we'll be following them.
+# PREFERRED_VERSION_linux-colinux = "2.4.28"
+PREFERRED_VERSION_linux-colinux ?= "2.6.10"
+
+IMAGE_FSTYPES =+ "ext2 ext2.gz"
+
+# Whether to use the old shell hotplug or the new C hotplug is a
+# distribution decision.
+BOOTSTRAP_EXTRA_DEPENDS += "linux-hotplug"
+BOOTSTRAP_EXTRA_RDEPENDS += "linux-hotplug"
index 7fd4836..1f9418e 100644 (file)
@@ -5,3 +5,7 @@
 INHERIT += " package_ipk debian"
 TARGET_OS = "linux"
 
+# Whether to use the old shell hotplug or the new C hotplug is a
+# distribution decision.
+BOOTSTRAP_EXTRA_DEPENDS += "linux-hotplug"
+BOOTSTRAP_EXTRA_RDEPENDS += "linux-hotplug"
index 93a361a..2a7665d 100644 (file)
@@ -12,3 +12,8 @@ CVSDATE_ipkg-utils = 20050110
 OEINCLUDELOGS = "yes"
 KERNEL_CONSOLE = "ttyS0"
 TARGET_FPU = "soft"
+
+# Whether to use the old shell hotplug or the new C hotplug is a
+# distribution decision.
+BOOTSTRAP_EXTRA_DEPENDS += "linux-hotplug"
+BOOTSTRAP_EXTRA_RDEPENDS += "linux-hotplug"
index 3f2ddea..1e92b0a 100644 (file)
@@ -6,3 +6,7 @@ INHERIT += " package_ipk debian"
 TARGET_OS ?= "linux"
 TARGET_FPU ?= "soft"
 
+# Whether to use the old shell hotplug or the new C hotplug is a
+# distribution decision.
+BOOTSTRAP_EXTRA_DEPENDS += "linux-hotplug"
+BOOTSTRAP_EXTRA_RDEPENDS += "linux-hotplug"
index 57abf79..60e9976 100644 (file)
@@ -24,6 +24,11 @@ module-init-tools"
 
 OPENSLUG_EXTRA_INSTALL += "${OPENSLUG_EXTRA_RDEPENDS}"
 
+# Whether to use the old shell hotplug or the new C hotplug is a
+# distribution decision.
+OPENSLUG_EXTRA_DEPENDS += "linux-hotplug"
+OPENSLUG_EXTRA_RDEPENDS += "linux-hotplug"
+
 BOOTSTRAP_EXTRA_DEPENDS  += "${OPENSLUG_EXTRA_DEPENDS}"
 BOOTSTRAP_EXTRA_RDEPENDS += "${OPENSLUG_EXTRA_RDEPENDS}"
 
index 4af0dfc..be7d4a0 100644 (file)
@@ -5,3 +5,8 @@
 INHERIT += " package_ipk debian"
 TARGET_OS = "linux"
 TARGET_FPU = "soft"
+
+# Whether to use the old shell hotplug or the new C hotplug is a
+# distribution decision.
+BOOTSTRAP_EXTRA_DEPENDS += "linux-hotplug"
+BOOTSTRAP_EXTRA_RDEPENDS += "linux-hotplug"
index bc9100d..6c378d0 100644 (file)
@@ -15,3 +15,8 @@ SWITCHBOX_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/dev
 EXTRA_IMAGECMD_ext2.gz = "-r 0 -i 512 -f ${SWITCHBOX_DEVICE_TABLE}"
 
 USE_NLS = "no"
+
+# Whether to use the old shell hotplug or the new C hotplug is a
+# distribution decision.
+BOOTSTRAP_EXTRA_DEPENDS += "linux-hotplug"
+BOOTSTRAP_EXTRA_RDEPENDS += "linux-hotplug"
index e69de29..e11dafb 100644 (file)
@@ -0,0 +1,10 @@
+#@TYPE: Distribution
+#@NAME: WRT54OE Linux
+#@DESCRIPTION: Distribution configuration for the WRT54 Linux
+
+INHERIT += "package_ipk debian"
+
+# Whether to use the old shell hotplug or the new C hotplug is a
+# distribution decision.
+BOOTSTRAP_EXTRA_DEPENDS += "linux-hotplug"
+BOOTSTRAP_EXTRA_RDEPENDS += "linux-hotplug"
diff --git a/packages/hotplug/hotplug-20040920/hotplug-net-agent-usb.patch b/packages/hotplug/hotplug-20040920/hotplug-net-agent-usb.patch
deleted file mode 100644 (file)
index a64fc50..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
---- hotplug/etc/hotplug/net.agent      2005-01-13 21:12:47.143597392 +1300
-+++ hotplug/etc/hotplug/net.agent      2005-01-13 21:17:57.095477544 +1300
-@@ -41,6 +41,9 @@
-           debug_mesg assuming $INTERFACE is already up
-           exit 0
-           ;;
-+      # interfaces that don't go up until attached
-+      usbf)
-+          ;;
-       # interfaces that are registered then brought up
-       *)
-           # NOTE:  network configuration relies on administered state,
-@@ -83,6 +86,13 @@
-     mesg $1 $ACTION event not handled
-     ;;
-+attach)
-+    # ifupdown is dumb and won't bring up an interface that it thinks
-+    # might already be configured.
-+    /sbin/ifdown $INTERFACE
-+    exec /sbin/ifup $INTERFACE
-+    ;;
-+
- remove|unregister)
-     case $INTERFACE in
-       # interfaces that are unregistered after being "down" (?)
-@@ -105,6 +115,16 @@
-     mesg $1 $ACTION event not handled
-     ;;
-+detach)
-+    if [ -x /sbin/ifdown ]; then
-+        debug_mesg invoke ifdown $INTERFACE
-+        exec /sbin/ifdown $INTERFACE
-+    else
-+        mesg "E: /sbin/ifdown not found. You need to install ifupdown package"
-+    fi
-+    mesg $1 $ACTION event not handled
-+    ;;
-+
- *)
-     debug_mesg NET $ACTION event for $INTERFACE not supported
-     exit 1 ;;
diff --git a/packages/hotplug/hotplug_20040920.bb b/packages/hotplug/hotplug_20040920.bb
deleted file mode 100644 (file)
index 5b796dc..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-DESCRIPTION = "This package contains the scripts necessary \
-for hotplug Linux support, and lets you plug in new devices \
-and use them immediately."
-HOMEPAGE = "http://linux-hotplug.sourceforge.net/"
-LICENSE = "GPL"
-SECTION = "base"
-PR = "r8"
-RSUGGESTS = "pciutils usbutils"
-
-SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20.tar.gz \
-          file://userspecified_hcd.patch;patch=1 \
-          file://hotplug-net-agent-usb.patch;patch=1 \
-           file://fix-net.agent \
-           file://update-usb.usermap \
-           file://logcheck-ignore \
-          file://sleeve.agent \
-          file://sleeve.rc \
-          file://mmc.agent \
-          file://usbd.agent \
-          file://usbd \
-          file://sysconfig-hotplug \
-          file://sysconfig-usb \
-          file://isapnp-exit.diff;patch=1 \
-          file://usb-storage"
-          
-S = "${WORKDIR}/hotplug-2004_09_20"
-
-INITSCRIPT_NAME = "hotplug"
-INITSCRIPT_PARAMS = "start 40 S . stop 89 0 6 ."
-
-inherit update-rc.d
-
-do_compile () {
-       :
-}
-
-oldmandir := "${mandir}"
-oldsbindir := "${sbindir}"
-prefix = ""
-exec_prefix = ""
-FILES_hotplug_append = " ${oldsbindir}"
-FILES_hotplug-doc_append = " ${oldmandir}"
-
-export DEBFIX = "sed -e 's:sysconfig/usb:default/hotplug.usb:'"
-do_install () {
-       install -d ${D}/${sysconfdir}/logcheck/ignore.d
-       install -d ${D}/${oldmandir}
-       install -d ${D}/${oldsbindir}
-       #install -d ${D}/${sysconfdir}/default
-       oe_runmake prefix=${D}${prefix} exec_prefix=${D}${exec_prefix} \
-                  etcdir=${D}${sysconfdir} sbindir=${D}${sbindir} \
-                  mandir=${D}${oldmandir} install
-       sh ${WORKDIR}/fix-net.agent ${D}
-       install -m 0755 ${WORKDIR}/update-usb.usermap ${D}/${oldsbindir}/
-       install -m 0644 ${WORKDIR}/logcheck-ignore ${D}/${sysconfdir}/logcheck/ignore.d/hotplug
-       install -m 0755 ${WORKDIR}/sleeve.agent ${D}${sysconfdir}/hotplug/
-       install -m 0755 ${WORKDIR}/sleeve.rc ${D}${sysconfdir}/hotplug/
-       install -m 0755 ${WORKDIR}/mmc.agent ${D}${sysconfdir}/hotplug/
-       install -m 0755 ${WORKDIR}/usbd.agent ${D}${sysconfdir}/hotplug/
-       #install -m 0755 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd
-       install -d ${D}${sysconfdir}/sysconfig
-       install -m 0644 ${WORKDIR}/sysconfig-hotplug ${D}${sysconfdir}/sysconfig/hotplug
-       install -m 0644 ${WORKDIR}/sysconfig-usb ${D}/${sysconfdir}/sysconfig/usb
-       install -m 0755 ${WORKDIR}/usb-storage ${D}${sysconfdir}/hotplug/usb
-}
diff --git a/packages/linux-hotplug/linux-hotplug-20040920/usb-storage b/packages/linux-hotplug/linux-hotplug-20040920/usb-storage
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch b/packages/linux-hotplug/linux-hotplug-20040920/userspecified_hcd.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/linux-hotplug/linux-hotplug_20040329.bb b/packages/linux-hotplug/linux-hotplug_20040329.bb
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/linux-hotplug/linux-hotplug_20040920.bb b/packages/linux-hotplug/linux-hotplug_20040920.bb
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..ecd0f64 100644 (file)
@@ -0,0 +1,23 @@
+SECTION = "kernel"
+DESCRIPTION = "User Mode Linux Kernel"
+LICENSE = "GPL"
+COLV = "0.6.2"
+
+#http://internap.dl.sourceforge.net/sourceforge/colinux/coLinux-${COLV}.tar.gz
+SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
+          file://colinux-${COLV}.patch;patch=1 \
+          file://defconfig"
+
+S = "${WORKDIR}/linux-${PV}"
+
+inherit kernel
+
+COMPATIBLE_HOST = "i.86.*-linux"
+KERNEL_IMAGETYPE = "vmlinux"
+KERNEL_OUTPUT = "./${KERNEL_IMAGETYPE}"
+
+do_configure() {
+       echo '-co-${COLV}' > localversion-cooperative
+       install -m 0644 ${WORKDIR}/defconfig .config
+       kernel_do_configure
+}
index a1cb515..f5b803f 100644 (file)
@@ -19,7 +19,7 @@ gnupg \
 hostap-modules \
 hostap-utils \
 hostap-daemon \
-hotplug \
+linux-hotplug \
 htb-init \
 ifplugd \
 initscripts \
index b6b18d1..2542e16 100644 (file)
@@ -6,7 +6,7 @@ NYLON_STANDARD = "\
        bridge-utils \
        dnsmasq \
        hostap-utils \
-       hotplug \
+       linux-hotplug \
        ifplugd iproute2 iptables \
        mobilemesh \
        nylon-scripts \
index 561bef4..3324f20 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r3"
 
 IMAGE_BASENAME = "openslug"
 
@@ -9,14 +9,14 @@ OPENSLUG_HIDDEN_PACKAGES = "ipkg-native ipkg-utils-native fakeroot-native ${PATC
        virtual/libc makedevs-native mtd-utils-native slugimage-native nslu2-linksys-firmware nslu2-switchbox-firmware "
 
 DEPENDS = "base-files base-passwd-3.5.7 \
-        busybox dropbear hotplug initscripts netbase \
+        busybox dropbear initscripts netbase \
         sysvinit tinylogin lrzsz portmap \
         ixp4xx-csr ixp425-eth openslug-init \
         ipkg-collateral ipkg ipkg-link \
         ${OPENSLUG_EXTRA_DEPENDS}"
 
 IPKG_INSTALL = "base-files base-passwd \
-        busybox dropbear hotplug initscripts netbase \
+        busybox dropbear initscripts netbase \
         update-modules sysvinit tinylogin lrzsz portmap \
         ixp4xx-csr ixp425-eth  openslug-init \
         ipkg-collateral ipkg ipkg-link \
index 2e2108d..2226d82 100644 (file)
@@ -3,6 +3,7 @@ MAINTAINER = "Chris Lord <cwiiis@handhelds.org>"
 PROVIDES = "task-bootstrap"
 PN = "task-bootstrap"
 PV = "1.0unionroot"
+PR = "r1"
 DEFAULT_PREFERENCE = "-1"
 
 # The BOOTSTRAP_EXTRA_ variables are often manipulated by the
@@ -35,7 +36,7 @@ def bootstrap_modutils_rdepends(d):
         return ' '.join(r)
 
 DEPENDS = 'base-files base-passwd-3.5.7 \
-       busybox dropbear hotplug initscripts modutils netbase \
+       busybox dropbear initscripts modutils netbase \
        sysvinit tinylogin portmap \
        modutils-initscripts \
        ${BOOTSTRAP_EXTRA_DEPENDS} \
@@ -46,7 +47,7 @@ DEPENDS = 'base-files base-passwd-3.5.7 \
        unionroot-utils'
 
 RDEPENDS = 'base-files base-passwd busybox \
-       hotplug initscripts \
+       initscripts \
        netbase sysvinit sysvinit-pidof tinylogin \
        modutils-initscripts \
        ${BOOTSTRAP_EXTRA_RDEPENDS} \
index 811fa8c..87f23f3 100644 (file)
@@ -1,6 +1,6 @@
 DESCRIPTION = "Core packages required for a basic installation"
 MAINTAINER = "Phil Blundell <pb@handhelds.org>"
-PR = "r19"
+PR = "r20"
 
 # The BOOTSTRAP_EXTRA_ variables are often manipulated by the
 # MACHINE .conf files, so adjust PACKAGE_ARCH accordingly.
@@ -32,14 +32,14 @@ def bootstrap_modutils_rdepends(d):
         return ' '.join(r)
 
 DEPENDS = 'base-files base-passwd-3.5.7 \
-       busybox dropbear hotplug initscripts modutils netbase \
+       busybox dropbear initscripts modutils netbase \
        sysvinit tinylogin portmap \
        modutils-initscripts \
        ${BOOTSTRAP_EXTRA_DEPENDS} \
        ${@bootstrap_modutils_depends(d)}'
 
 RDEPENDS = 'base-files base-passwd busybox \
-       hotplug initscripts \
+       initscripts \
        netbase sysvinit sysvinit-pidof tinylogin \
        modutils-initscripts \
        ${BOOTSTRAP_EXTRA_RDEPENDS} \