ksud: Fix relative boot image path
This commit is contained in:
@@ -86,7 +86,7 @@ pub fn patch(
|
|||||||
|
|
||||||
if let Some(image) = image {
|
if let Some(image) = image {
|
||||||
ensure!(image.exists(), "boot image not found");
|
ensure!(image.exists(), "boot image not found");
|
||||||
bootimage = image;
|
bootimage = std::fs::canonicalize(image)?;
|
||||||
} else {
|
} else {
|
||||||
let mut slot_suffix =
|
let mut slot_suffix =
|
||||||
utils::getprop("ro.boot.slot_suffix").unwrap_or_else(|| String::from(""));
|
utils::getprop("ro.boot.slot_suffix").unwrap_or_else(|| String::from(""));
|
||||||
|
|||||||
Reference in New Issue
Block a user