image-type_digi.bbclass: Fix copy of initramfs when Trustfence is disabled.
This commit fixes the copy of the initramfs final image with the extension
*.tf when Trustfence is disabled. This was introduced by commit
5beec04b ("trustfence: Add Trustfence support for CCMX8X")
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
parent
7477196c9b
commit
1516bd03d0
|
|
@ -212,6 +212,9 @@ trustence_sign_cpio() {
|
||||||
fi
|
fi
|
||||||
# Sign/encrypt the ramdisk
|
# Sign/encrypt the ramdisk
|
||||||
trustfence-sign-kernel.sh -p "${DIGI_FAMILY}" -i "${1}" "${1}.tf"
|
trustfence-sign-kernel.sh -p "${DIGI_FAMILY}" -i "${1}" "${1}.tf"
|
||||||
|
else
|
||||||
|
# Copy the image with no changes
|
||||||
|
cp "${1}" "${1}.tf"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
CONVERSIONTYPES += "tf"
|
CONVERSIONTYPES += "tf"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue