diff --git a/kiwi/schema/kiwi.rnc b/kiwi/schema/kiwi.rnc index f8f985c8..1cd62a86 100644 --- a/kiwi/schema/kiwi.rnc +++ b/kiwi/schema/kiwi.rnc @@ -364,6 +364,27 @@ div { # locale } } + +#========================================== +# common element +# +div { + k.rpm-locale-filtering.content = xsd:boolean + k.rpm-locale-filtering.attlist = empty + k.rpm-locale-filtering = + # locale-filtering sets the install_lang macro for rpm based + # installations to the configured locale list. This results + # in language specific files to become filtered out by rpm + # if they don't match the configured list. Please note it + # depends on the package design if the install_lang macro + # contents apply to the package or not. + element rpm-locale-filtering { + k.rpm-locale-filtering.attlist, + k.rpm-locale-filtering.content + } +} + + #========================================== # common element # @@ -2638,6 +2659,7 @@ div { k.keytable? & k.locale? & k.packagemanager? & + k.rpm-locale-filtering? & k.rpm-check-signatures? & k.rpm-excludedocs? & k.showlicense* & diff --git a/kiwi/schema/kiwi.rng b/kiwi/schema/kiwi.rng index 98341bcc..32f15cf8 100644 --- a/kiwi/schema/kiwi.rng +++ b/kiwi/schema/kiwi.rng @@ -609,6 +609,33 @@ specifies the where to find the boot kernel + +
+ + + + + + + + + + + + + +