Skip to content

Conversation

@ddiss
Copy link
Collaborator

@ddiss ddiss commented Nov 26, 2024

The first minor batch of changes moving rapido towards distro package support, cherry picked from #228 .
I've tacked on one extra selftests fix to handle upstream dracut output changes.

The following changes since commit c4e0cff00bfdaea03b960311266db5f59f7c5390:

  usbip_host_stub: cut and autorun scripts (2024-11-25 13:59:18 +1100)

are available in the Git repository at:

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

for you to fetch changes up to b33a5a1f5e80105bc5151b3827266d1a2cd9b78d:

  selftest/002: fix dracut-output needle (2024-11-26 15:52:33 +1100)

----------------------------------------------------------------
David Disseldorp (4):
      runtime: use /etc/rapido/rapido.conf RAPIDO_CONF if present
      tools/bash_completion: drop shebang
      rapido: don't cd into RAPIDO_DIR before cut invocation
      selftest/002: fix dracut-output needle

 rapido                | 18 ++++++------------
 runtime.vars          |  8 ++++++--
 selftest/test/002     |  2 +-
 tools/bash_completion |  1 -
 4 files changed, 13 insertions(+), 16 deletions(-)

Copy link
Collaborator

@pevik pevik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Reviewed-by: Petr Vorel <[email protected]>

Fix OBS sourced-script-with-shebang error.

Signed-off-by: David Disseldorp <[email protected]>
Rapido doesn't use working-directory relative paths, but is moving
towards supporting such paths for distribution packages, e.g.:
  DRACUT_OUT="rapido.cpio"

With such a configuration, cut scripts prior to this change will
attempt to write out the initramfs image under ${RAPIDO_DIR}/cut .

This commit also changes rapido_list() to use a similar cd-less pattern.

Signed-off-by: David Disseldorp <[email protected]>
Dracut 059+suse.541.g3c2df232-150600.3.11.2 (openSUSE 15.6) uses a
"dracut[I]: *** " line prefix, instead of the previous "dracut: ***".

Signed-off-by: David Disseldorp <[email protected]>
@ddiss ddiss force-pushed the prelim_distro_pkg branch from b33a5a1 to f5bce8d Compare November 27, 2024 10:52
@ddiss ddiss merged commit a5f47b2 into rapido-linux:master Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants