mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 02:38:22 +01:00
add system update tools
This commit is contained in:
parent
c7b653aec0
commit
d39686df00
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user