diff options
author | Andrea Brancaleoni <miwaxe@gmail.com> | 2015-06-20 16:51:58 +0000 |
---|---|---|
committer | Andrea Brancaleoni <miwaxe@gmail.com> | 2015-06-22 11:49:11 +0000 |
commit | 972a87ba9f7b24a453ff52d205d805f93f2af0ca (patch) | |
tree | 841ef43e3381be7f18e7fbe6bfdb85cf616401ad /common/hooks/post-install | |
parent | be90180b48736d441e8b8be0f1775325cb41f229 (diff) | |
download | void-packages-972a87ba9f7b24a453ff52d205d805f93f2af0ca.tar void-packages-972a87ba9f7b24a453ff52d205d805f93f2af0ca.tar.gz void-packages-972a87ba9f7b24a453ff52d205d805f93f2af0ca.tar.bz2 void-packages-972a87ba9f7b24a453ff52d205d805f93f2af0ca.tar.lz void-packages-972a87ba9f7b24a453ff52d205d805f93f2af0ca.tar.xz void-packages-972a87ba9f7b24a453ff52d205d805f93f2af0ca.tar.zst void-packages-972a87ba9f7b24a453ff52d205d805f93f2af0ca.zip |
hooks/post-install/04-create-xbps-metadata-scripts.sh: add binfmts trigger support
Diffstat (limited to 'common/hooks/post-install')
-rw-r--r-- | common/hooks/post-install/04-create-xbps-metadata-scripts.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh index 948b851a84b..d5e62b6aefc 100644 --- a/common/hooks/post-install/04-create-xbps-metadata-scripts.sh +++ b/common/hooks/post-install/04-create-xbps-metadata-scripts.sh @@ -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 |