rapido-linux / rapido

Quickly test Linux kernel changes
GNU Lesser General Public License v2.1
22 stars 22 forks source link

Distribution packaging changes #228

Open ddiss opened 1 year ago

ddiss commented 1 year ago

An attempt to address https://github.com/rapido-linux/rapido/issues/204 . Packages based on this RFC can be found at: https://build.opensuse.org/package/show/home:dmdiss:rapido/rapido

The following changes since commit 7a71765ebcf2302962c7ec89432999f6400e73b0:

  autorun/ceph: load rbd module prior to sysfs IO (2023-09-11 12:31:33 +0200)

are available in the Git repository at:

  https://github.com/ddiss/rapido.git distro_pkg

for you to fetch changes up to 9eba94f75bca048a28b2d355060afd73f2e8edc0:

  tools/bash_completion: support rapido binary in PATH (2023-09-21 16:40:37 +0200)

----------------------------------------------------------------
David Disseldorp (4):
      build: add Makefile for install target
      build: generate and install /etc/rapido/rapido.conf
      runtime: use /etc/rapido/rapido.conf RAPIDO_CONF if present
      tools/bash_completion: support rapido binary in PATH

 Makefile              | 42 ++++++++++++++++++++++++++++++++++++++++++
 runtime.vars          |  8 ++++++--
 tools/bash_completion |  4 ++--
 3 files changed, 50 insertions(+), 4 deletions(-)
 create mode 100644 Makefile
ddiss commented 10 months ago

I'm going to close this one for now, as the branch is getting a little stale, and I'm still not sure how useful it'd be to have distro packages: I expect I'll always be running from a git checkout, but maybe I'd use this for CI jobs (shrug).

Werkov commented 10 months ago

FTR, Dockerfiles in OBS can do both. I use RPM currently (but can revert if you discontinue RPM).

ddiss commented 10 months ago

FTR, Dockerfiles in OBS can do both. I use RPM currently (but can revert if you discontinue RPM).

Ah okay, are your rpms based on these changes? If so I'll rebase this branch and start cleaning it up a bit.

Werkov commented 10 months ago

On Thu, Jan 18, 2024 at 02:12:48AM -0800, David Disseldorp @.***> wrote:

Ah okay, are your rpms based on these changes? If so I'll rebase this branch and start cleaning it up a bit.

They're based on [1] ¯_(ツ)_/¯ At the same time, you don't have to keep RPMs because of me.

I will likely notice when I rebuild the container and your OBS project is gone ;-)

[1] https://build.opensuse.org/package/show/home:dmdiss:rapido/rapido

ddiss commented 10 months ago

They're based on [1] ¯_(ツ)_/¯ At the same time, you don't have to keep RPMs because of me. I will likely notice when I rebuild the container and your OBS project is gone ;-) [1] https://build.opensuse.org/package/show/home:dmdiss:rapido/rapido

All good, will reopen as draft and put this on my queue... I was somehow under the impression that nobody was using / interested in it. I'll try to let you know if I make any breaking changes against what's already in the obs.

ddiss commented 1 week ago

Looking back through the changes here, I should be able to start merging some of the simple standalone changes as-is.