Skip to content

Commit

Permalink
Allow kernel hook to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Dec 6, 2023
1 parent a4e3eb4 commit e932ac9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/usr/lib/rsetup/cli/kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ __yz-update-overlays() {
case $ACTION in
configure)
echo "Updating overlays for $ABI ..."
rebuild_overlays "$ABI" "$(get_soc_vendor)"
if ! rebuild_overlays "$ABI" "$(get_soc_vendor)"
then
echo "Failed to update overlays."
echo "Please make sure u-boot-menu is installed on your system."
fi
;;
remove)
;;
Expand Down

0 comments on commit e932ac9

Please sign in to comment.