[elbe-users] debootstrapvariant minbase produces no link to /sbin/init

ew.foe at nassur.net ew.foe at nassur.net
Mon Feb 3 21:30:16 CET 2020


Hello,

I tried to add
>  <debootstrapvariant>minbase</debootstrapvariant>
and
>  <pkg-list>
>      <pkg>systemd</pkg>
>  </pkg-list>
to my existing build. It does build successfully.

However, the resulting image would not boot:
> devtmpfs: mounted
> Freeing unused kernel memory: 1024K
> Run /sbin/init as init process
> Run /etc/init as init process
> Run /bin/init as init process
> Run /bin/sh as init process
> random: fast init done
> /bin/sh: 0: Can't open earlyprintk

Turns out that "/sbin/init" is missing. Adding this
>  <finetuning>
>      <!-- explicit *link* of systemd -->
>      <ln path="/lib/systemd/systemd">/sbin/init</ln>
>  </finetuning>
helps.

Bug or feature?

In my case building without minbase takes some 16 Minutes,
building with minbase enabled reduces that to 9 Minutes.
elbe 12.1 on
Debian 10

Cheers,
Erich





More information about the elbe-users mailing list