Skip to content
Snippets Groups Projects
Verified Commit c4025bc3 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

initramfs-tools/hooks/reform: do nothing if running machine cannot be deduced

parent 0420784f
No related branches found
No related tags found
1 merge request!54Ls1028a initramfs fixup
...@@ -23,11 +23,10 @@ case $MACHINE in ...@@ -23,11 +23,10 @@ case $MACHINE in
copy_file firmware /boot/ls1028a-mhdpfw.bin /lib/firmware copy_file firmware /boot/ls1028a-mhdpfw.bin /lib/firmware
;; ;;
"") "")
echo "unable to deduce target machine" echo "W: unable to deduce target machine for reform initramfs-hook" >&2
exit 1
;; ;;
*) *)
echo "unsupported machine: $MACHINE" echo "E: unsupported machine: $MACHINE" >&2
exit 1; exit 1;
;; ;;
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment