debian-cd-clone/edu-build.sh

27 lines
621 B
Bash

#!/bin/sh
# Holger Levsen, 2010, GPL2 licenced
#
# this is work in progress
# atm it still depends on the debian-edu builds running on a.skolelinux.no, which commits
# it's result to the debian-edu svn repo
#
set -e
EDU_REPO=~holger/edu-build
DEBIAN_CD=~debian-cd/build/debian-cd
suite=squeeze-test-amd64-i386-netins
# update pkglists from debian-edu svn repo
cd $EDU_REPO && svn up
cd $DEBIAN_CD
grep -v '^#' $EDU_REPO/CD-administrator/wantedpkglist-$suite.txt > debian-cd/tasks/squeeze/debian-edu
grep -v '^#' $EDU_REPO/CD-administrator/unwantedpkglist-$suite.txt > debian-cd/tasks/squeeze/debian-edu-exclude