1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-07-03 16:09:48 +02:00

add system update tools

This commit is contained in:
DanyLE 2023-08-02 18:28:34 +02:00
parent c7b653aec0
commit d39686df00

View File

@ -71,7 +71,9 @@ kernel()
return 1
fi
echo "Update kernel"
cp "$path" /boot/kernel8.img
cp -v "$path" /boot/kernel8.img
cd /boot
sync
echo "Done"
return 0
}
@ -89,7 +91,7 @@ initramfs()
return 1
fi
echo "Update recovery intramfs"
cp "$path" /boot/$DEFAULT_INITRAMFS_NAME
cp -v "$path" /boot/$DEFAULT_INITRAMFS_NAME
cd /boot
sync
echo "Done"