Author: alexander
Date: 2006-07-14 03:22:59 -0600 (Fri, 14 Jul 2006)
New Revision: 1644

Removed:
   trunk/packages/udev/bug.c
Modified:
   trunk/packages/udev/Makefile
Log:
Updated udev


Modified: trunk/packages/udev/Makefile
===================================================================
--- trunk/packages/udev/Makefile        2006-07-14 09:19:01 UTC (rev 1643)
+++ trunk/packages/udev/Makefile        2006-07-14 09:22:59 UTC (rev 1644)
@@ -1,18 +1,18 @@
 # Udev Makefile
 
 NM= udev
-VRS= 092
-CONFVRS= 20060515
+VRS= 096
+CONFVRS= 20060712
 DIR= $(NM)-$(VRS)
 CONFDIR=$(NM)-config-$(CONFVRS)
 
 FILE= $(DIR).tar.bz2
 URL-$(FILE)= $(HTTP)/$(NM)/$(FILE)
-SHA-$(FILE)= d512e18d4f3a6f89b0d28bbba6510aa81e63d895
+SHA-$(FILE)= 8d15b89fdf93ba84e2d33ff6061e140aed0a4dce
 
 CONFIG1= $(CONFDIR).tar.bz2
 URL-$(CONFIG1)= http://downloads.linuxfromscratch.org/$(CONFIG1)
-SHA-$(CONFIG1)= f02c1d2b56e42a26a5650be0434a6c76ddb21f14
+SHA-$(CONFIG1)= c6e82f279a8fb971201115d95b9b9027aefeae29
 
 # Targets
 
@@ -39,16 +39,11 @@
        make EXTRAS="`echo extras/*/`"
        make DESTDIR=/ EXTRAS="`echo extras/*/`" install
        cp $(CONFDIR)/[0-9]* /etc/udev/rules.d/
-       install -v -m 744 $(CONFDIR)/write_cd_aliases /lib/udev/
        echo 'ACTION=="add", BUS=="pci", SYSFS{class}=="0x030000", 
RUN+="detect-video"' >/etc/udev/rules.d/30-video.rules
        install -m755 ../detect-video /lib/udev
        install -m644 ../50-network.rules /etc/udev/rules.d/
        install -m644 -D docs/writing_udev_rules/index.html \
         /usr/share/doc/$(DIR)/index.html
-       # Debug, remove before release
-       gcc -o bug ../bug.c
-       install -m755 bug /lib/udev
-       # End of debug
 
 clean:
        -rm -rf $(DIR)

Deleted: trunk/packages/udev/bug.c
===================================================================
--- trunk/packages/udev/bug.c   2006-07-14 09:19:01 UTC (rev 1643)
+++ trunk/packages/udev/bug.c   2006-07-14 09:22:59 UTC (rev 1644)
@@ -1,36 +0,0 @@
-/* Simple event recorder */
-#define _GNU_SOURCE
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <argz.h>
-
-int main(int argc, char * argv[])
-{
-       char * envar;
-       char * envz;
-       size_t len;
-       int bug;
-       bug = open("/dev/bug", O_WRONLY | O_APPEND);
-       if (bug == -1)
-               return 0;
-
-       /* Ignore everything USB-related to avoid spamming the list */
-       envar = getenv("PHYSDEVPATH");
-       if (envar && strstr(envar, "usb"))
-               return 0;
-       envar = getenv("DEVPATH");
-       if (envar && strstr(envar, "usb"))
-               return 0;
-       
-       setenv("_SEPARATOR", "--------------------------------------", 1);
-       argz_create(environ, &envz, &len);
-       argz_stringify(envz, len, '\n');
-       envz[len-1]='\n';
-       write(bug, envz, len);
-       close(bug);
-       free(envz);
-       return 0;
-}

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to