From 721aab6ab43ab019d5ddf1faa7ef82d82eba4287 Mon Sep 17 00:00:00 2001 From: Sebastian Panceac Date: Wed, 16 May 2018 16:20:41 +0200 Subject: [PATCH] Fix bootloader update hook Signed-off-by: Sebastian Panceac --- CHANGELOG.md | 2 ++ .../hostapp-update-hooks/files/99-flash-bootloader | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 70621f7..52c1d10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ Change log ----------- +* hostapp-update-hooks: Fix bootloader update hook [Sebastian] + # v2.12.7+rev1 ## (2018-05-11) diff --git a/layers/meta-resin-allwinner/recipes-support/hostapp-update-hooks/files/99-flash-bootloader b/layers/meta-resin-allwinner/recipes-support/hostapp-update-hooks/files/99-flash-bootloader index dbb128b..7798b97 100644 --- a/layers/meta-resin-allwinner/recipes-support/hostapp-update-hooks/files/99-flash-bootloader +++ b/layers/meta-resin-allwinner/recipes-support/hostapp-update-hooks/files/99-flash-bootloader @@ -11,7 +11,7 @@ uboot_file="u-boot-sunxi-with-spl.bin" uboot_block_size=1024 uboot_seek_blocks=8 -device="/dev/`$(findmnt --noheadings --canonicalize --output SOURCE /mnt/boot/ | xargs lsblk -no pkname)`" +device="/dev/"$(findmnt --noheadings --canonicalize --output SOURCE /mnt/boot/ | xargs lsblk -no pkname) update_files="uboot"