History

deb-pkg: add a hook argument to match debian hooks parameters

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.

Anisse Astier committed 13 years ago

Commit c95182b1 parent 9de70171 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/package/builddeb+1−1
@@ -184,7 +184,7 @@ set -e · 183 unmodified lines
184184 # Pass maintainer script parameters to hook scripts
185185 export DEB_MAINT_PARAMS="\$*"
186186
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
188188 exit 0
189189 EOF
190190 chmod 755 "$tmpdir/DEBIAN/$script"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t