mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
package/eudev: support openrc init
Select udev-gentoo-scripts and avoid installing the sysv init script. Signed-off-by: Carlos Santos <unixmania@gmail.com> [yann.morin.1998@free.fr: use a fake openrc init hook] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
19c5075e0c
commit
44fe0ac94c
@ -5,6 +5,7 @@ config BR2_PACKAGE_EUDEV
|
|||||||
depends on BR2_USE_WCHAR # needs C99 compiler
|
depends on BR2_USE_WCHAR # needs C99 compiler
|
||||||
depends on !BR2_STATIC_LIBS # kmod
|
depends on !BR2_STATIC_LIBS # kmod
|
||||||
select BR2_PACKAGE_HAS_UDEV
|
select BR2_PACKAGE_HAS_UDEV
|
||||||
|
select BR2_PACKAGE_UDEV_GENTOO_SCRIPTS if BR2_INIT_OPENRC
|
||||||
select BR2_PACKAGE_UTIL_LINUX
|
select BR2_PACKAGE_UTIL_LINUX
|
||||||
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
||||||
select BR2_PACKAGE_KMOD
|
select BR2_PACKAGE_KMOD
|
||||||
|
@ -48,6 +48,12 @@ define EUDEV_INSTALL_INIT_SYSV
|
|||||||
$(INSTALL) -D -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
|
$(INSTALL) -D -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# Avoid installing S10udev with openrc, as the service is started by a unit
|
||||||
|
# from the udev-gentoo-scripts package.
|
||||||
|
define EUDEV_INSTALL_INIT_OPENRC
|
||||||
|
@:
|
||||||
|
endef
|
||||||
|
|
||||||
# Required by default rules for input devices
|
# Required by default rules for input devices
|
||||||
define EUDEV_USERS
|
define EUDEV_USERS
|
||||||
- - input -1 * - - - Input device group
|
- - input -1 * - - - Input device group
|
||||||
|
Loading…
x
Reference in New Issue
Block a user