Add a package to my base distribution

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

Add a package to my base distribution

637 Views
gauthier
Contributor III

I have successfully built a core-image for my Sabre-SD board.

Now I want to customize the image, and start simple by just adding a package.

I noticed I could bitbake openssh, which generated files in:

- build/tmp/sysroots/imx6qsabresd/usr/lib

It generated NO files in:

- build/tmp/sysroots/imx6qsabresd/usr/bin

- build/tmp/sysroots/imx6qsabresd/usr/sbin (which does not even exist)

I did try to copy the openssh-related files in lib to my SDcard, but that couldn't let me use openssh.

Since the recipe for openssh was there, I thought I could just bake it, and copy the generated files to my rootfs. Apparently I am wrong.

What am I missing?

Labels (3)
0 Kudos
2 Replies

453 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

If you delploy the sdcard do you get the same problem?

Task #4 - Deploy and test

Best Regards,

Alejandro

0 Kudos

453 Views
gauthier
Contributor III

The thing is that I do not build in SSH in the distribution. Adding the recipe in the image.bb (dropbear) works. I had the impression that I could build the package separately then install it in an already existing rootfs, maybe that's where I am mistaken?

0 Kudos