On 2013-10-17 23:25, Ulf Samuelsson wrote:
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" ?

When everything else fails, try the obvious...

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

FILES_${PN} += " \
           /home/root/* \
        "

--
Best Regards
Ulf Samuelsson
eMagii

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to