Make a package for nvme-cli and include it into the images. #48

Merged
PeterSurda merged 1 commits from lee.miller/openwrt:nvme into main 2023-06-20 05:12:17 +02:00
Collaborator

Hi!

Addressing the #47. The nvme-cli is actually a mega-package which includes also libnvme and json-c. The dependencies can be separated into additional packages if there will be other depending packages in the future.

Hi! Addressing the #47. The `nvme-cli` is actually a mega-package which includes also `libnvme` and `json-c`. The dependencies can be separated into additional packages if there will be other depending packages in the future.
Owner

I'll check it tomorrow, in the meantime can you move the installation to the waveshare image? I don't need it in the other two.

I'll check it tomorrow, in the meantime can you move the installation to the `waveshare` image? I don't need it in the other two.
lee.miller force-pushed nvme from e75e49e588 to 5aa3141ed8 2023-06-18 18:03:46 +02:00 Compare
Author
Collaborator

I'll check it tomorrow, in the meantime can you move the installation to the waveshare image? I don't need it in the other two.

Done. Should I move also kmod-nvme?

> I'll check it tomorrow, in the meantime can you move the installation to the `waveshare` image? I don't need it in the other two. Done. Should I move also `kmod-nvme`?
lee.miller force-pushed nvme from 5aa3141ed8 to def7d4097f 2023-06-18 22:16:44 +02:00 Compare
Owner

I'll check it tomorrow, in the meantime can you move the installation to the waveshare image? I don't need it in the other two.

Done. Should I move also kmod-nvme?

Yes that's a great idea please do that.

> > I'll check it tomorrow, in the meantime can you move the installation to the `waveshare` image? I don't need it in the other two. > > Done. Should I move also `kmod-nvme`? Yes that's a great idea please do that.
PeterSurda approved these changes 2023-06-19 06:52:34 +02:00
PeterSurda left a comment
Owner

It works, except the name of the executable but that's not a big deal.

It works, except the name of the executable but that's not a big deal.
@ -0,0 +34,4 @@
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/nvme $(1)/usr/sbin/nvme-cli
Owner

It shouldn't be nvme-cli, it isn't called nvme-cli in Ubuntu for example. Just nvme.

It shouldn't be `nvme-cli`, it isn't called `nvme-cli` in Ubuntu for example. Just `nvme`.
lee.miller marked this conversation as resolved
lee.miller force-pushed nvme from def7d4097f to aed9b64b71 2023-06-19 13:50:40 +02:00 Compare
Owner

All good.

All good.
PeterSurda merged commit aed9b64b71 into main 2023-06-20 05:12:17 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sysdeploy/openwrt#48
No description provided.