mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
Add support for firmware updates via RAUC on aarch64. The created RAUC bundle (images/infix-$BR2_ARCH.pkg) is signed with the same key used to sign the raw FIT image.
19 lines
360 B
Bash
Executable File
19 lines
360 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
slot-post-install)
|
|
[ "$RAUC_SLOT_CLASS" = "rootfs" ] || break
|
|
|
|
echo "Updating signature information for $RAUC_SLOT_BOOTNAME"
|
|
|
|
itbh=$(dirname $RAUC_IMAGE_NAME)/rootfs.itbh
|
|
cp $itbh /mnt/aux/$RAUC_SLOT_BOOTNAME.itbh
|
|
sync
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|