Merge pull request #586 from fewtarius/dev

Revert.
This commit is contained in:
fewtarius 2022-10-02 06:43:44 -04:00 committed by GitHub
commit 52ab8e997e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,11 +59,9 @@ CONFS=$SYSTEM_ROOT/usr/share/bootloader/extlinux/*.conf
for all_conf in $CONFS; do
conf="$(basename ${all_conf})"
echo "Updating ${conf}..."
DTB=$(awk '/FDT/ {print $2}' $SYSTEM_ROOT/extlinux/extlinux.conf)
cp -p $SYSTEM_ROOT/usr/share/bootloader/extlinux/${conf} $BOOT_ROOT/extlinux/${conf} &>/dev/null
sed -e "s/@BOOT_UUID@/$BOOT_UUID/" \
-e "s/@DISK_UUID@/$DISK_UUID/" \
-e "s#FDT.*\$#FDT ${DTB}#g" \
-i $BOOT_ROOT/extlinux/${conf}
done