feat(26.04): update ca-certificates(-java)#908
feat(26.04): update ca-certificates(-java)#908lczyk wants to merge 9 commits intocanonical:ubuntu-26.04from
ca-certificates(-java)#908Conversation
Test CoverageAverage Total Coverage: 42.99% Arch: aarch64Coverage: 42.99%
|
vpa1977
left a comment
There was a problem hiding this comment.
Looks good, some nits present.
I am not sure about renaming the slice - we are breaking the backwards compatibility here.
| chroot . find /etc/ssl/certs/ -name *.pem -exec echo +{} \; > "$rootfs/certs" | ||
|
|
||
| mkdir -p proc/self | ||
| for java in $(find /usr/lib/jvm -name java -type f); do |
There was a problem hiding this comment.
We can use a newer pattern from opendk-25 https://github.com/canonical/chisel-releases/blob/ed7f68cf72626e709cd38e5580262e7bb1dab19f/tests/spread/integration/openjdk-25-jdk-headless/task.yaml#L15C1-L17C1
java=/$(find "$ROOTFS" -name java -type f -printf '%P\n' -quit 2>/dev/null)
|
|
||
| slices: | ||
| bins: | ||
| jars: |
There was a problem hiding this comment.
General note: not sure if we can remove slice without leaving an alias for the backwards compatibility? @cjdcordeiro
| # https://www.gnu.org/software/coreutils/manual/html_node/Summarizing-files.html | ||
| summarizing-files: | ||
| essential: | ||
| - coreutils-from-gnu_wc-utility |
There was a problem hiding this comment.
nit/no action: This looks like a separate PR for coreutils update, but there are already too many open PRs here =)
|
|
||
| rootfs="$(install-slices ca-certificates_data python3.13_core)" | ||
| cp /etc/resolv.conf "$rootfs/etc/" | ||
| chroot "$rootfs" /usr/bin/python3.13 -c "import urllib.request;urllib.request.urlopen('https://example.com')" No newline at end of file |
| echo -e "line1\nline2\nline3" > "$rootfs_wc/test_file" | ||
| test "$(chroot "$rootfs_wc" gnuwc -l test_file | awk '{print $1}')" = "3" | ||
| test "$(chroot "$rootfs_wc" gnuwc -w test_file | awk '{print $1}')" = "3" | ||
| test "$(chroot "$rootfs_wc" gnuwc -c test_file | awk '{print $1}')" = "18" No newline at end of file |
| echo -e "line1\nline2\nline3" > "$rootfs_wc/test_file" | ||
| test "$(chroot "$rootfs_wc" gnuwc -l test_file | awk '{print $1}')" = "3" | ||
| test "$(chroot "$rootfs_wc" gnuwc -w test_file | awk '{print $1}')" = "3" | ||
| test "$(chroot "$rootfs_wc" gnuwc -c test_file | awk '{print $1}')" = "18" No newline at end of file |
Proposed changes
ca-certificatesandca-certificates-javaslices frombinstoscriptsandjarsca-certificates_scriptsRelated issues/PRs
n/a
Forward porting
n/a
Checklist