svn commit: trunk/buildroot/package/hotplug
Author: andersen
Date: 2006-08-10 13:08:31 -0700 (Thu, 10 Aug 2006) New Revision: 15796
Log:
rework hotplug with a customized version not dependant on kernel sources
Added:
trunk/buildroot/package/hotplug/diethotplug-0.5.tar
Removed:
trunk/buildroot/package/hotplug/hotplug.patch
Modified:
trunk/buildroot/package/hotplug/hotplug.mk
Changeset:
Added: trunk/buildroot/package/hotplug/diethotplug-0.5.tar
===================================================================
(Binary files differ)
Property changes on: trunk/buildroot/package/hotplug/diethotplug-0.5.tar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/buildroot/package/hotplug/hotplug.mk
===================================================================
buildroot/package/hotplug/hotplug.mk +5 -7
@@ -3,15 +3,13 @@ # hotplug support # ############################################################# -HOTPLUG_SOURCE=diethotplug-0.4.tar.gz +HOTPLUG_SOURCE=package/hotplug/diethotplug-0.5.tar HOTPLUG_SITE=http://www.kernel.org/pub/linux/utils/kernel/hotplug/ -HOTPLUG_DIR=$(BUILD_DIR)/diethotplug-0.4 +HOTPLUG_DIR=$(BUILD_DIR)/diethotplug-0.5 +HOTPLUG_CAT=cat -$(DL_DIR)/$(HOTPLUG_SOURCE): - $(WGET) -P $(DL_DIR) $(HOTPLUG_SITE)/$(HOTPLUG_SOURCE) - -$(HOTPLUG_DIR): $(DL_DIR)/$(HOTPLUG_SOURCE) - zcat $(DL_DIR)/$(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - +$(HOTPLUG_DIR): $(HOTPLUG_SOURCE) + $(HOTPLUG_CAT) $(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(HOTPLUG_DIR) package/hotplug/ hotplug\*.patch $(HOTPLUG_DIR)/hotplug: $(HOTPLUG_DIR)
Deleted: trunk/buildroot/package/hotplug/hotplug.patch
===================================================================
buildroot/package/hotplug/hotplug.patch +0 -33
@@ -1,33 +0,0 @@ -diff -urN diethotplug-0.4.orig/pci.c diethotplug-0.4/pci.c ---- diethotplug-0.4.orig/pci.c Wed Jan 9 13:57:29 2002 -+++ diethotplug-0.4/pci.c Wed Jan 30 22:35:24 2002 -@@ -68,8 +68,8 @@ - } - - /* check that the class matches */ -- class_temp = pci_module_map[i].class_mask & pci_class; -- if (pci_module_map[i].class != class_temp) { -+ class_temp = (pci_module_map[i].class ^ pci_class) & pci_module_map[i].class_mask; -+ if (class_temp != 0) { - dbg ("class mask check failed %x != %x", - pci_module_map[i].class, class_temp); - continue; ---- diethotplug-0.4/Makefile.orig Wed Jan 9 14:28:05 2002 -+++ diethotplug-0.4/Makefile Mon Jul 8 07:29:00 2002 -@@ -135,13 +135,13 @@ - - # Rules on how to create the generated header files - usb_modules.h: -- perl convert_usb.pl < /lib/modules/$(KERNEL_VERSION)/modules.usbmap > $@ -+ perl convert_usb.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.usbmap > $@ - - pci_modules.h: -- perl convert_pci.pl < /lib/modules/$(KERNEL_VERSION)/modules.pcimap > $@ -+ perl convert_pci.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.pcimap > $@ - - ieee1394_modules.h: -- perl convert_ieee1394.pl < /lib/modules/$(KERNEL_VERSION)/modules.ieee1394map > $@ -+ perl convert_ieee1394.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.ieee1394map > $@ - - hotplug_version.h: - @echo \#define HOTPLUG_VERSION \"$(VERSION)\" > $@
This patch does not work, since the "diethotplug-0.5.tar" file is missing
Quoted 5 lines
Changeset:
Added: trunk/buildroot/package/hotplug/diethotplug-0.5.tar
===================================================================
(Binary files differ)
Best Regards
Ulf Samuelsson
Quoted 99 lines
Author: andersen
Date: 2006-08-10 13:08:31 -0700 (Thu, 10 Aug 2006) New Revision: 15796Log:
rework hotplug with a customized version not dependant on kernel sourcesAdded:
trunk/buildroot/package/hotplug/diethotplug-0.5.tarRemoved:
trunk/buildroot/package/hotplug/hotplug.patchModified:
trunk/buildroot/package/hotplug/hotplug.mkChangeset:
Added: trunk/buildroot/package/hotplug/diethotplug-0.5.tar
===================================================================
(Binary files differ)Property changes on: trunk/buildroot/package/hotplug/diethotplug-0.5.tar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-streamModified:
trunk/buildroot/package/hotplug/hotplug.mk
===================================================================buildroot/package/hotplug/hotplug.mk 2006-08-10 20:08:31 UTC (rev 15796) renamed from buildroot/package/hotplug/hotplug.mk 2006-08-10 01:09:37 UTC (rev 15795) +1
-1@@ -3,15 +3,13 @@ # hotplug support # ############################################################# -HOTPLUG_SOURCE=diethotplug-0.4.tar.gz +HOTPLUG_SOURCE=package/hotplug/diethotplug-0.5.tarHOTPLUG_SITE=http://www.kernel.org/pub/linux/utils/kernel/hotplug/
buildroot/package/hotplug/hotplug.mk 2006-08-10 20:08:31 UTC (rev 15796) renamed from buildroot/package/hotplug/hotplug.mk 2006-08-10 01:09:37 UTC (rev 15795) +4
-6-HOTPLUG_DIR=$(BUILD_DIR)/diethotplug-0.4 +HOTPLUG_DIR=$(BUILD_DIR)/diethotplug-0.5 +HOTPLUG_CAT=cat -$(DL_DIR)/$(HOTPLUG_SOURCE): - $(WGET) -P $(DL_DIR) $(HOTPLUG_SITE)/$(HOTPLUG_SOURCE) - -$(HOTPLUG_DIR): $(DL_DIR)/$(HOTPLUG_SOURCE) - zcat $(DL_DIR)/$(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - +$(HOTPLUG_DIR): $(HOTPLUG_SOURCE) + $(HOTPLUG_CAT) $(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(HOTPLUG_DIR) package/hotplug/ hotplug\*.patch$(HOTPLUG_DIR)/hotplug: $(HOTPLUG_DIR)
Deleted:
trunk/buildroot/package/hotplug/hotplug.patch
===================================================================buildroot/package/hotplug/hotplug.patch 2006-08-10 20:08:31 UTC (rev 15796) renamed from buildroot/package/hotplug/hotplug.patch 2006-08-10 01:09:37 UTC (rev 15795) +0
-33@@ -1,33 +0,0 @@ -diff -urN diethotplug-0.4.orig/pci.c diethotplug-0.4/pci.c ---- diethotplug-0.4.orig/pci.c Wed Jan 9 13:57:29 2002 -+++ diethotplug-0.4/pci.c Wed Jan 30 22:35:24 2002 -@@ -68,8 +68,8 @@ - } - - /* check that the class matches */ -- class_temp = pci_module_map[i].class_mask & pci_class; -- if (pci_module_map[i].class != class_temp) { -+ class_temp = (pci_module_map[i].class ^ pci_class) & pci_module_map[i].class_mask; -+ if (class_temp != 0) { - dbg ("class mask check failed %x != %x", - pci_module_map[i].class, class_temp); - continue; ---- diethotplug-0.4/Makefile.orig Wed Jan 9 14:28:05 2002 -+++ diethotplug-0.4/Makefile Mon Jul 8 07:29:00 2002 -@@ -135,13 +135,13 @@ - - # Rules on how to create the generated header files - usb_modules.h: -- perl convert_usb.pl < /lib/modules/$(KERNEL_VERSION)/modules.usbmap > $@ -+ perl convert_usb.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.usbmap > $@ - - pci_modules.h: -- perl convert_pci.pl < /lib/modules/$(KERNEL_VERSION)/modules.pcimap > $@ -+ perl convert_pci.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.pcimap > $@ - - ieee1394_modules.h: -- perl convert_ieee1394.pl < /lib/modules/$(KERNEL_VERSION)/modules.ieee1394map > $@ -+ perl convert_ieee1394.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.ieee1394map > $@ - - hotplug_version.h: - @echo \#define HOTPLUG_VERSION \"$(VERSION)\" > $@_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
Quoted 1 line · Ulf Samuelsson
This patch does not work, since the "diethotplug-0.5.tar" file is missing
It worked fine for me...
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
----- Original Message -----
From: "Erik Andersen" <[email protected]>
To: "Ulf Samuelsson" <[email protected]>
Cc: <[email protected]>
Sent: Monday, August 14, 2006 6:45 PM
Subject: Re: [Buildroot] svn commit: trunk/buildroot/package/hotplug
Quoted 6 lines · Ulf Samuelsson
Quoted 1 line
This patch does not work, since the "diethotplug-0.5.tar" file is missing
It worked fine for me...
-Erik
Yes because you may have the file already, but the patch sent on the distribution list did only contain a comment that it was a binary file, but not the file itself.
Best Regards
Ulf Samuelsson
Quoted 10 lines · Ulf Samuelsson
----- Original Message -----
From: "Erik Andersen" <[email protected]>
To: "Ulf Samuelsson" <[email protected]>
Cc: <[email protected]>
Sent: Monday, August 14, 2006 6:45 PM
Subject: Re: [Buildroot] svn commit: trunk/buildroot/package/hotplugQuoted 1 line · Ulf Samuelsson
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
This patch does not work, since the "diethotplug-0.5.tar" file is missing
It worked fine for me...
-Erik
Yes because you may have the file already, but the patch sent on the
distribution list did only contain a comment
Quoted 1 line
that it was a binary file, but not the file itself.
I got the file out of the web thingy.
I'm trying to resolve the license issues to get it into BusyBox proper. (It's gplv2 only, and busybox is gplv2 or later...)
Rob
Signature · 1 line
Never bet against the cheap plastic solution.
Quoted 3 lines · Ulf Samuelsson
Yes because you may have the file already, but the patch sent on the distribution list did only contain a comment that it was a binary file, but not the file itself.
It may not have been included in the patch automatically generated when the file was committed, but I can assure you the file is indeed checked into the buildroot svn repository, from which you can fetch it, and from which it is included in the daily buildroot snapshots.
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--