You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Yocto Linux to build embedded Linux distributions. When building the root file system on a build host, I would like to be able to use sysrepoctl to install YANG modules and sysrepocfg to load default configurations from XML files. But, neither of these commands provide a command line argument to specify the root path. So, I have to delay installing YANG modules and loading default configurations until the first boot on the target hardware.
Please consider providing a --root or --installroot command line argument, so that the repository in the target root file system can be manipulated from a build host.
The text was updated successfully, but these errors were encountered:
krobbins
changed the title
Provide a =--root= or =--installroot= command line argument for =sysrepocfg= and =sysrepocfg=
Provide a --root or --installroot command line argument for sysrepocfg and sysrepocfg
Aug 1, 2018
krobbins
changed the title
Provide a --root or --installroot command line argument for sysrepocfg and sysrepocfg
Provide a --root or --installroot command line argument for sysrepocfg and sysrepocfgAug 1, 2018
krobbins
changed the title
Provide a --root or --installroot command line argument for sysrepocfg and sysrepocfg
Provide a --root or --installroot command line argument for sysrepocfg and sysrepocfg
Aug 1, 2018
We're using Buildroot internally, and we faced a similar problem as we're building on x86_64 and targeting ARM. A solution which works for us is to build sysrepo twice. The first build is for the host, the second one is for the target, and both share the target's staging area for /etc/sysrepo, the repository location. After that, one still needs to clean up the full paths which are embedded in the repo. Check the build recipes, I'll upstream them once the required changes which are already in sysrepo/netopeer2's devel branches hit a release.
I use Yocto Linux to build embedded Linux distributions. When building the root file system on a build host, I would like to be able to use
sysrepoctl
to install YANG modules andsysrepocfg
to load default configurations from XML files. But, neither of these commands provide a command line argument to specify the root path. So, I have to delay installing YANG modules and loading default configurations until the first boot on the target hardware.Please consider providing a
--root
or--installroot
command line argument, so that the repository in the target root file system can be manipulated from a build host.The text was updated successfully, but these errors were encountered: