aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/hooks/pre-pkg/999-collected-rdeps.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/hooks/pre-pkg/999-collected-rdeps.sh b/common/hooks/pre-pkg/999-collected-rdeps.sh
new file mode 100644
index 00000000000..67f4a6261e8
--- /dev/null
+++ b/common/hooks/pre-pkg/999-collected-rdeps.sh
@@ -0,0 +1,7 @@
+# This hook displays resolved dependencies for a pkg.
+
+hook() {
+ if [ -e $PKGDESTDIR/rdeps ]; then
+ echo " $(cat $PKGDESTDIR/rdeps)"
+ fi
+}