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

kernel/zz-reform-tools: print warning for irregular dtb paths

parent 8709a3ca
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,9 @@ install_dtbs() {
echo "E: $dtb does not exist" >&2
continue
fi
if [ ! -e "/usr/lib/linux-image-$version/$DTBPATH" ]; then
echo "W: irregular dtb path: $dtb" >&2
fi
mkdir -p "/boot/dtbs/$version/$(dirname "$DTBPATH")"
cp "$dtb" "/boot/dtbs/$version/$DTBPATH"
done
......
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