-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help for overriding paths during build #787
Comments
@lsm5 any tips? |
Thanks for your report. https://github.com/Homebrew/homebrew-core/pull/47766/files does indeed look painful — likely enough to happen again, and it fails silently. In principle I think the skopeo Figuring out the c/image major version component automatically within the Makefile should be possible as well. Testing that the overrides are applied and not ignored would, I suppose, happen through the integration tests “impacted” above. |
We started having issues with `pkgs.dockerTools.pullImage`, were it would fail with: ``` FATA[0000] Error loading trust policy: open /etc/containers/policy.json: no such file or directory ``` It turns out that since `skopeo` was bumped to `0.1.40`, it was accidentally no longer being built with a default policy. This may happen again, see containers/skopeo#787
We started having issues with `pkgs.dockerTools.pullImage`, were it would fail with: ``` FATA[0000] Error loading trust policy: open /etc/containers/policy.json: no such file or directory ``` It turns out that since `skopeo` was bumped to `0.1.40`, it was accidentally no longer being built with a default policy. This may happen again, see containers/skopeo#787
We started having issues with `pkgs.dockerTools.pullImage`, were it would fail with: ``` FATA[0000] Error loading trust policy: open /etc/containers/policy.json: no such file or directory ``` It turns out that since `skopeo` was bumped to `0.1.40`, it was accidentally no longer being built with a default policy. This may happen again, see containers/skopeo#787 (cherry picked from commit a646f4b)
We started having issues with `pkgs.dockerTools.pullImage`, were it would fail with: ``` FATA[0000] Error loading trust policy: open /etc/containers/policy.json: no such file or directory ``` It turns out that since `skopeo` was bumped to `0.1.40`, it was accidentally no longer being built with a default policy. This may happen again, see containers/skopeo#787
This is also makes porting to FreeBSD harder - FreeBSD ports install files with |
@mateuszkwiatkowski Please open a PR to fix issues that you see. My PR was merged back in January, what other issues do you want fixed? |
@rhatdan the issue here is that |
I don’t think that adding more hard-coded paths to c/image is going to make relocation any easier. At the top level, Skopeo’s That makes the discussion of what c/image should support ultimately less urgent. I could imagine another c/image variable ( BTW |
Handling $PREFIX for binaries and documentation was fixed in containers#1168. This commit puts configuration files to $PREFIX/etc/containers. Fixes containers#787
A friendly reminder that this issue had no activity for 30 days. |
Well it would still be a good idea (but low priority, sure) to make this easier; #1298 not being finished doesn’t mean the problem went away. |
This will put config dir under $PREFIX for FreeBSD. Continuing PR#1298 by @mateuszkwiatkowski. Fixes: containers#787 Signed-off-by: Lokesh Mandvekar <[email protected]>
This will put config dir under $PREFIX for FreeBSD. Continuing PR#1298 by @mateuszkwiatkowski. Fixes: containers#787 Signed-off-by: Lokesh Mandvekar <[email protected]>
A friendly reminder that this issue had no activity for 30 days. |
in brew packaging, the paths have gone wrong at least twice now:
FATA[0000] Error loading trust policy: open /etc/containers/policy.json: no such file or directory
Is there anything from skopeo side that can be done to improve this?
For example support for building to use standard env variables or build from makefile and make arguments.
Or alias the build time configurable into namespace that does not change with each release for example to main module? config module?
also, perhaps
skopeo --version --verbose
(orskypeo --config
, orskopeo config
)could output configured paths? so could use assert_match in brew formula test stage?The text was updated successfully, but these errors were encountered: