[yocto] Missing init symbolic link in rootfs

ChenQi Qi.Chen at windriver.com
Sun Jul 7 18:46:45 PDT 2019


On 07/07/2019 07:01 AM, JH wrote:
> Hi,
>
> I built the rootfs image but it missed a symbolic link init at the /
> directory, although I added following init link manually, I should fix
> it in Yocto build. What should I fix the image build cofiguration  to
> include init link at the /?
>
> $ ls /
> bin   dev  home  lib    mnt   root  sbin  tmp  var
> boot  etc  init  media  proc  run   sys   usr
>
> $ ls -l /init
> init -> /sbin/init
>
> Thank you.
>
> Kind regards,
>
> - jupiter

/sbin/init is default location. Why do you need /init ?

Best Regards,

Chen Qi



More information about the yocto mailing list