Skip to content
Snippets Groups Projects

pmb.config: Check for kpartx and losetup with --json support

Merged Newbyte requested to merge newbyte/losetup-kpartx-host into master

Running these inside the chroot is tricky, and we ended up reverting previous commits that attempted to make them run there (see 1ec55fc1). As such, just accept defeat and ensure that the host has these.

Also see #2465 (closed)


Additionally, some other minor fixes. Please test this on a system without kpartx and losetup from util-linux. I tested it with the CI, and it seems to work as expected.

To test this, run $ pmbootstrap init and ensure that it errors out of losetup and kpartx aren't installed. Additionally, it should error if losetup from BusyBox is used.

Edited by Newbyte

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading