[yocto] Which package provides reboot.target and shudown.target

Vivek Per pervivek at gmail.com
Sun Mar 6 20:41:22 PST 2016


HI,
    Thanks for your help, Does  "reboot.target" comes form any package or
we have to manually write those service/target files .

Thanks and regards
   Vivek

On Sat, Mar 5, 2016 at 5:02 AM, Khem Raj <raj.khem at gmail.com> wrote:

> On Fri, Mar 4, 2016 at 5:25 PM, Vivek Per <pervivek at gmail.com> wrote:
> > Hi,
> >                I am using systemd in my target, Currently I am using
> "reboot
> > -f" to reboot the system, i don't want to reboot like that. I am not
> able to
> > reboot my system by simply using "reboot" , because I am using systemd
> not
> > sysvinit. In sysvinit it internally calls "telinit" (or) "shutdown" with
> > runlevels(0-6) , But both are absent in my case . I am using reboot
> command
> > form "busybox". I dont know whether "reboot" command is provided from any
> > other package. Can any one suggest me how can i use just "reboot" to
> reboot
> > my system. I am using Yocto build setup (poky 1.7) for this.
> >    I found that systemd provides some runlevels similar to sysvinit  as
> > given below
> > https://www.freedesktop.org/software/systemd/man/systemd.special.html
> >  Does any one can tell which recipe provides these target files. Any
> help is
> > appreciated .
>
> user systemctl reboot
>
> >
> >
> > Thanks and Regards
> >    Vivek
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160307/8c6a7662/attachment.html>


More information about the yocto mailing list