We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf3e35 commit 0c2830aCopy full SHA for 0c2830a
src/dbus/rauc/update_channels.rs
@@ -194,12 +194,14 @@ impl UpstreamBundle {
194
pub(super) fn update_install(&mut self, slot_status: &SlotStatus) {
195
let slot_0_is_older = slot_status
196
.get("rootfs_0")
197
+ .filter(|r| r.get("boot_status").map_or(false, |b| b == "good"))
198
.and_then(|r| r.get("bundle_version"))
199
.and_then(|v| compare_versions(&self.version, v).map(|c| c.is_gt()))
200
.unwrap_or(true);
201
202
let slot_1_is_older = slot_status
203
.get("rootfs_1")
204
205
206
207
0 commit comments