[OE-core] Installing files in the /home/xxx directory

Ulf Samuelsson openembedded-core at emagii.com
Thu Oct 17 21:25:24 UTC 2013


Would like to install some files in under the "/home" directory.

A simplfied recipe looks like this:

do_install () {
     install -d ${D}/${base_dir}/home/root
     install    -m 0644    ${S}/my.conf ${D}/${base_dir}/home/root/my.conf
}

FILES_mypackage = "${base_dir}/home/root/* "

Have extended bitbake.conf
-----------------------------------------------------------------------------------------------------------------
+export base_dir = "${base_prefix}"
+export home_dir = "${base_prefix}/home"
-----------------------------------------------------------------------------------------------------------------


Still I get:
-----------------------------------------------------------------------------------------------------------------
WARNING: QA Issue: nodeserver: Files/directories were installed but not 
shipped
   /home
   /home/root
-----------------------------------------------------------------------------------------------------------------
What is wrong in above?

Any ideas on how to get files into "/home/xxx" ?

-- 
Best Regards
Ulf Samuelsson



More information about the Openembedded-core mailing list