File: edu-build.sh

package info (click to toggle)
debian-cd 3.1.13
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,244 kB
  • sloc: sh: 4,925; perl: 3,730; makefile: 387
file content (34 lines) | stat: -rw-r--r-- 1,054 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/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

# FIXME: ~holger is not the best path...
EDU_REPO=~holger/edu-build
DEBIAN_CD=~debian-cd/build/debian-cd

# FIXME: we also want to build the DVD, but later
suite=wheezy-test-amd64-i386-netinst

# update pkglists from debian-edu svn repo
# FIXME:
# depends on "svn up" in ~debian-cd on pettersson
cd $EDU_REPO && svn up

# actually build the image
cd $DEBIAN_CD
grep -v '^#' $EDU_REPO/CD-administrator/wantedpkglist-$suite.txt > debian-cd/tasks/wheezy/debian-edu
grep -v '^#' $EDU_REPO/CD-administrator/unwantedpkglist-$suite.txt > debian-cd/tasks/wheezy/debian-edu-exclude
# todo:
# call easy-build.sh correctly
# using tasks/wheezy/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?