All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] udev-gentoo-scripts: new packages
Date: Thu, 27 Feb 2020 21:29:28 +0100	[thread overview]
Message-ID: <20200227202928.GC8743@scaer> (raw)
In-Reply-To: <20200227145123.5654-2-unixmania@gmail.com>

Carlos, All,

On 2020-02-27 11:51 -0300, unixmania at gmail.com spake thusly:
> From: Carlos Santos <unixmania@gmail.com>
> 
> Gentoo scripts to initialize udev via openrc, to be used by eudev.
> 
> Signed-off-by: Carlos Santos <unixmania@gmail.com>

Applied to master, after fixing the commit title (missing leading
'package/' and trailing package singular). Thanks!

Regards,
Yann E. MORIN.

> ---
>  DEVELOPERS                                    |  1 +
>  package/Config.in                             |  1 +
>  package/udev-gentoo-scripts/Config.in         |  6 +++++
>  .../udev-gentoo-scripts.hash                  |  3 +++
>  .../udev-gentoo-scripts.mk                    | 22 +++++++++++++++++++
>  5 files changed, 33 insertions(+)
>  create mode 100644 package/udev-gentoo-scripts/Config.in
>  create mode 100644 package/udev-gentoo-scripts/udev-gentoo-scripts.hash
>  create mode 100644 package/udev-gentoo-scripts/udev-gentoo-scripts.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 7d3d1ca11a..d9d3b9e6c8 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -503,6 +503,7 @@ F:	package/skeleton-init-systemd/
>  F:	package/skeleton-init-sysv/
>  F:	package/skeleton/
>  F:	package/sysvinit/
> +F:	package/udev-gentoo-scripts/
>  F:	package/util-linux/
>  F:	package/tpm2-abrmd/
>  F:	package/tpm2-tools/
> diff --git a/package/Config.in b/package/Config.in
> index 2d3ae27b67..37faf5ce70 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -555,6 +555,7 @@ endmenu
>  	source "package/ubus/Config.in"
>  	source "package/uccp420wlan/Config.in"
>  	source "package/udev/Config.in"
> +	source "package/udev-gentoo-scripts/Config.in"
>  	source "package/udisks/Config.in"
>  	source "package/uhubctl/Config.in"
>  	source "package/umtprd/Config.in"
> diff --git a/package/udev-gentoo-scripts/Config.in b/package/udev-gentoo-scripts/Config.in
> new file mode 100644
> index 0000000000..9d6944354d
> --- /dev/null
> +++ b/package/udev-gentoo-scripts/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_UDEV_GENTOO_SCRIPTS
> +	bool
> +	depends on BR2_PACKAGE_EUDEV
> +	depends on BR2_INIT_OPENRC
> +	help
> +	  Init scripts for eudev.
> diff --git a/package/udev-gentoo-scripts/udev-gentoo-scripts.hash b/package/udev-gentoo-scripts/udev-gentoo-scripts.hash
> new file mode 100644
> index 0000000000..60563baae0
> --- /dev/null
> +++ b/package/udev-gentoo-scripts/udev-gentoo-scripts.hash
> @@ -0,0 +1,3 @@
> +# Locally calculated
> +sha256 b206f72c93cd2e51ed59061931918a9c23c3c1f7e6caffacc9d4f8915a42c30a  udev-gentoo-scripts-33.tar.bz2
> +sha256 329f95829088b95650b9012ae688f09baa1637985425a7964d33683363f48702  init.d/udev-settle
> diff --git a/package/udev-gentoo-scripts/udev-gentoo-scripts.mk b/package/udev-gentoo-scripts/udev-gentoo-scripts.mk
> new file mode 100644
> index 0000000000..a0598bcad8
> --- /dev/null
> +++ b/package/udev-gentoo-scripts/udev-gentoo-scripts.mk
> @@ -0,0 +1,22 @@
> +################################################################################
> +#
> +# udev-gentoo-scripts
> +#
> +################################################################################
> +
> +UDEV_GENTOO_SCRIPTS_VERSION = 33
> +UDEV_GENTOO_SCRIPTS_SOURCE = udev-gentoo-scripts-$(UDEV_GENTOO_SCRIPTS_VERSION).tar.bz2
> +UDEV_GENTOO_SCRIPTS_SITE = https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/snapshot
> +UDEV_GENTOO_SCRIPTS_LICENSE = GPL-2.0
> +UDEV_GENTOO_SCRIPTS_LICENSE_FILES = init.d/udev-settle
> +
> +# We don't need to symlink /etc/init.d/udev to /etc/runlevels/sysinit, since
> +# it's in the udev-settle and udev-trigger "need" lists.
> +define UDEV_GENTOO_SCRIPTS_INSTALL_INIT_OPENRC
> +	$(MAKE1) -C $(@D) install DESTDIR=$(TARGET_DIR)
> +	$(INSTALL) -d -m 755 $(TARGET_DIR)/etc/runlevels/sysinit
> +	ln -s -f /etc/init.d/udev-settle /etc/init.d/udev-trigger \
> +		$(TARGET_DIR)/etc/runlevels/sysinit
> +endef
> +
> +$(eval $(generic-package))
> -- 
> 2.18.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2020-02-27 20:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-27 14:51 [Buildroot] [PATCH 0/2] package/eudev: support openrc init unixmania at gmail.com
2020-02-27 14:51 ` [Buildroot] [PATCH 1/2] udev-gentoo-scripts: new packages unixmania at gmail.com
2020-02-27 20:29   ` Yann E. MORIN [this message]
2020-02-27 20:36     ` Yann E. MORIN
2020-02-27 14:51 ` [Buildroot] [PATCH 2/2] package/eudev: support openrc init unixmania at gmail.com
2020-02-27 20:35   ` Yann E. MORIN

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=20200227202928.GC8743@scaer \
    --to=yann.morin.1998@free.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.