Skip to content

Support local filesystem mount of remote device for iterative build-install-test workflows #322

@raballew

Description

@raballew

Use Case

When doing iterative development targeting physical hardware managed by Jumpstarter, I want to avoid the full flash-and-reboot cycle for every change. Instead, I want to:

  1. Flash a base image once
  2. Mount the device's filesystem locally
  3. Build and install directly to the mount
  4. Run tests

This dramatically shortens the edit-build-test loop by eliminating the reboot, which can take minutes depending on the hardware.

Desired Workflow

(rcar_s4) $ j storage flash --file ./my-remote-image.raw
(rcar_s4) $ mkdir -p /tmp/device-mnt
(rcar_s4) $ j mount /tmp/device-mnt
(rcar_s4) $ make
(rcar_s4) $ make install DESTDIR=/tmp/device-mnt
(rcar_s4) $ j tmt run --all

Why This Matters

For kernel and driver development on embedded targets (e.g., R-Car S4), a typical iteration involves:

  • Changing a few source files
  • Building (seconds with ccache)
  • Re-flashing (only seconds with simg)
  • Rebooting the device (minutes depending on the hardware) - this is the bottleneck
  • Running tests

With j mount, the install step becomes a direct file copy to the device's filesystem.

Expected Behavior for j mount

  • Exposes the storage as a locally mountable filesystem via sshfs
  • Supports read-write access
  • Works with standard tools (make install, cp, rsync)
  • Unmounts cleanly on session end or explicit j umount

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions