Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* building nvmetcli in buildroot
@ 2017-11-09 11:48 stephane gonauer
  2017-11-09 17:10 ` Christoph Hellwig
  0 siblings, 1 reply; 6+ messages in thread
From: stephane gonauer @ 2017-11-09 11:48 UTC (permalink / raw)


Hello,

I would like to embed nvmetcli into a buildroot project of mine. So I
wrote the first patch (0001-package-add-nvmetcli-package.patch) to
include the nvmetcli as a package .

However this doesn't work well because the setup.cfg from your tree
ends up causing buildroot to try to copy nvmetcli.py to the *HOST*
/usr/sbin.

I looked around other python packages built in my configuration and
no-one seems to use the same "install_scripts" keyword.

So I made the second patch (0001-build-remove-setup.cfg.patch) which
applies against the current nvmetcli tree. With this one, buildroot
does work but the script is placed into /usr/bin.

I wonder if this patch could be applied to your tree or if a better
solution exists.


St?phane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-package-add-nvmetcli-package.patch
Type: text/x-patch
Size: 2281 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20171109/517df33f/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-remove-setup.cfg.patch
Type: text/x-patch
Size: 753 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20171109/517df33f/attachment-0003.bin>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-10 14:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09 11:48 building nvmetcli in buildroot stephane gonauer
2017-11-09 17:10 ` Christoph Hellwig
2017-11-10  7:43   ` stephane gonauer
2017-11-10  8:19     ` Christoph Hellwig
2017-11-10 11:17     ` Mauro Rodrigues
2017-11-10 14:31       ` stephane gonauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox