systemd Latest Yocto Build Issue: i.MX6DL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

systemd Latest Yocto Build Issue: i.MX6DL

跳至解决方案
214 次查看
Chandrashekhar_MVE
Contributor III

Hi 

I am facing issue with systemd with fsl-imx-preferred-env.inc,

built rootfs using 

$ DISTRO=fsl-imx-xwayland MACHINE=imx6dlsabresd source imx-setup-release.sh -b build-xwayland

$ bitbake imx-image-full

When I boot the they system getting below message, which is stopping me to run systemd. 

Reloading system manager configuration.
[ 2830.481105] systemd-sysv-generator[677]: SysV service '/etc/init.d/sshd' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.513005] systemd-sysv-generator[677]: SysV service '/etc/init.d/alignment.sh' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.546612] systemd-sysv-generator[677]: SysV service '/etc/init.d/sendsigs' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.577386] systemd-sysv-generator[677]: SysV service '/etc/init.d/trousers' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.608168] systemd-sysv-generator[677]: SysV service '/etc/init.d/umountnfs.sh' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.639632] systemd-sysv-generator[677]: SysV service '/etc/init.d/tee-supplicant' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.670915] systemd-sysv-generator[677]: SysV service '/etc/init.d/halt' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.706333] systemd-sysv-generator[677]: SysV service '/etc/init.d/single' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.739992] systemd-sysv-generator[677]: SysV service '/etc/init.d/reboot' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.770901] systemd-sysv-generator[677]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.803557] systemd-sysv-generator[677]: SysV service '/etc/init.d/umountfs' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.834325] systemd-sysv-generator[677]: SysV service '/etc/init.d/psplash.sh' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.865316] systemd-sysv-generator[677]: SysV service '/etc/init.d/save-rtc.sh' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
[ 2830.896496] systemd-sysv-generator[677]: SysV service '/etc/init.d/fuse' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
Starting default.target
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, or "exiPress Enter for maintenance
(or press Control-D to continue):

Need solution for this problem. We need systemd in our system for some of services to start.

 

Rgds

Chandra

 

标签 (1)
0 项奖励
1 解答
122 次查看
Chandrashekhar_MVE
Contributor III
Issue got resolved, this problem due to SDCARD flashing. rootfs not had root permissions so some of files not getting created.

在原帖中查看解决方案

3 回复数
189 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

This error is due to host pc, make sure that your host has all the yocto packages, build the full image first the you can build your image,

Regards

0 项奖励
123 次查看
Chandrashekhar_MVE
Contributor III
Issue got resolved, this problem due to SDCARD flashing. rootfs not had root permissions so some of files not getting created.
193 次查看
Chandrashekhar_MVE
Contributor III

below is the shell we are getting,

You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, or "exit"
to continue bootup.
Press Enter for maintenance
(or press Control-D to continue):


sh-5.2#
sh-5.2#
sh-5.2#

0 项奖励