systemd Latest Yocto Build Issue: i.MX6DL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

systemd Latest Yocto Build Issue: i.MX6DL

Jump to solution
214 Views
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

 

Labels (1)
0 Kudos
1 Solution
122 Views
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.

View solution in original post

3 Replies
189 Views
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 Kudos
123 Views
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 Views
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 Kudos