include/exclude more packages for Edu BD image

Thanks to Wolfgang Schweer for the patch.

Signed-off-by: Holger Levsen <holger@layer-acht.org>
This commit is contained in:
Holger Levsen 2019-01-15 18:45:27 +01:00
parent 3e0615992c
commit 6114c16dfc
1 changed files with 7 additions and 4 deletions

View File

@ -54,16 +54,19 @@ $/ = ''; # Browse by paragraph
# Ignore a few tasks that we don't want, e.g. education-development, # Ignore a few tasks that we don't want, e.g. education-development,
# it's too big and pulls in all sorts of things that end users won't # it's too big and pulls in all sorts of things that end users won't
# want/need # want/need, also ignore cinnamon desktop (no Debian Edu support).
my @ignore_list = ('education-development', my @ignore_list = ('education-development',
'education-video'); 'education-video',
'task-cinnamon-desktop');
while (defined($_ = <INPKG>)) { while (defined($_ = <INPKG>)) {
m/^Package: (\S+)/m and $pkg = $1; m/^Package: (\S+)/m and $pkg = $1;
m/^Filename: (\S+)/m and $filename = $1; m/^Filename: (\S+)/m and $filename = $1;
# We want all packages matching "^education-" # We want all packages matching "^education-" and "^debian-edu-".
if (! ($pkg =~ /^education-/)) { # Also wanted: all tasks; these are supposed to pull in localization related
# packages. Add otherwise missing gimp-help and thunderbird localization.
if (! ($pkg =~ /^education-|^debian-edu-|^task-|^gimp-help-|thunderbird-l10n-all/)) {
next; next;
} }