From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 3/6] systemd: bump to v206.
Date: Mon, 4 Nov 2013 12:45:24 +0100 [thread overview]
Message-ID: <20131104114524.GA30293@pc-eric> (raw)
In-Reply-To: <20131102193139.2af593b9@skate>
On Sat, Nov 02, 2013 at 07:31:39PM +0100, Thomas Petazzoni wrote:
Dear Thomas Petazzoni,
> > The selection of the following packages will also add features:
> >
> > - libglib2 package will add support for gudev.
> > - acl package will add support for multi-seat.
>
> Maybe this text should be mentioned in the help text of the systemd
> option.
Good suggestion. I will add it.
> > diff --git a/package/systemd/systemd-uclibc-fix.patch b/package/systemd/systemd-uclibc-fix.patch
> > deleted file mode 100644
> > index 9a20845..0000000
> > --- a/package/systemd/systemd-uclibc-fix.patch
> > +++ /dev/null
>
> Without this patch (or similar patches), systemd does not build with
> uClibc, so it should be marked to depend on (e)glibc.
As there was no advantage in using systemd with a uClibc toolchain, Arnout
Vandecappelle suggested that I add:
depends on !BR2_TOOLCHAIN_USES_UCLIBC
in system/Config.in, but I'd prefer to add:
depends on BR2_TOOLCHAIN_USES_GLIBC+
As I have not tested systemd with the musl libc yet. I will also remove the
uClib patches.
> > + select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
>
> Why do we have this select? I must say I don't really follow what's
> going on in system/Config.in in terms of init option vs. /dev
> management options.
The line
select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
is needed in order to have udisks and friends to show up. The 'depends' became
a 'select' as I swapped the selection of the init system and the /dev
management.
> > +comment 'systemd needs toolchain w/ stack smashing protection'
> > + depends on !BR2_TOOLCHAIN_HAS_SSP
>
> Wow, that's probably the first package that has this requirement. What
> happens when the toolchain doesn't have SSP support?
Without SSP, systemd does not build. It is compiled using lots of error
checking flags (see OUR_CFLAGS in configure.ac), which sounds sensible when
building a program meant to run as PID 1. This requirement made me report the
issue "uClibc fails to build with stack smash protection" back in September,
which was caused by the change in GCC build procedure (two steps instead of
three).
> > +comment "/dev management using udev (from systemd)"
> > + depends on BR2_INIT_SYSTEMD
>
> I don't think this comment is really needed.
I'd prefer to keep it: even if the end user does not have the choice of /dev
management, he is informed of the solution chosen for him.
>
> In order to make the patch series bisectable, I think I would suggest
> to have the following sequence:
>
> * Introduce the eudev package
>
> * Turn the udev package into a virtual package that uses the only
> available udev implementation: eudev
>
> * Bump the systemd package, and register it as a possible udev
> implementation.
>
> What do you think?
You are right. My initial problem was "bumping systemd", so I kept at looking
the udev stuff from this perspective. It seems more logical to see it as a
"bumping udev" problem. So, I will send a new series, with eudev as a starting
point.
Best Regards,
ELB
next prev parent reply other threads:[~2013-11-04 11:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-20 12:24 [Buildroot] [PATCH v2 0/6] package: udev is now provided by systemd or eudev Eric Le Bihan
2013-09-20 12:24 ` [Buildroot] [PATCH v2 1/6] system: move init system option above /dev management Eric Le Bihan
2013-11-02 18:06 ` Thomas Petazzoni
2013-09-20 12:24 ` [Buildroot] [PATCH v2 2/6] sysvinit: depend on SysV selected as init system Eric Le Bihan
2013-11-02 18:07 ` Thomas Petazzoni
2013-09-20 12:24 ` [Buildroot] [PATCH v2 3/6] systemd: bump to v206 Eric Le Bihan
2013-11-02 18:31 ` Thomas Petazzoni
2013-11-04 11:45 ` Eric Le Bihan [this message]
2013-11-04 12:03 ` Thomas De Schampheleire
2013-09-20 12:24 ` [Buildroot] [PATCH v2 4/6] systemd: set correct firmware search path Eric Le Bihan
2013-11-02 18:10 ` Thomas Petazzoni
2013-09-20 12:24 ` [Buildroot] [PATCH v2 5/6] package: update dependency on udev Eric Le Bihan
2013-09-20 12:24 ` [Buildroot] [PATCH v2 6/6] eudev: new package Eric Le Bihan
2013-11-02 18:34 ` [Buildroot] [PATCH v2 0/6] package: udev is now provided by systemd or eudev Thomas Petazzoni
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=20131104114524.GA30293@pc-eric \
--to=eric.le.bihan.dev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox