From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] Rework of the init system
Date: Sun, 27 May 2012 23:24:20 +0200 [thread overview]
Message-ID: <874nr18ghn.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <3516437e82a882bdc06039cc9dbb9cd7b67b14ad.1337947838.git.maxime.ripard@free-electrons.com> (Maxime Ripard's message of "Fri, 25 May 2012 14:11:06 +0200")
>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:
Hi,
Maxime> Since we have now two uncompatible init systems, and we want
Maxime> only one of them at the same time in use in the rootfs, we need
Maxime> to select a particular init system. This patch also adds
Maxime> $(PKG)_INSTALL_INIT_SYSTEMD and $(PKG)_INSTALL_INIT_SYSV hooks
Maxime> that are called when the matching init systems are selected to
Maxime> install properly the init scripts of the package.
Looks good, just a small comment:
Maxime> +++ b/target/generic/Config.in
Maxime> @@ -37,6 +37,34 @@ comment "udev requires a toolchain with LARGEFILE + WCHAR support"
Maxime> endchoice
Maxime> +choice
Maxime> + prompt "Init system"
Maxime> + default BR2_INIT_BUSYBOX
Maxime> + help
Maxime> + To select systemd, you first need to have dbus and udev enabled
That comment seems wrong as you are selecting dbus and DYNAMIC_UDEV
which ends up selecting udev.
Maxime> +
Maxime> +config BR2_INIT_BUSYBOX
Maxime> + bool "Busybox init"
Maxime> + select BR2_PACKAGE_BUSYBOX
Maxime> +
Maxime> +config BR2_INIT_SYSV
Maxime> + bool "Use systemV init"
Maxime> + select BR2_PACKAGE_SYSVINIT
Maxime> +
Maxime> +config BR2_INIT_SYSTEMD
Maxime> + bool "Use systemd"
You added "Use " in front of sysv + systemd, but not busybox - And
"init" after busybox + sysv. I suggest you drop both so it becomes just
busybox/systemv/systemd.
Maxime> + depends on BR2_LARGEFILE
Maxime> + depends on BR2_USE_WCHAR
Maxime> + depends on BR2_INET_IPV6
Maxime> + select BR2_PACKAGE_DBUS
You don't really need to select UDEV as it gets selected by systemd.
Maxime> + select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
Maxime> + select BR2_PACKAGE_SYSTEMD
Maxime> +
Maxime> +comment 'systemd requires largefile, wchar and IPv6 support'
Maxime> + depends on !(BR2_LARGEFILE && BR2_USE_WCHAR && BR2_INET_IPV6)
Maxime> +
Maxime> +endchoice
Maxime> +
Maxime> config BR2_ROOTFS_DEVICE_TABLE
Maxime> string "Path to the permission tables"
Maxime> default "target/generic/device_table.txt"
Maxime> --
Maxime> 1.7.9.5
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2012-05-27 21:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-25 12:11 [Buildroot] [pull request] Pull request for branch for-2012.08/systemd Maxime Ripard
2012-05-25 12:11 ` [Buildroot] [PATCH 1/2] Rework of the init system Maxime Ripard
2012-05-27 21:24 ` Peter Korsgaard [this message]
2012-05-25 12:11 ` [Buildroot] [PATCH 2/2] Add systemd unit for lighttpd Maxime Ripard
-- strict thread matches above, loose matches on Subject: below --
2012-05-29 10:00 [Buildroot] [pull request V2] Pull request for branch for-2012.08/systemd Maxime Ripard
2012-05-29 10:00 ` [Buildroot] [PATCH 1/2] Rework of the init system Maxime Ripard
[not found] ` <4FCD449E.9030700@mind.be>
2012-06-18 8:32 ` Maxime Ripard
2012-06-20 6:59 ` Arnout Vandecappelle
2012-06-20 12:30 ` Maxime Ripard
2012-06-18 8:50 [Buildroot] [pull request v3] Pull request for branch for-2012.08/systemd Maxime Ripard
2012-06-18 8:50 ` [Buildroot] [PATCH 1/2] Rework of the init system Maxime Ripard
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=874nr18ghn.fsf@macbook.be.48ers.dk \
--to=jacmet@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 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.