package/libsepol: change policy version to an int
The policy version has to be a number, as such, set the type to int. Due to the type change, we can't any longer do the legacy handling of re-using the refpolicy policy version. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
10e19b7532
commit
45bd1e73a9
@ -10,9 +10,8 @@ config BR2_PACKAGE_LIBSEPOL
|
|||||||
if BR2_PACKAGE_LIBSEPOL
|
if BR2_PACKAGE_LIBSEPOL
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION
|
config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION
|
||||||
string "Policy version"
|
int "Policy version"
|
||||||
default BR2_PACKAGE_REFPOLICY_POLICY_VERSION if BR2_PACKAGE_REFPOLICY_POLICY_VERSION != ""
|
default 30
|
||||||
default "30"
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -25,8 +25,7 @@ REFPOLICY_MAKE = \
|
|||||||
$(TARGET_MAKE_ENV) \
|
$(TARGET_MAKE_ENV) \
|
||||||
$(MAKE1)
|
$(MAKE1)
|
||||||
|
|
||||||
REFPOLICY_POLICY_VERSION = \
|
REFPOLICY_POLICY_VERSION = $(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION)
|
||||||
$(call qstrip,$(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION))
|
|
||||||
REFPOLICY_POLICY_STATE = \
|
REFPOLICY_POLICY_STATE = \
|
||||||
$(call qstrip,$(BR2_PACKAGE_REFPOLICY_POLICY_STATE))
|
$(call qstrip,$(BR2_PACKAGE_REFPOLICY_POLICY_STATE))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user