]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/flash-images
gcc: Build the Go compiler
[ipfire-2.x.git] / lfs / flash-images
index dcad81ab38b9b140166b913628d88e5973a05b4a..e9bd0434b514a3e78699cc41a098c3a1fca78867 100644 (file)
@@ -215,6 +215,12 @@ endif
        rm -f $(MNThdd)/etc/grub.d/11_linux_scon
 endif
 
+ifeq "$(BUILD_ARCH)" "armv5tel"
+       # 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"
+endif
+
        # Set ramdisk mode to automatic
        echo RAMDISK_MODE=2 > $(MNThdd)/etc/sysconfig/ramdisk