From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/udev
Date: Fri, 1 Dec 2006 09:49:43 -0800 (PST) [thread overview]
Message-ID: <20061201174943.1279148581@busybox.net> (raw)
Author: aldot
Date: 2006-12-01 09:49:42 -0800 (Fri, 01 Dec 2006)
New Revision: 16746
Log:
- bump version. Thanks to Petr Stetiar.
Added:
trunk/buildroot/package/udev/udev-100.fix_makefile.patch
Modified:
trunk/buildroot/package/udev/init-udev
trunk/buildroot/package/udev/udev.mk
Changeset:
Modified: trunk/buildroot/package/udev/init-udev
===================================================================
--- trunk/buildroot/package/udev/init-udev 2006-12-01 16:56:12 UTC (rev 16745)
+++ trunk/buildroot/package/udev/init-udev 2006-12-01 17:49:42 UTC (rev 16746)
@@ -27,6 +27,8 @@
test -x $UDEV_BIN || exit 5
UDEVSTART_BIN=/sbin/udevstart
test -x $UDEVSTART_BIN || exit 5
+UDEVD_BIN=/sbin/udevd
+test -x $UDEVD_BIN || exit 5
# Check for config file and read it
UDEV_CONFIG=/etc/udev/udev.conf
@@ -64,7 +66,10 @@
echo -n "Populating $udev_root using udev... "
$UDEVSTART_BIN || (echo "FAIL" && exit 1)
mkdir $udev_root/pts $udev_root/shm
+ # start daemon
+ $UDEVD_BIN --daemon || (echo "udevd FAIL" && exit 1)
echo "done"
+ mount -a
;;
stop)
# do nothing
Added: trunk/buildroot/package/udev/udev-100.fix_makefile.patch
===================================================================
--- trunk/buildroot/package/udev/udev-100.fix_makefile.patch 2006-12-01 16:56:12 UTC (rev 16745)
+++ trunk/buildroot/package/udev/udev-100.fix_makefile.patch 2006-12-01 17:49:42 UTC (rev 16746)
@@ -0,0 +1,12 @@
+diff -u udev-100/Makefile udev-100.ynezz/Makefile
+--- udev-100/Makefile 2006-09-07 11:32:45.000000000 +0200
++++ udev-100.ynezz/Makefile 2006-09-18 17:35:33.000000000 +0200
+@@ -276,6 +276,8 @@
+ install-bin:
+ $(INSTALL) -d $(DESTDIR)$(udevdir)
+ $(INSTALL_PROGRAM) -D udevd $(DESTDIR)$(sbindir)/udevd
++ $(INSTALL_PROGRAM) -D udev $(DESTDIR)$(sbindir)/udev
++ $(INSTALL_PROGRAM) -D udevstart $(DESTDIR)$(sbindir)/udevstart
+ $(INSTALL_PROGRAM) -D udevtrigger $(DESTDIR)$(sbindir)/udevtrigger
+ $(INSTALL_PROGRAM) -D udevsettle $(DESTDIR)$(sbindir)/udevsettle
+ $(INSTALL_PROGRAM) -D udevcontrol $(DESTDIR)$(sbindir)/udevcontrol
Modified: trunk/buildroot/package/udev/udev.mk
===================================================================
--- trunk/buildroot/package/udev/udev.mk 2006-12-01 16:56:12 UTC (rev 16745)
+++ trunk/buildroot/package/udev/udev.mk 2006-12-01 17:49:42 UTC (rev 16746)
@@ -3,7 +3,7 @@
# udev
#
#############################################################
-UDEV_VERSION:=094
+UDEV_VERSION:=100
UDEV_SOURCE:=udev-$(UDEV_VERSION).tar.bz2
UDEV_SITE:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
UDEV_CAT:=$(BZCAT)
@@ -35,7 +35,7 @@
touch $(UDEV_DIR)/.configured
$(UDEV_DIR)/$(UDEV_BINARY): $(UDEV_DIR)/.configured
- $(MAKE) CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) LD=$(TARGET_CC) \
+ $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) CC=$(TARGET_CC) LD=$(TARGET_CC)\
CFLAGS="$(BR2_UDEV_CFLAGS)" \
USE_LOG=false USE_SELINUX=false \
udevdir=$(UDEV_ROOT) -C $(UDEV_DIR)
@@ -45,19 +45,21 @@
# default access controls prevent non-root tasks from running. Many of the
# rule files rely on PROGRAM invocations (e.g. extra /etc/udev/scripts);
# for now we'll avoid having buildroot systems rely on them.
-UDEV_CONF:=etc/udev/frugalware/udev.rules
+UDEV_CONF:=etc/udev/frugalware/*
$(TARGET_DIR)/$(UDEV_TARGET_BINARY): $(UDEV_DIR)/$(UDEV_BINARY)
-mkdir $(TARGET_DIR)/sys
- install -D -m 0644 $(UDEV_DIR)/$(UDEV_CONF) \
- $(TARGET_DIR)/etc/udev/rules.d/50-udev.rules
- $(MAKE) CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) LD=$(TARGET_CC) \
+ -mkdir $(TARGET_DIR)/etc/udev/rules.d
+ $(INSTALL) -D -m 0644 $(UDEV_DIR)/$(UDEV_CONF) \
+ $(TARGET_DIR)/etc/udev/rules.d
+ $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) CC=$(TARGET_CC) LD=$(TARGET_CC) \
DESTDIR=$(TARGET_DIR) \
CFLAGS="$(BR2_UDEV_CFLAGS)" \
LDFLAGS="-warn-common" \
USE_LOG=false USE_SELINUX=false \
udevdir=$(UDEV_ROOT) -C $(UDEV_DIR) install
$(INSTALL) -m 0755 -D package/udev/init-udev $(TARGET_DIR)/etc/init.d/S10udev
+ $(INSTALL) -m 0644 -D package/udev/udev.conf $(TARGET_DIR)/etc/udev
udev: uclibc $(TARGET_DIR)/$(UDEV_TARGET_BINARY)
next reply other threads:[~2006-12-01 17:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-01 17:49 aldot at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-13 19:58 [Buildroot] svn commit: trunk/buildroot/package/udev jacmet at uclibc.org
2008-12-08 13:48 jacmet at uclibc.org
2008-12-08 13:41 jacmet at uclibc.org
2008-12-08 13:41 jacmet at uclibc.org
2008-12-08 13:41 jacmet at uclibc.org
2008-04-06 10:35 nkukard at uclibc.org
2007-08-15 22:31 ulf at uclibc.org
2007-08-15 15:47 ulf at uclibc.org
2007-08-14 6:16 ulf at uclibc.org
2007-08-11 16:52 ulf at uclibc.org
2007-08-11 16:50 ulf at uclibc.org
2007-05-07 4:02 sjhill at uclibc.org
2007-01-19 16:23 aldot at uclibc.org
2007-01-14 0:59 sjhill at uclibc.org
2006-12-10 13:53 aldot at uclibc.org
2006-12-06 8:29 aldot at uclibc.org
2006-11-29 18:59 aldot at uclibc.org
2006-11-29 21:38 ` Petr Stetiar
2006-12-01 17:50 ` Bernhard Fischer
2006-12-01 20:47 ` ynezz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061201174943.1279148581@busybox.net \
--to=aldot@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox