create a debian-edu task to be able to build an offline installation image

Signed-off-by: Holger Levsen <holger@layer-acht.org>
This commit is contained in:
Holger Levsen 2018-07-30 16:17:09 +08:00
parent 1927aefabc
commit d2e89a1938
3 changed files with 13 additions and 0 deletions

View File

@ -169,6 +169,10 @@ ifeq ($(FORCE_FIRMWARE),1)
# Generate firmware task file using the contents of the archive
$(Q)$(BASEDIR)/tools/generate_firmware_task "$(ARCHES)" $(TASKDIR)/firmware
endif
ifeq ($(DEBIAN_EDU),1)
# Generate Debian Edu task file containing (almost) all of Debian Edu's packages
$(Q)$(BASEDIR)/tools/generate_debian-edu_task $(TASKDIR)/debian-edu-full
endif
endif
$(BDIR)/DATE:
$(Q)date -u '+%Y%m%d' > $(BDIR)/DATE

View File

@ -8,4 +8,5 @@
#include <debian-installer+kernel>
#include <debian-edu>
#include <debian-edu-full>

8
tools/generate_debian-edu_task Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
set -e
$apt = $BASEDIR/tools/apt-selection
# include all the education packages except education-development
$apt list 'education-*' 2>/dev/null | cut -d '/' -f1 | grep -v education-development > $1