mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-27 11:08:21 +01:00
add system update tools
This commit is contained in:
parent
c7b653aec0
commit
d39686df00
@ -71,7 +71,9 @@ kernel()
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo "Update kernel"
|
echo "Update kernel"
|
||||||
cp "$path" /boot/kernel8.img
|
cp -v "$path" /boot/kernel8.img
|
||||||
|
cd /boot
|
||||||
|
sync
|
||||||
echo "Done"
|
echo "Done"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@ -89,7 +91,7 @@ initramfs()
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo "Update recovery intramfs"
|
echo "Update recovery intramfs"
|
||||||
cp "$path" /boot/$DEFAULT_INITRAMFS_NAME
|
cp -v "$path" /boot/$DEFAULT_INITRAMFS_NAME
|
||||||
cd /boot
|
cd /boot
|
||||||
sync
|
sync
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
Loading…
Reference in New Issue
Block a user