1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00
nixpkgs/pkgs/os-specific/linux/ov511/ov511-2.32-builder.sh
Armijn Hemel d169043264 readd ov511 2.30
svn path=/nixpkgs/trunk/; revision=5745
2006-07-17 17:57:26 +00:00

23 lines
380 B
Bash

source $stdenv/setup
hashname=$(basename $kernel)
echo $hashname
if echo "$hashname" | grep -q '^[a-z0-9]\{32\}-'; then
hashname=$(echo "$hashname" | cut -c -32)
fi
stripHash $kernel
version=$(echo $strippedName | cut -c 7-)-$hashname
echo "version $version"
export version
ensureDir $out/lib/modules/$version/kernel/drivers/usb/media/
genericBuild
echo "b0rken"
exit 1