Skip to content

Commit e3916b4

Browse files
committed
twoliter: Use embedded sbkeys script
1 parent c1df195 commit e3916b4

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

twoliter/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ fn main() {
3232
paths.copy_file("rpm2img");
3333
paths.copy_file("rpm2kmodkit");
3434
paths.copy_file("rpm2migrations");
35+
paths.copy_file("generate-local-sbkeys");
3536

3637
// Create tarball in memory.
3738
println!("Starting tarball creation at {:?}", SystemTime::now());

twoliter/embedded/Makefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ echo "No Secure Boot signing profile found in ${profile}." >&2
663663
echo "Generating local keys." >&2
664664
665665
mkdir -p "${BUILDSYS_SBKEYS_PROFILE_DIR}"
666-
${BUILDSYS_SBKEYS_DIR}/generate-local-sbkeys \
666+
${TWOLITER_TOOLS_DIR}/generate-local-sbkeys \
667667
--sdk-image "${TLPRIVATE_SDK_IMAGE}" \
668668
--output-dir "${BUILDSYS_SBKEYS_PROFILE_DIR}"
669669
'''

twoliter/src/cmd/build.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ impl BuildVariant {
8383
// Create a sbkeys directory in the main project
8484
debug!("sbkeys dir not found. Creating a temporary directory");
8585
fs::create_dir_all(&sbkeys_dir)?;
86-
sdk_container
87-
.cp_out(
88-
Path::new("twoliter/alpha/sbkeys/generate-local-sbkeys"),
89-
&sbkeys_dir,
90-
)
91-
.await?;
9286
};
9387

9488
// TODO: Remove once models is no longer conditionally compiled.

0 commit comments

Comments
 (0)