From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtprelay-b21.telenor.se (smtprelay-b21.telenor.se [195.54.99.212]) by mail.openembedded.org (Postfix) with ESMTP id 1271A615A9 for ; Mon, 21 Oct 2013 20:08:04 +0000 (UTC) Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-b21.telenor.se (Postfix) with ESMTP id D0EBBEB3CE for ; Mon, 21 Oct 2013 22:08:04 +0200 (CEST) X-SENDER-IP: [83.227.59.84] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvQcABKJZVJT4ztUPGdsb2JhbAANTIt3s02CeoFFAwEBAQE4gloBAQEBAzhAEQsYCRYPCQMCAQIBMRQGDQgBAYgHpnqTPo9ihCkDmAmVLQ X-IronPort-AV: E=Sophos;i="4.93,542,1378850400"; d="scan'208";a="417748340" Received: from c-543be353.011-39-73746f12.cust.bredbandsbolaget.se (HELO [10.175.196.199]) ([83.227.59.84]) by ipb3.telenor.se with ESMTP; 21 Oct 2013 22:08:04 +0200 Message-ID: <526589A3.3010905@emagii.com> Date: Mon, 21 Oct 2013 22:08:03 +0200 From: Ulf Samuelsson Organization: eMagii User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Patches and discussions about the oe-core layer References: <526055C4.40807@emagii.com> In-Reply-To: <526055C4.40807@emagii.com> Subject: Re: Installing files in the /home/xxx directory X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ulf@emagii.com List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 20:08:04 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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