Use globs for additional/filter packages
The code does not work with regular expressions, so the patterns never matched. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
f5165e30c6
commit
e25f2baaa1
47
fedora.conf
47
fedora.conf
@ -95,17 +95,17 @@ lorax_options = [
|
||||
additional_packages = [
|
||||
('.*', {
|
||||
'*': [
|
||||
'kernel.*',
|
||||
'dracut.*',
|
||||
'autocorr-.*',
|
||||
'eclipse-nls-.*',
|
||||
'hunspell-.*',
|
||||
'hyphen-.*',
|
||||
'calligra-l10n-.*',
|
||||
'kde-l10n-.*',
|
||||
'libreoffice-langpack-.*',
|
||||
'man-pages-.*',
|
||||
'mythes-.*',
|
||||
'kernel*',
|
||||
'dracut*',
|
||||
'autocorr-*',
|
||||
'eclipse-nls-*',
|
||||
'hunspell-*',
|
||||
'hyphen-*',
|
||||
'calligra-l10n-*',
|
||||
'kde-l10n-*',
|
||||
'libreoffice-langpack-*',
|
||||
'man-pages-*',
|
||||
'mythes-*',
|
||||
],
|
||||
}),
|
||||
|
||||
@ -144,19 +144,18 @@ multilib = [
|
||||
filter_packages = [
|
||||
('(Workstation|Server|Cloud)$', {
|
||||
'*': [
|
||||
'^kernel.*debug.*',
|
||||
'^kernel-kdump.*',
|
||||
'^kernel-tools.*',
|
||||
'^syslog-ng.*',
|
||||
'^astronomy-bookmarks',
|
||||
'^generic.*',
|
||||
'^GConf2-dbus.*',
|
||||
'^bluez-gnome',
|
||||
#Periods cause problems in paterns, so replace with *s
|
||||
'^java-1.8.0-openjdk',
|
||||
'^community-mysql.*',
|
||||
'^jruby.*',
|
||||
'^gimp-help-.*',
|
||||
'kernel*debug*',
|
||||
'kernel-kdump*',
|
||||
'kernel-tools*',
|
||||
'syslog-ng*',
|
||||
'astronomy-bookmarks',
|
||||
'generic*',
|
||||
'GConf2-dbus*',
|
||||
'bluez-gnome',
|
||||
'java-1.8.0-openjdk',
|
||||
'community-mysql*',
|
||||
'jruby*',
|
||||
'gimp-help-*',
|
||||
]
|
||||
}),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user