Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isar-setup-builddir only looks for .sample files in TEMPLATECONF folder #55

Open
protenhan opened this issue Apr 18, 2019 · 0 comments
Open

Comments

@protenhan
Copy link

protenhan commented Apr 18, 2019

I'm quite new to using isar and bitbake but so far I found working with it a quite smooth experience.
However, I observed that the isar-setup-builddir script is only copying the content of bblayers.conf.sample and local.conf.sample to build/conf/.
See here

ISARCORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample"
ISARCORELOCALCONF="$TEMPLATECONF/local.conf.sample"

This will display an error message that the directory configured in .templateconf does not contain a local.conf file and also no bblayers.conf.
My naive assumption would be that I could provide a meta-isar/conf/local.conf right next to the meta-isar/conf/local.conf.sample and isar-setup-builddir would take this one instead and also not show the warning message.

Something like this:

if [ -r "$TEMPLATECONF/bblayers.conf"]; then
    ISARCORELAYERCONF="$TEMPLATECONF/bblayers.conf"
else
    ISARCORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample"
fi

Or is this a design decision because of how Bitbake works? I myself like the approach of just deleting the whole build folder and then let isar take care of copying the files to the right locations.

@protenhan protenhan changed the title isar-setup-builddir only loks for .sample files in TEMPLATECONF folder isar-setup-builddir only looks for .sample files in TEMPLATECONF folder Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant