Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Has anybody got systemd to work?
@ 2012-06-18  2:45 Dmitry Golubovsky
  2012-06-18  7:15 ` Attila Kinali
  0 siblings, 1 reply; 10+ messages in thread
From: Dmitry Golubovsky @ 2012-06-18  2:45 UTC (permalink / raw)
  To: buildroot

Hi,

I am trying to boot a root FS built with systemd acting as init.

Looks like it fails in src/mount-setup.c, function
mount-group-controllers, ca. line 193.

I get an error message

Failed to parse /proc/cgroups.

as a result of

if (fscanf(f, "%ms %*i %*i %i", &controller, &enabled) != 2)

failing to parse /proc/cgroups.

I changed %ms to %s and added explicit malloc right before (only in
that file, mount-setup.c). I was able to get a bit further, but failed
on another instance of fscanf with %ms (anf there seem to be more
files with %ms

Is %ms format (pre-malloc a value buffer) or %as format supported in
uClibc in principle, or can it be enabled via specific configutration,
or expected in future versions?

I use uClibc 0.9.33

Has anybody seen this?

Thanks.

-- 
Dmitry Golubovsky

Anywhere on the Web

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-06-18 19:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18  2:45 [Buildroot] Has anybody got systemd to work? Dmitry Golubovsky
2012-06-18  7:15 ` Attila Kinali
2012-06-18 12:46   ` Dmitry Golubovsky
2012-06-18 12:53     ` Maxime Ripard
2012-06-18 12:58       ` Maxime Ripard
2012-06-18 13:02       ` Dmitry Golubovsky
2012-06-18 13:21       ` Attila Kinali
2012-06-18 13:32         ` Dmitry Golubovsky
2012-06-18 18:59           ` Dmitry Golubovsky
2012-06-18 19:43             ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox