tools: make FLASK utils build unconditional
PATCH 1/1 tools: make FLASK utils build unconditional
The flask utilities only have dependencies on libxc so there's no downside to always building it. Distros and projects based on Xen can put these in a different package to not install them for all users. Prior to this change FLASK_ENABLE needed to be set at the top level to build the utilities and the tools/configure script would build the FLASK policy by default, but only if the utilities were built.
This change makes item 3 from
http://lists.xenproject.org/archives/html/xen-devel/2016-01/msg01796.html
a happen by default.
--- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/Makefile +1 -1
@@ -5,7 +5,7 @@ SUBDIRS-y := SUBDIRS-y += include SUBDIRS-y += libs SUBDIRS-y += libxc -SUBDIRS-$(FLASK_ENABLE) += flask +SUBDIRS-y += flask SUBDIRS-y += xenstore SUBDIRS-y += misc SUBDIRS-y += examples
Signature · 1 line
2.4.10
Quoted 11 lines · Doug Goldstein
The flask utilities only have dependencies on libxc so there's no downside to always building it. Distros and projects based on Xen can put these in a different package to not install them for all users. Prior to this change
FLASK_ENABLEneeded to be set at the top level to build the utilities and thetools/configurescript would build the FLASK policy by default, but only if the utilities were built.This change makes item 3 from
http://lists.xenproject.org/archives/html/xen-devel/2016-01/msg01796.html
a happen by default.
Quoted 5 lines
CC Ian Jackson <[email protected]>CC Stefano Stabellini <[email protected]>CC Ian Campbell <[email protected]>CC Wei Liu <[email protected]>Signed-off-by Doug Goldstein <[email protected]>
Quoted 17 lines
--- tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/Makefile +1
-1@@ -5,7 +5,7 @@ SUBDIRS-y := SUBDIRS-y += include SUBDIRS-y += libs SUBDIRS-y += libxc -SUBDIRS-$(FLASK_ENABLE) += flask +SUBDIRS-y += flask SUBDIRS-y += xenstore SUBDIRS-y += misc SUBDIRS-y += examples
Quoted 14 lines · Andrew Cooper
Quoted 13 lines · Doug Goldstein
The flask utilities only have dependencies on libxc so there's no downside to always building it. Distros and projects based on Xen can put these in a different package to not install them for all users. Prior to this change
FLASK_ENABLEneeded to be set at the top level to build the utilities and thetools/configurescript would build the FLASK
policy by default, but only if the utilities were built.This change makes item 3 from
http://lists.xenproject.org/archives/html/xen-devel/2016-01/msg01796.ht
ml
a happen by default.
Quoted 7 lines
Quoted 5 lines
CC Ian Jackson <[email protected]>CC Stefano Stabellini <[email protected]>CC Ian Campbell <[email protected]>CC Wei Liu <[email protected]>Signed-off-by Doug Goldstein <[email protected]>Reviewed-by Andrew Cooper <[email protected]>
As noted elsewhere I have acked + applied htis.