[oe] How to add special directories and files to a native package ?

Hauser, Wolfgang (external) Wolfgang.Hauser.external at cassidian.com
Thu Sep 23 09:16:17 UTC 2010


Hello,

I managed the providing of my none standard directories.

I use following statement to append the processing of the directories:

sysroot_stage_dirs_append() {
    sysroot_stage_dir $from/usr/local/xxx/yyy $to${STAGING_DIR_HOST}/usr/local/xxx/yyy
}

I haven't see that in a recipe yet.
Is that a proper way ? What are the possible impacts ?

Regards
Wolfgang Hauser

-----Ursprüngliche Nachricht-----
Von: Hauser, Wolfgang (external) 
Gesendet: Dienstag, 21. September 2010 12:13
An: 'openembedded-devel at lists.openembedded.org'
Betreff: How to add special directories and files to a native package ? 

Hello,

I have to place some files into a special path in a native package / staging.

I tried to add these directories by

FILES_${PN} = " \
  /usr/local/xxx/bin \
  /usr/local/xxx/lib \
  /usr/local/xxx/scripts \
"

in my xxx-native recipe, but this won't work for the native staging, the directories do not appear in the syssroots/i386-linux path where I expected they will go to. (same, if I use BBCLASSEXTEND)

Where I have to add my special directories and files to get it into the native staging path ?

Background, I can't install the application into the standard linux path, there are some conflicts,

Regards
Wolfgang Hauser




More information about the Openembedded-devel mailing list