Skip to content

Commit

Permalink
Use ostree-rs-ext 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Nov 6, 2021
1 parent 3a02d03 commit af88800
Show file tree
Hide file tree
Showing 14 changed files with 302 additions and 124 deletions.
4 changes: 1 addition & 3 deletions .cci.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ parallel insttests: {
# include our built rpm-ostree in the image
mkdir -p overrides/rpm
mv *.rpm overrides/rpm
# for now, we cherry-pick newer libsolv to test that it correctly detects our rpmdb
# https://github.com/coreos/rpm-ostree/issues/2548
(cd overrides/rpm && curl -LO https://kojipkgs.fedoraproject.org//packages/libsolv/0.7.17/1.fc33/x86_64/libsolv-0.7.17-1.fc33.x86_64.rpm)
${env.WORKSPACE}/ci/cosa-overrides.sh
coreos-assembler fetch
coreos-assembler build
${env.WORKSPACE}/ci/composepost-checks.sh
Expand Down
206 changes: 179 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ openat = "0.1.21"
openat-ext = "^0.2.2"
openssl = "0.10.38"
os-release = "0.1.0"
ostree-ext = "0.3.0"
ostree-ext = { git = "https://github.com/ostreedev/ostree-rs-ext", branch = "main" }
paste = "1.0"
phf = { version = "0.10", features = ["macros"] }
rand = "0.8.4"
Expand Down
1 change: 1 addition & 0 deletions ci/prow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ COPY --from=builder /cosa /cosa
RUN rsync -rlv /cosa/component-install/ /
# Merge installed tests
RUN rsync -rlv /cosa/component-tests/ /
COPY --from=builder /src/ci/ /ci
COPY --from=builder /src/ci/prow/fcos-e2e.sh /usr/bin/fcos-e2e
USER builder
1 change: 1 addition & 0 deletions ci/prow/fcos-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ rpm-ostree --version
cd $(mktemp -d)
cosa init https://github.com/coreos/fedora-coreos-config/
rsync -rlv /cosa/component-install/ overrides/rootfs/
/ci/cosa-overrides.sh
cosa fetch
cosa build
cosa kola run 'ext.rpm-ostree.*'
2 changes: 1 addition & 1 deletion packaging/rpm-ostree.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ BuildRequires: gnome-common
BuildRequires: /usr/bin/g-ir-scanner
# Core requirements
# One way to check this: `objdump -p /path/to/rpm-ostree | grep LIBOSTREE` and pick the highest (though that might miss e.g. new struct members)
BuildRequires: pkgconfig(ostree-1) >= 2021.1
BuildRequires: pkgconfig(ostree-1) >= 2021.5
BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(rpm) >= 4.14.0
Expand Down
Loading

0 comments on commit af88800

Please sign in to comment.