We now provide the installed image path to the kernel hooks. This should allow the package to better integrate with debian hooks, and should not be too disruptive of hooks supporting only one parameter.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -184,7 +184,7 @@ set -e · 183 unmodified lines | |||
| 184 | # Pass maintainer script parameters to hook scripts | 184 | # Pass maintainer script parameters to hook scripts |
| 185 | export DEB_MAINT_PARAMS="\$*" | 185 | export DEB_MAINT_PARAMS="\$*" |
| 186 | 186 | ||
| 187 | test -d $debhookdir/$script.d && run-parts --arg="$version" $debhookdir/$script.d | 187 | test -d $debhookdir/$script.d && run-parts --arg="$version" --arg="/$installed_image_path" $debhookdir/$script.d |
| 188 | exit 0 | 188 | exit 0 |
| 189 | EOF | 189 | EOF |
| 190 | chmod 755 "$tmpdir/DEBIAN/$script" | 190 | chmod 755 "$tmpdir/DEBIAN/$script" |