@@ -230,7 +230,7 @@ done <"debian/package.config"
while read command from to archs
do
case "$command" in
- migrate) ;;
+ migrate) from_minus=$(echo "$from" | sed -e 's/-.*//');;
*) continue ;;
esac
@@ -241,6 +241,7 @@ do
Package: linux-modules-nvidia-${from}
Architecture: ${archs}
Section: oldlibs
+Provides: \${dkms:nvidia-${from_minus}-modules}, nvidia-prebuilt-kernel
Depends: linux-modules-nvidia-${to}
Description: Extra drivers for nvidia-${from} (dummy transitional package)
Transitional package for upgrades of ${from} to ${to}.