-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Adding patch file support for Open Embedded. #129
Conversation
current result is allenh1/meta-ros#28 |
Note that I don't expect the CI to pass until after #128 is merged (or, rather, after we fix the tests). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few quick comments.
superflore/generators/bitbake/run.py
Outdated
' %s from ROS distro %s from allenh1\'s fork of Meta-ROS ' + | ||
'from commit %s.' % ( | ||
'Superflore yocto generator began regeneration of package(s)' | ||
' %s from ROS distro %s from allenh1\'s fork of Meta-ROS' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is missing a parameterization based on #128
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I think the allenh1
part can be removed.
if self.patch_files: | ||
ret += 'SRC_URI += "\\\n' | ||
ret += ' \\\n'.join(self.patch_files) + '"\n\n' | ||
if self.name == 'catkin': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these be integrated into patches?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the normal sense, no. I think I could, however, just detect an existing .inc
file and include it.
aa01f30
to
951e972
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks much cleaner
* Adding patch file support for Open Embedded. * Remap distro parameter for bitbake. * Fix commit string. * Use .inc files for catkin FILES appendages instead of hardcoding.
This includes fies in the
files
directory as patches within the generated recipe text.connects to #129