Hi,
After adding "systemd-conf" to variable IMAGE_INSTALL_append in configs/yocto/local_arm64_devel.conf, I got the yocto root file system. then same image I flash to the board.
I try to create the systemd service on /etc/systemd/system/ directory and service name is Startup@.service
Startup@.service is contains:
Description=Service Start
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=on-failure
RestartSec=2
ExecStart=/bin/bash /etc/init.d/startup_service
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
After the creating Startup@.service file i try to enable the service using "systemctl enable Startup@.service" but this command is giving error.
ERROR : "-sh: systemctl: command not found"
Please let me know where missing while creating a systemd service OR is there any other way to create the systemd service means procedure.
Thanks & Regards,
Chethan GR