Skip to content

Proposal: have cptofs support a simple script file that instructs it on what to copy into/out of an image #299

@copumpkin

Description

@copumpkin

#296 mentions that LKL can take some time to initialize which makes it impractical to call cptofs in a loop to put different things into it. #298 alleviates some of that pain, but doesn't handle cases like the following:

  1. Create folder /path/a/b/c in the image
  2. Copy the host's /another/path/foo, /another/path/bar, /another/path/baz into /path/a/b/c
  3. Copy the host's /yet/another/path/meow, /yet/another/path/woof into /path/a

If this sounds like it might get too gnarly, it might instead make sense to adapt the lkl-hijack.sh script to support filesystem operation redirection and then run scripts involving cp under it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions