[Buildroot] [PATCH 1/1] package/busybox: mount /sys

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Nov 21 09:28:17 UTC 2021


Yann,

Le dim. 21 nov. 2021 à 08:22, Yann E. MORIN <yann.morin.1998 at free.fr> a écrit :
>
> Fabrice, All,
>
> On 2021-11-20 23:28 +0100, Fabrice Fontaine spake thusly:
> > Fixes:
> >  - https://bugs.buildroot.org/show_bug.cgi?id=14351
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> > ---
> >  package/busybox/inittab | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/package/busybox/inittab b/package/busybox/inittab
> > index ff1725c775..22e63d1603 100644
> > --- a/package/busybox/inittab
> > +++ b/package/busybox/inittab
>
> You missed package/sysvinit/inittab
>
> But we already have /sys in package/skeleton-init-sysv/skeleton/etc/fstab
> so how is going to play together?
>
> Adn finalyl, the 1-cent question (I can't afford the one-million dollar
> question): how does thing happen with systemd? With openrc?
Indeed, I'll backport the two upstream patches on utl-linux instead of
mounting /sys.
>
> Regards,
> Yann E. MORIN.
>
> > @@ -15,6 +15,7 @@
> >
> >  # Startup the system
> >  ::sysinit:/bin/mount -t proc proc /proc
> > +::sysinit:/bin/mount -t sysfs sysfs /sys
> >  ::sysinit:/bin/mount -o remount,rw /
> >  ::sysinit:/bin/mkdir -p /dev/pts /dev/shm
> >  ::sysinit:/bin/mount -a
> > --
> > 2.33.0
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at buildroot.org
> > https://lists.buildroot.org/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.  |
> '------------------------------^-------^------------------^--------------------'
Best Regards,

Fabrice


More information about the buildroot mailing list