From d39686df0047696ac184d94dd27366e82b0cd747 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Wed, 2 Aug 2023 18:28:34 +0200 Subject: [PATCH] add system update tools --- recipes-diya/initramfs/files/diya-update | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes-diya/initramfs/files/diya-update b/recipes-diya/initramfs/files/diya-update index fbee921..6088046 100755 --- a/recipes-diya/initramfs/files/diya-update +++ b/recipes-diya/initramfs/files/diya-update @@ -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"