Skip to content

Commit aa8e543

Browse files
xtask: Add update-sources action
1 parent 6b2c08c commit aa8e543

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

ovmf-prebuilt/src/source_constants.rs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ impl Source {
2727
sha256: "dd59d3d52f0a643f07a488f80ab40f89c30f360999d98cdffb30e1eba5476641",
2828
};
2929

30+
pub const EDK2_STABLE202505_R1: Self = Self {
31+
tag: "edk2-stable202505-r1",
32+
sha256: "7535021dc7f98453803cefcade59e839e9f559274493d681fec7b19219081e29",
33+
};
34+
3035
pub const EDK2_STABLE202505_R2: Self = Self {
3136
tag: "edk2-stable202505-r2",
3237
sha256: "ed4e5502dc6b4e1d524929b27b274f9d6e2581a4179612b5628de9660008c8e0",
@@ -42,9 +47,19 @@ impl Source {
4247
sha256: "79841c5dcac6d4bb71ead5edb6ca2a251237330be3c0b166bdc8a8fec0ce760d",
4348
};
4449

50+
pub const EDK2_STABLE202511_R2: Self = Self {
51+
tag: "edk2-stable202511-r2",
52+
sha256: "5caf1ad39898e786f0fee27f27fc4b7f90ce1beb1af8f60e27777ebdd6a775cb",
53+
};
54+
55+
pub const EDK2_STABLE202602_R1: Self = Self {
56+
tag: "edk2-stable202602-r1",
57+
sha256: "d4621f6013b1c6b36e9aa17dafb48458e5499392f9abbb1d11d719725b2ebc35",
58+
};
59+
4560
/// Latest release tag.
4661
///
4762
/// Note that this is not necessarily the latest prebuilt available
4863
/// from the git repo.
49-
pub const LATEST: Self = Self::EDK2_STABLE202511_R1;
64+
pub const LATEST: Self = Self::EDK2_STABLE202602_R1;
5065
}

xtask/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
mod github;
2-
#[expect(dead_code)]
32
mod update_sources;
43

54
use anyhow::{anyhow, bail, Result};
@@ -122,6 +121,7 @@ struct BuildEdk2 {
122121
#[derive(Subcommand)]
123122
enum Action {
124123
BuildEdk2(BuildEdk2),
124+
UpdateSources,
125125
}
126126

127127
#[derive(Parser)]
@@ -151,6 +151,7 @@ fn main() -> Result<()> {
151151

152152
match &opt.action {
153153
Action::BuildEdk2(opt) => build_edk2(opt),
154+
Action::UpdateSources => update_sources::update_sources(),
154155
}
155156
}
156157

0 commit comments

Comments
 (0)