Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Verified Commit 7ea332bc authored by Ayush Singh's avatar Ayush Singh
Browse files

bb-imager: Fix old config compact


- Fix bug which used wrong sha256 in converted config.

Signed-off-by: Ayush Singh's avatarAyush Singh <ayush@beagleboard.org>
parent 80374d9d
Branches
Tags
No related merge requests found
Pipeline #20663 passed with stages
in 6 minutes and 16 seconds
......@@ -470,7 +470,7 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "bb-imager"
version = "0.0.1"
version = "0.0.2"
dependencies = [
"bin_file",
"chrono",
......@@ -502,7 +502,7 @@ dependencies = [
[[package]]
name = "bb-imager-cli"
version = "0.0.1"
version = "0.0.2"
dependencies = [
"bb-imager",
"clap",
......@@ -514,7 +514,7 @@ dependencies = [
[[package]]
name = "bb-imager-gui"
version = "0.0.1"
version = "0.0.2"
dependencies = [
"bb-imager",
"embed-resource",
......
......@@ -143,7 +143,7 @@ impl From<&crate::config::OsList> for SelectedImage {
Self::remote(
value.name.clone(),
value.url.clone(),
value.extract_sha256,
value.image_sha256,
value.extract_path.clone(),
)
}
......
......@@ -108,7 +108,7 @@ impl OsList {
icon: self.icon,
url: self.url.unwrap(),
release_date: self.release_date.unwrap(),
extract_sha256: self.extract_sha256,
image_sha256: self.image_download_sha256,
extract_path: None,
devices,
tags,
......
......@@ -42,7 +42,7 @@ pub struct OsList {
pub url: Url,
pub release_date: chrono::NaiveDate,
#[serde(with = "const_hex")]
pub extract_sha256: [u8; 32],
pub image_sha256: [u8; 32],
pub extract_path: Option<String>,
pub devices: HashSet<String>,
pub tags: HashSet<String>,
......
......@@ -25,7 +25,7 @@
"icon": "https://microblocks.fun/assets/img/logos/MicroBlocks-white.svg",
"url": "https://openbeagle.org/api/v4/projects/809/packages/generic/stable/244/microblocks.bin.xz",
"release_date": "2024-07-31",
"extract_sha256": "81450f550ae6970740b3975686b2247e660695543c40cd9f73f9874eb2a209f8",
"image_sha256": "81450f550ae6970740b3975686b2247e660695543c40cd9f73f9874eb2a209f8",
"devices": [
"BeagleConnect Freedom"
],
......@@ -39,7 +39,7 @@
"icon": "https://upload.wikimedia.org/wikipedia/commons/6/67/USB_icon.svg",
"url": "https://openbeagle.org/beagleconnect/msp430/usb_uart_bridge/-/jobs/38525/artifacts/raw/usb_uart_bridge.hex?inline=false",
"release_date": "2024-09-19",
"extract_sha256": "d4bbffd365b50f35adeee91787d50b8bd13717b8cd65e2e16cab81f82ac01e42",
"image_sha256": "d4bbffd365b50f35adeee91787d50b8bd13717b8cd65e2e16cab81f82ac01e42",
"devices": [
"BeagleConnect Freedom MSP430"
],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment