Skip to content

Commit

Permalink
Adjust to newly-built JLL
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Mar 28, 2023
1 parent 3abb89f commit 7854d6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ UserNSSandbox_jll = "b88861f7-1d72-59dd-91e7-a8cc876a4984"
Preferences = "1.2.5"
Scratch = "1"
Tar_jll = "1.34.0"
UserNSSandbox_jll = "2022.3.30"
UserNSSandbox_jll = "2023.3.27"
julia = "1.6"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion deps/build_local_sandbox.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ set_preferences!(
)
set_preferences!(
jll_uuid,
"userns_overlay_probe_path" => joinpath(sdir, "userns_overlay_probe");
"overlay_probe_path" => joinpath(sdir, "userns_overlay_probe");
force=true,
)
5 changes: 2 additions & 3 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,8 @@ end

function find_persist_dir_root(rootfs_path::String, dir_hints::Vector{String} = default_persist_root_dirs(); verbose::Bool = false)
function probe_overlay_mount(rootfs_path, mount_path; verbose::Bool = false, userxattr::Bool = false)
probe_exe = joinpath(dirname(UserNSSandbox_jll.sandbox_path), "userns_overlay_probe")

probe_args = String[]
probe_exe = UserNSSandbox_jll.overlay_probe_path
probe_args = String[]
if verbose
push!(probe_args, "--verbose")
end
Expand Down

2 comments on commit 7854d6b

@staticfloat
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/80477

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.6.0 -m "<description of version>" 7854d6ba4976a174baa9950ea90c7e3599ec8fef
git push origin v1.6.0

Please sign in to comment.