kernel-install: make inspect command optionally take kernel image
If the kernel image is provided, then we can inspect the kernel image and may determine the layout based on the kernel image type.
This commit is contained in:
@@ -63,6 +63,7 @@ grep -qE 'image' "$BOOT_ROOT/the-token/1.1.1/linux"
|
||||
grep -qE 'initrd' "$BOOT_ROOT/the-token/1.1.1/initrd"
|
||||
|
||||
"$kernel_install" inspect
|
||||
"$kernel_install" inspect "$D/sources/linux"
|
||||
|
||||
"$kernel_install" -v remove 1.1.1
|
||||
test ! -e "$entry"
|
||||
|
||||
Reference in New Issue
Block a user