UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor karl_hab
Visitor
623 Views
Registered: ‎10-16-2018

Petalinux add recept for nmap

Jump to solution

Hi everyone!

For my ZYNQ Ultrascale+ MPSoc Application i want to add nmap to petalinux-config.
I am working with Ubuntu 16.04 and petalinux 2018.2 and i get petalinux running on Ultrascale+. My next step is to add a recipe to petalinux for nmap.

What would be a propper way? I have the sources but not idea where to start with a yocto recipes to it.

Can anyone give me a more detailed guide as the AR# 67160 - How to add packages to PetaLinux?

0 Kudos
1 Solution

Accepted Solutions
Explorer
Explorer
582 Views
Registered: ‎10-21-2015

Re: Petalinux add recept for nmap

Jump to solution

Hi

Use yocto meta-security layer

$ git clone -b rocko git://git.yoctoproject.org/meta-security
$ petalinux-config

meta-security.png

$ petalinux-build -c nmap
4 Replies
Explorer
Explorer
583 Views
Registered: ‎10-21-2015

Re: Petalinux add recept for nmap

Jump to solution

Hi

Use yocto meta-security layer

$ git clone -b rocko git://git.yoctoproject.org/meta-security
$ petalinux-config

meta-security.png

$ petalinux-build -c nmap
Visitor karl_hab
Visitor
550 Views
Registered: ‎10-16-2018

Re: Petalinux add recept for nmap

Jump to solution

Thank you very much! Thank you, it's quite easy, straight forward and finally it works.

In a more general sense and for understanding, how would you write the recipe yourself?

0 Kudos
Moderator
Moderator
529 Views
Registered: ‎04-24-2017

Re: Petalinux add recept for nmap

Jump to solution

Hi @karl_hab,

Refer Yocto Project docs for writing recipes https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe https://www.yoctoproject.org/docs/1.8/bitbake-user-manual/bitbake-user-manual.html

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
Visitor karl_hab
Visitor
518 Views
Registered: ‎10-16-2018

Re: Petalinux add recept for nmap

Jump to solution

Hi @sandeepg,

Thank you for your replay, I'll try it right now.

0 Kudos