dependabot-preview[bot]
35f4a1a883
build(deps): bump libc from 0.2.74 to 0.2.76 in /rust
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.74 to 0.2.76.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.74...0.2.76 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 11:38:59 -04:00
Jonathan Lebon
fdfad9561d
ci: bump compose tests timeout to 60 minutes
...
We usually finish much faster than that, but when dependabot spams the
cluster it can be slower.
2020-08-24 10:29:15 -04:00
dependabot-preview[bot]
9b428c1ca0
build(deps): bump libc from 0.2.74 to 0.2.76 in /rust/libdnf-sys
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.74 to 0.2.76.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.74...0.2.76 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 10:29:15 -04:00
dependabot-preview[bot]
12e5625990
build(deps): bump curl from 0.4.31 to 0.4.33 in /rust
...
Bumps [curl](https://github.com/alexcrichton/curl-rust ) from 0.4.31 to 0.4.33.
- [Release notes](https://github.com/alexcrichton/curl-rust/releases )
- [Commits](https://github.com/alexcrichton/curl-rust/compare/curl-sys-0.4.31...curl-sys-0.4.33 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 09:42:28 -04:00
dependabot-preview[bot]
618041902d
build(deps): bump serde_derive from 1.0.114 to 1.0.115 in /rust
...
Bumps [serde_derive](https://github.com/serde-rs/serde ) from 1.0.114 to 1.0.115.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.114...v1.0.115 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-21 18:08:33 -04:00
Colin Walters
e3978c924f
Add testutils generate-synthetic-upgrade
...
We want to test upgrades that actually change files as a general
rule; in some cases we want to test "large" upgrades to validate
performance.
This code generates a "synthetic" upgrade that adds an ELF note
to a percentage of ELF files (randomly selected). By doing
it this way we are only actually testing one version of the code.
Migrated from https://github.com/coreos/coreos-assembler/pull/1635/
using the Rust code from https://github.com/ostreedev/ostree/pull/2127
2020-08-18 17:23:15 +02:00
dependabot-preview[bot]
d2d3e04ee2
build(deps): bump clap from 2.33.2 to 2.33.3 in /rust
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.2 to 2.33.3.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v2.33.3/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v2.33.2...v2.33.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-18 16:17:29 +02:00
dependabot-preview[bot]
27e39801b1
build(deps): bump serde from 1.0.114 to 1.0.115 in /rust
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.114 to 1.0.115.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.114...v1.0.115 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-18 15:57:23 +02:00
dependabot-preview[bot]
8b0bcd7bf7
build(deps): bump libdnf from 03d2bac
to c5c30c3
...
Bumps [libdnf](https://github.com/rpm-software-management/libdnf ) from `03d2bac` to `c5c30c3`.
- [Release notes](https://github.com/rpm-software-management/libdnf/releases )
- [Commits](03d2bac197...c5c30c3c87
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 16:15:01 +02:00
dependabot-preview[bot]
1394b0eb1b
build(deps): bump chrono from 0.4.13 to 0.4.15 in /rust
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.13 to 0.4.15.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.13...v0.4.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 15:46:27 +02:00
dependabot-preview[bot]
20494a77b5
build(deps): bump structopt from 0.3.15 to 0.3.16 in /rust
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.15...v0.3.16 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 15:19:46 +02:00
dependabot-preview[bot]
5975a59e92
build(deps): bump clap from 2.33.1 to 2.33.2 in /rust
...
Bumps [clap](https://github.com/clap-rs/clap ) from 2.33.1 to 2.33.2.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v2.33.2/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v2.33.1...v2.33.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 11:49:52 -04:00
dependabot-preview[bot]
5e8553eb88
build(deps): bump libdnf from f6a433f
to 03d2bac
...
Bumps [libdnf](https://github.com/rpm-software-management/libdnf ) from `f6a433f` to `03d2bac`.
- [Release notes](https://github.com/rpm-software-management/libdnf/releases )
- [Commits](f6a433f58e...03d2bac197
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 11:32:06 -04:00
Kelvin Fan
c9cb6005ff
treefile: change remove-from-packages
implementation
...
Fix https://github.com/coreos/rpm-ostree/issues/2068 : `remove-from-packages`
deleting files that it shouldn't.
Filter out files that user wants removed at `checkout_package_into_root()`,
instead of at the `handle_remove_files_from_package()` function that does
not check whether files are used by other rpms before removing them.
2020-08-05 21:07:20 +02:00
dependabot-preview[bot]
c349a14600
build(deps): bump libc from 0.2.73 to 0.2.74 in /rust/libdnf-sys
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.73 to 0.2.74.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.73...0.2.74 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 23:36:26 +02:00
dependabot-preview[bot]
142d86dbeb
build(deps): bump libc from 0.2.73 to 0.2.74 in /rust
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.73 to 0.2.74.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.73...0.2.74 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 22:42:38 +02:00
dependabot-preview[bot]
0215bd02ea
build(deps): bump libdnf from be77400
to f6a433f
...
Bumps [libdnf](https://github.com/rpm-software-management/libdnf ) from `be77400` to `f6a433f`.
- [Release notes](https://github.com/rpm-software-management/libdnf/releases )
- [Commits](be774002d6...f6a433f58e
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 22:23:55 +02:00
Jonathan Lebon
88c0175858
libpriv/kernel: Allow optional initramfs tmpf
...
Teach `rpmostree_finalize_kernel` to automatically select the in-tree
initramfs if no initramfs tmpf is passed in. This seems silly right now
since the only reason you'd call that function is either for a new
initramfs or a new kernel (and initramfs). But it's prep for a future
patch.
2020-08-04 20:32:05 +02:00
Jonathan Lebon
e424476f9a
src/{daemon,libpriv}: Better error prefixing
...
Found these useful when debugging code.
2020-08-04 20:32:05 +02:00
Jonathan Lebon
64eb26b7d5
libpriv/kernel: Link initramfs into place earlier
...
No functional change otherwise. Prep for future patch.
2020-08-04 20:32:05 +02:00
Jonathan Lebon
7f5bb1ec07
libpriv/origin: Factor out helper to set key from hash table
...
Prep for future patch.
2020-08-04 20:32:05 +02:00
Jonathan Lebon
90e3b93f4c
app/ex: Drop reset
alias
2020-08-04 20:32:05 +02:00
Jeff Law
3097af804d
spec: Disable LTO
2020-07-31 11:07:18 -04:00
Jonathan Lebon
bcf241d572
Release 2020.4
...
Thin release. Mostly for a bunch of RHCOS-relevant fixes and
enhancements: 752f4f09
(#2178 ), 4d836dd8
(#2151 ) and f608eb09
(#2158 ).
2020-07-29 10:41:43 -04:00
Jonathan Lebon
752f4f09de
daemon/deploy: Finish OstreeAsyncProgress after pull
...
Otherwise it might still own tasks on the main context when reusing it
later on. And because it was already cleared, we can get `SIGSEGV`. See
also c9cbad94
(#1676 ).
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1859269
2020-07-28 18:30:14 -04:00
Jonathan Lebon
1c9ea5dab3
ci: Bump MSRV to 1.43.1
...
This is available in the RHEL 8.2 buildroot now. Also fixes compilation
with latest `openat-ext` crate which uses `std::usize::MAX`.
2020-07-27 21:14:43 +02:00
dependabot-preview[bot]
b196136b4f
build(deps): bump openat-ext from 0.1.2 to 0.1.4 in /rust
...
Bumps [openat-ext](https://github.com/cgwalters/openat-ext ) from 0.1.2 to 0.1.4.
- [Release notes](https://github.com/cgwalters/openat-ext/releases )
- [Commits](https://github.com/cgwalters/openat-ext/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 21:14:43 +02:00
dependabot-preview[bot]
e53281bef6
build(deps): bump serde_json from 1.0.56 to 1.0.57 in /rust
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.56...v1.0.57 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 19:57:32 +02:00
dependabot-preview[bot]
5e1565941f
build(deps): bump nix from 0.17.0 to 0.18.0 in /rust
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.17.0...v0.18.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 18:32:16 +02:00
dependabot-preview[bot]
421be07737
build(deps): bump curl from 0.4.30 to 0.4.31 in /rust
...
Bumps [curl](https://github.com/alexcrichton/curl-rust ) from 0.4.30 to 0.4.31.
- [Release notes](https://github.com/alexcrichton/curl-rust/releases )
- [Commits](https://github.com/alexcrichton/curl-rust/compare/curl-sys-0.4.30...curl-sys-0.4.31 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 17:27:23 +02:00
dependabot-preview[bot]
0d8399a012
build(deps): bump libdnf from dd15584
to be77400
...
Bumps [libdnf](https://github.com/rpm-software-management/libdnf ) from `dd15584` to `be77400`.
- [Release notes](https://github.com/rpm-software-management/libdnf/releases )
- [Commits](dd15584e31...be774002d6
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 16:28:47 +02:00
dependabot-preview[bot]
15cea98dca
build(deps): bump anyhow from 1.0.31 to 1.0.32 in /rust
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.31...1.0.32 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 16:02:07 +02:00
Tom Stellard
27c14d5809
spec: Use make macros
...
This pull request was create automatically for the f33 change:
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
(Upstreamed from
https://src.fedoraproject.org/rpms/rpm-ostree/pull-request/39 ).
2020-07-22 18:43:17 +02:00
dependabot-preview[bot]
1d0ebd16da
build(deps): bump libc from 0.2.72 to 0.2.73 in /rust/libdnf-sys
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.72 to 0.2.73.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.72...0.2.73 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:56:35 -04:00
dependabot-preview[bot]
58075b1d9a
build(deps): bump libdnf from 4a72432
to dd15584
...
Bumps [libdnf](https://github.com/rpm-software-management/libdnf ) from `4a72432` to `dd15584`.
- [Release notes](https://github.com/rpm-software-management/libdnf/releases )
- [Commits](4a72432434...dd15584e31
)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 18:27:23 -04:00
dependabot-preview[bot]
35c40eff2b
build(deps): bump libc from 0.2.71 to 0.2.72 in /rust
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.71 to 0.2.72.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.71...0.2.72 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 18:06:29 -04:00
dependabot-preview[bot]
58a085859f
build(deps): bump serde_json from 1.0.55 to 1.0.56 in /rust
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.55...v1.0.56 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 17:12:02 -04:00
dependabot-preview[bot]
1fbf4b8ba4
build(deps): bump libc from 0.2.71 to 0.2.72 in /rust/libdnf-sys
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.71 to 0.2.72.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.71...0.2.72 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 16:50:13 -04:00
Jonathan Lebon
2c6d24de0a
vmcheck/rojig: Don't use ci.centos.org
...
It doesn't resolve to the right node from inside the CentOS CI:
https://lists.centos.org/pipermail/ci-users/2016-July/000301.html
2020-07-16 15:46:06 -04:00
Jonathan Lebon
fda0be62ce
ci: Constrain parallel build jobs
...
The default `_NPROCESSORS_ONLN` heuristic we have isn't cgroups aware.
So it thinks it has e.g. 40 CPUs when running in a k8s pod. This can
then blow through our allocated resource limits.
Declare some modest amount of RAM and CPU resources and override `make`
parallelism.
This matches what ostree does in
https://github.com/ostreedev/ostree/pull/2151 .
2020-07-16 15:46:06 -04:00
Jonathan Lebon
89d79f3505
ci: request 2G of RAM for compilation
...
I think the `fork` errors CI is hitting might be due to more stringent
memory limit enforcements in OCP4. Let's be more explicit and actually
request 2G of RAM. We can adjust from there.
(One related thing is CPU requests; it's possible we might need to also
make that explicit and in turn adjust the `_smp_mflags` RPM macro, since
the default is unlikely to be k8s/cgroups-aware.)
2020-07-16 15:46:06 -04:00
Jonathan Lebon
2235fb6c5b
ci: pull Fedora image from Quay.io
...
Seems like the Fedora registry is having trouble right now.
2020-07-16 15:46:06 -04:00
dependabot-preview[bot]
7e32318fb3
build(deps): bump chrono from 0.4.11 to 0.4.13 in /rust
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.11 to 0.4.13.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.11...v0.4.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 15:46:06 -04:00
Kelvin Fan
4d836dd88e
treefile: Allow greater/less than versions for pkgs
...
Add a helper function for whitespace_split_packages() so that it now
splits a String by whitespace only if it is not wrapped between single
quotes.
This should allow RHCOS to use syntax like podman > 1.4 in the treefile.
Also add new unit tests and tweak existing compose tests to test this
functionality.
2020-07-08 19:25:41 +02:00
Jonathan Lebon
f608eb09ed
app: Add --lock-finalization switch to other commands
...
Both `upgrade` and `deploy` already support this. There's no reason why
all the remaining "deployment-creating" commands shouldn't. Prompted by
https://github.com/openshift/machine-config-operator/issues/1897 which
will need this specifically for `rebase`.
2020-07-08 16:02:59 +02:00
Colin Walters
d29627ca6e
postprocess: Add a symlink /usr/lib/sysimage/rpm to the rpmdb
...
Following on to:
- http://lists.rpm.org/pipermail/rpm-maint/2017-October/006681.html
- https://github.com/coreos/rpm-ostree/pull/1142/
- https://github.com/openSUSE/libsolv/pull/386
Write a symlink in `/usr/lib/sysimage/rpm` pointing to our current
`/usr/share/rpm` - this way clients can start looking for it there,
and then at some point we'll flip the symlink around and
have `/usr/share/rpm` pointing to the new location.
(Doing a hard swap now has upgrade implications)
2020-07-08 03:30:15 +02:00
dependabot-preview[bot]
e6b06f1fb2
build(deps): bump curl from 0.4.29 to 0.4.30 in /rust
...
Bumps [curl](https://github.com/alexcrichton/curl-rust ) from 0.4.29 to 0.4.30.
- [Release notes](https://github.com/alexcrichton/curl-rust/releases )
- [Commits](https://github.com/alexcrichton/curl-rust/compare/curl-sys-0.4.29...curl-sys-0.4.30 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 12:19:29 -04:00
Jonathan Lebon
2441751d90
ci/installdeps: add distribution-gpg-keys
...
This is needed by the compose tests. This is part of cosa already, which
is why CI isn't hitting this, but we want to support users not
developing on top of the cosa buildroot container that can just run
`ci/installdeps.sh`.
2020-06-24 16:45:28 -04:00
Jonathan Lebon
fc1e660454
Move release instructions to RELEASE.md
...
The instructions for doing a release were outdated. Take the opportunity
to just move it to a dedicated markdown file and breaking it out to make
it easier to follow.
This is one step short of using a release checklist like some of the
other CoreOS projects do. This is a good base to eventually do that if
we want.
2020-06-23 16:14:51 -04:00
dependabot-preview[bot]
a5745314ef
build(deps): bump structopt from 0.3.14 to 0.3.15 in /rust
...
Bumps [structopt](https://github.com/TeXitoi/structopt ) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/TeXitoi/structopt/releases )
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.14...v0.3.15 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 14:50:29 -04:00