[Buildroot] [PATCH 1/1] package/sysrepo: fix host/staging install steps

Heiko Thiery heiko.thiery at gmail.com
Tue Nov 12 07:53:43 UTC 2019


Am Mo., 11. Nov. 2019 um 20:22 Uhr schrieb Heiko Thiery
<heiko.thiery at gmail.com>:
>
>
> Thomas Petazzoni <thomas.petazzoni at bootlin.com> schrieb am Mo., 11. Nov. 2019, 16:12:
>>
>> On Mon, 11 Nov 2019 16:04:15 +0100
>> Heiko Thiery <heiko.thiery at gmail.com> wrote:
>>
>> > Installing the sysrepo database to the target directory
>>
>> And how do you do that? When does it happen?
>>
>> Thomas
>> --
>> Thomas Petazzoni, CTO, Bootlin
>> Embedded Linux and Kernel engineering
>> https://bootlin.com
>
>
> When setting the REPOSITORY_LOC=$(TARGET_DIR)/etc/sysrepo in the host confguration the syrepo database
> is created correctly in the install step into the target dir. But then in all install steps (host, staging and target) the files
> are created in the target dir. Therefore I do not allow to use the sysrepo buildsystem install in host and staging step.
> The files that are incluenced form this REPOSITORY_LOC setting will en in "etc/sysrepo/yang/" and "etc/sysrepo/data".

So if it is no problem that the host install and staging install
copies files to the target directory the simplest solution is just
to set the  REPOSITORY_LOC=$(TARGET_DIR)/etc/sysrepo in the host configuration.


More information about the buildroot mailing list