Skip to content

start/macos: extend mount script to chdir workdir#79

Merged
slp merged 1 commit intocontainers:mainfrom
slp:macos-volumes-and-workdir
Feb 9, 2026
Merged

start/macos: extend mount script to chdir workdir#79
slp merged 1 commit intocontainers:mainfrom
slp:macos-volumes-and-workdir

Conversation

@slp
Copy link
Collaborator

@slp slp commented Feb 9, 2026

If workdir is pointing to one of the mounted volumes (something that's quite usual), it would appear empty because we switched to it in libkrun's init/init.c, before /.krunvm-mount.sh is executed.

Extend the script to also switch to workdir after mounting the volumes.

If workdir is pointing to one of the mounted volumes (something that's
quite usual), it would appear empty because we switched to it in
libkrun's init/init.c, before /.krunvm-mount.sh is executed.

Extend the script to also switch to workdir after mounting the volumes.

Signed-off-by: Sergio Lopez <slp@redhat.com>
@slp slp merged commit cc509b0 into containers:main Feb 9, 2026
4 checks passed
@slp slp deleted the macos-volumes-and-workdir branch February 9, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant