mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
- bump version. Thanks to Petr Stetiar.
This commit is contained in:
parent
60f03494ac
commit
b9d31ddac5
@ -27,6 +27,8 @@ UDEV_BIN=/sbin/udev
|
|||||||
test -x $UDEV_BIN || exit 5
|
test -x $UDEV_BIN || exit 5
|
||||||
UDEVSTART_BIN=/sbin/udevstart
|
UDEVSTART_BIN=/sbin/udevstart
|
||||||
test -x $UDEVSTART_BIN || exit 5
|
test -x $UDEVSTART_BIN || exit 5
|
||||||
|
UDEVD_BIN=/sbin/udevd
|
||||||
|
test -x $UDEVD_BIN || exit 5
|
||||||
|
|
||||||
# Check for config file and read it
|
# Check for config file and read it
|
||||||
UDEV_CONFIG=/etc/udev/udev.conf
|
UDEV_CONFIG=/etc/udev/udev.conf
|
||||||
@ -64,7 +66,10 @@ case "$1" in
|
|||||||
echo -n "Populating $udev_root using udev... "
|
echo -n "Populating $udev_root using udev... "
|
||||||
$UDEVSTART_BIN || (echo "FAIL" && exit 1)
|
$UDEVSTART_BIN || (echo "FAIL" && exit 1)
|
||||||
mkdir $udev_root/pts $udev_root/shm
|
mkdir $udev_root/pts $udev_root/shm
|
||||||
|
# start daemon
|
||||||
|
$UDEVD_BIN --daemon || (echo "udevd FAIL" && exit 1)
|
||||||
echo "done"
|
echo "done"
|
||||||
|
mount -a
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
# do nothing
|
# do nothing
|
||||||
|
12
package/udev/udev-100.fix_makefile.patch
Normal file
12
package/udev/udev-100.fix_makefile.patch
Normal file
@ -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
|
@ -3,7 +3,7 @@
|
|||||||
# udev
|
# udev
|
||||||
#
|
#
|
||||||
#############################################################
|
#############################################################
|
||||||
UDEV_VERSION:=094
|
UDEV_VERSION:=100
|
||||||
UDEV_SOURCE:=udev-$(UDEV_VERSION).tar.bz2
|
UDEV_SOURCE:=udev-$(UDEV_VERSION).tar.bz2
|
||||||
UDEV_SITE:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
|
UDEV_SITE:=ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
|
||||||
UDEV_CAT:=$(BZCAT)
|
UDEV_CAT:=$(BZCAT)
|
||||||
@ -35,7 +35,7 @@ $(UDEV_DIR)/.configured: $(UDEV_DIR)/.unpacked
|
|||||||
touch $(UDEV_DIR)/.configured
|
touch $(UDEV_DIR)/.configured
|
||||||
|
|
||||||
$(UDEV_DIR)/$(UDEV_BINARY): $(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)" \
|
CFLAGS="$(BR2_UDEV_CFLAGS)" \
|
||||||
USE_LOG=false USE_SELINUX=false \
|
USE_LOG=false USE_SELINUX=false \
|
||||||
udevdir=$(UDEV_ROOT) -C $(UDEV_DIR)
|
udevdir=$(UDEV_ROOT) -C $(UDEV_DIR)
|
||||||
@ -45,19 +45,21 @@ $(UDEV_DIR)/$(UDEV_BINARY): $(UDEV_DIR)/.configured
|
|||||||
# default access controls prevent non-root tasks from running. Many of the
|
# default access controls prevent non-root tasks from running. Many of the
|
||||||
# rule files rely on PROGRAM invocations (e.g. extra /etc/udev/scripts);
|
# rule files rely on PROGRAM invocations (e.g. extra /etc/udev/scripts);
|
||||||
# for now we'll avoid having buildroot systems rely on them.
|
# 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)
|
$(TARGET_DIR)/$(UDEV_TARGET_BINARY): $(UDEV_DIR)/$(UDEV_BINARY)
|
||||||
-mkdir $(TARGET_DIR)/sys
|
-mkdir $(TARGET_DIR)/sys
|
||||||
install -D -m 0644 $(UDEV_DIR)/$(UDEV_CONF) \
|
-mkdir $(TARGET_DIR)/etc/udev/rules.d
|
||||||
$(TARGET_DIR)/etc/udev/rules.d/50-udev.rules
|
$(INSTALL) -D -m 0644 $(UDEV_DIR)/$(UDEV_CONF) \
|
||||||
$(MAKE) CROSS=$(TARGET_CROSS) CC=$(TARGET_CC) LD=$(TARGET_CC) \
|
$(TARGET_DIR)/etc/udev/rules.d
|
||||||
|
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) CC=$(TARGET_CC) LD=$(TARGET_CC) \
|
||||||
DESTDIR=$(TARGET_DIR) \
|
DESTDIR=$(TARGET_DIR) \
|
||||||
CFLAGS="$(BR2_UDEV_CFLAGS)" \
|
CFLAGS="$(BR2_UDEV_CFLAGS)" \
|
||||||
LDFLAGS="-warn-common" \
|
LDFLAGS="-warn-common" \
|
||||||
USE_LOG=false USE_SELINUX=false \
|
USE_LOG=false USE_SELINUX=false \
|
||||||
udevdir=$(UDEV_ROOT) -C $(UDEV_DIR) install
|
udevdir=$(UDEV_ROOT) -C $(UDEV_DIR) install
|
||||||
$(INSTALL) -m 0755 -D package/udev/init-udev $(TARGET_DIR)/etc/init.d/S10udev
|
$(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)
|
udev: uclibc $(TARGET_DIR)/$(UDEV_TARGET_BINARY)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user