hooks/post-install/04-create-xbps-metadata-scripts.sh: add binfmts trigger support

This commit is contained in:
Andrea Brancaleoni 2015-06-20 18:51:58 +02:00
parent be90180b48
commit 972a87ba9f

View file

@ -117,6 +117,13 @@ _EOF
echo "export make_dirs=\"${make_dirs}\"" >> $tmpf
fi
#
# Handle binfmts trigger
#
if [ -n "${binfmts}" ]; then
_add_trigger binfmts
echo "export binfmts=\"${binfmts}\"" >> $tmpf
fi
#
# Handle systemd services.
#
if [ -n "$build_option_systemd" ]; then