flash-images: update the uENV root UUID also on arch64

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2020-02-19 08:49:21 +00:00
parent 068747163a
commit 2b6b6df32a

View File

@@ -215,7 +215,7 @@ endif
rm -f $(MNThdd)/etc/grub.d/11_linux_scon
endif
ifeq "$(BUILD_ARCH)" "armv5tel"
ifeq "$(BUILD_PLATFORM)" "arm"
# Insert the UUID to uENV.txt
sed -i $(MNThdd)/boot/uENV.txt \
-e "s/^root_dev=.*/root_dev=UUID=$$(blkid -o value -s UUID $(PART_ROOT))/g"