This is the tree for petalinux.


I am looking for sysvinit package,which contains things like init ,halt etc. When this source code is compiled we get corresponding binaries in /sbin/. I found after compiling binary files like init.sysvinit,halt.sysvinit etc.

I can download the source code separately from here But the same package must be there in petlainux source also. How do I search these source code in petalinux tree above?

  • Can't say for sure but I think based on a quick check that petalinux perhaps uses busybox in place of sysvinit. Note that most normal linux distributions, other than debian, don't use sysvinit anymore (but they don't use busybox either). – goldilocks Apr 9 '14 at 11:04
  • Is Busybox an alternate to Sysvinit? And yes I have seen an option for busybox in the Configuration GUI of petalinux – gpuguy Apr 9 '14 at 11:28
  • Yes (it's more than just that though). Sysvinit is a specific implementation of the init daemon fundamental to all *nix style systems; busybox can serve a similar purpose. Init is the first process started by the kernel during boot. – goldilocks Apr 9 '14 at 12:33

You linked to a Linux kernel source tree. You won't find sysvinit there (nor any other program) because this is only the kernel, not a complete Linux distribution.

This Xilinx repository collection doesn't include sysvinit or any other init that I can find. The wiki mentions using BusyBox for userland tools, and says to download the upstream sources. BusyBox includes an init program.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.