debian-cd-clone/edu-build.sh

35 lines
1.0 KiB
Bash
Raw Normal View History

2010-10-31 14:12:54 -01:00
#!/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
2010-10-31 14:37:39 -01:00
# FIXME: ~holger is not the best path...
2010-10-31 14:12:54 -01:00
EDU_REPO=~holger/edu-build
DEBIAN_CD=~debian-cd/build/debian-cd
2010-10-31 14:37:39 -01:00
# FIXME: we also want to build the DVD, but later
suite=squeeze-test-amd64-i386-netinst
2010-10-31 14:12:54 -01:00
# update pkglists from debian-edu svn repo
2010-11-05 12:30:20 -01:00
# FIXME:
# depends on "svn up" in ~debian-cd on pettersson
2010-10-31 14:12:54 -01:00
cd $EDU_REPO && svn up
2010-10-31 14:37:39 -01:00
# actually build the image
2010-10-31 14:12:54 -01:00
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
2010-10-31 14:35:32 -01:00
# todo:
# call easy-build.sh correctly
2010-11-05 12:30:20 -01:00
# using tasks/squeeze/Debian-edu-netinst
# use sort_deps_edu instead of sort_deps (actually, merge those two, there is a bug in the bts about this)
# probably/maybe just put our udebs on the normal netinst-cd and be done?