~xnox/debian-cd/unexpected-modules-names

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
#
# This file will have to be sourced where needed
#

# Unset all optional variables first to start from a clean state
unset NONUS             || true
unset FORCENONUSONCD1   || true
unset NONFREE           || true
unset CONTRIB           || true
unset EXTRANONFREE      || true
unset RESTRICTED        || true
unset UNIVERSE          || true
unset MULTIVERSE        || true
# allow configuration on command line
#unset LOCAL             || true
#unset LOCALDEBS         || true
unset SECURED           || true
unset SECRET_KEYRING    || true
unset PUBLIC_KEYRING    || true
unset SIGNING_KEYID     || true
unset SECURITY          || true
unset BOOTDIR           || true
unset BOOTDISKS         || true
unset SYMLINK           || true
unset COPYLINK          || true
unset MKISOFS           || true
unset MKISOFS_OPTS      || true
unset ISOLINUX          || true
unset EXCLUDE           || true
unset SRCEXCLUDE        || true
unset NODEPENDS         || true
unset NORECOMMENDS      || true
unset NOSUGGESTS        || true
unset DOJIGDO           || true
unset JIGDOTEMPLATEURL  || true
unset JIGDOFALLBACKURLS || true
unset JIGDOINCLUDEURLS  || true
unset JIGDOSCRIPT       || true
unset JIGDO_OPTS        || true
unset DEFBINSIZE        || true
unset DEFSRCSIZE        || true
unset FASTSUMS          || true
unset PUBLISH_URL       || true
unset PUBLISH_NONUS_URL || true
unset PUBLISH_PATH      || true
unset UDEB_INCLUDE      || true
unset UDEB_EXCLUDE      || true
unset BASE_INCLUDE      || true
unset BASE_EXCLUDE      || true
unset INSTALLER_CD      || true
unset DI_CODENAME       || true
unset MAXCDS            || true
unset OMIT_MANUAL	    || true
unset OMIT_RELEASE_NOTES || true

if [ -z "$PROJECT" ]; then
  PROJECT=ubuntu
fi
if [ -z "$CAPPROJECT" ]; then
  CAPPROJECT="$(echo "$PROJECT" | perl -ne 'print ucfirst')"
fi

if [ -z "$DIST" ]; then
  DIST=karmic
fi

# The debian-cd dir
# Where I am (hoping I'm in the debian-cd dir)
export BASEDIR=`pwd`

case $DIST in
  warty)
    export CODENAME=warty
    export CAPCODENAME='Warty Warthog'
    export DEBVERSION=4.10
    export OFFICIAL="Linux+ Edition"
    ;;
  hoary)
    export CODENAME=hoary
    export CAPCODENAME='Hoary Hedgehog'
    export DEBVERSION=5.04
    export OFFICIAL="Release"
    ;;
  breezy)
    export CODENAME=breezy
    export CAPCODENAME='Breezy Badger'
    export DEBVERSION=5.10
    export OFFICIAL="Release"
    ;;
  dapper)
    export CODENAME=dapper
    export CAPCODENAME='Dapper Drake'
    export DEBVERSION=6.06.2
    export OFFICIAL="Release"
    ;;
  edgy)
    export CODENAME=edgy
    export CAPCODENAME='Edgy Eft'
    export DEBVERSION=6.10
    export OFFICIAL="Release"
    ;;
  feisty)
    export CODENAME=feisty
    export CAPCODENAME='Feisty Fawn'
    export DEBVERSION=7.04
    export OFFICIAL="Release"
    ;;
  gutsy)
    export PREV_CODENAME=feisty
    export CODENAME=gutsy
    export CAPCODENAME='Gutsy Gibbon'
    export DEBVERSION=7.10
    export OFFICIAL="Release"
    ;;
  hardy)
    export PREV_CODENAME=dapper # need to support upgrades from previous LTS
    export CODENAME=hardy
    export CAPCODENAME='Hardy Heron'
    export DEBVERSION=8.04.4
    export OFFICIAL="Release"
    ;;
  intrepid)
    export PREV_CODENAME=hardy
    export CODENAME=intrepid
    export CAPCODENAME='Intrepid Ibex'
    export DEBVERSION=8.10
    export OFFICIAL="Release"
    ;;
  jaunty)
    export PREV_CODENAME=intrepid
    export CODENAME=jaunty
    export CAPCODENAME='Jaunty Jackalope'
    export DEBVERSION=9.04
    export OFFICIAL="Release"
    ;;
  karmic)
    export PREV_CODENAME=jaunty
    export CODENAME=karmic
    export CAPCODENAME='Karmic Koala'
    export DEBVERSION=9.10
    export OFFICIAL="Release"
    ;;
  lucid)
    export PREV_CODENAME=karmic
    export CODENAME=lucid
    export CAPCODENAME='Lucid Lynx'
    export DEBVERSION=10.04.4
    case $PROJECT in
      ubuntu|ubuntu-server|kubuntu)
	DEBVERSION="$DEBVERSION LTS"
	;;
    esac
    export BACKPORT_KERNELS="oneiric"
    export OFFICIAL="Release"
    ;;
  maverick)
    export PREV_CODENAME=lucid
    export CODENAME=maverick
    export CAPCODENAME='Maverick Meerkat'
    export DEBVERSION=10.10
    export OFFICIAL="Release"
    ;;
  natty)
    export PREV_CODENAME=maverick
    export CODENAME=natty
    export CAPCODENAME='Natty Narwhal'
    export DEBVERSION=11.04
    export OFFICIAL="Release"
    ;;
  oneiric)
    export PREV_CODENAME=natty
    export CODENAME=oneiric
    export CAPCODENAME='Oneiric Ocelot'
    export DEBVERSION=11.10
    export OFFICIAL="Release"
    ;;
  precise)
    export PREV_CODENAME=lucid # need to support upgrades from previous LTS
    export CODENAME=precise
    export CAPCODENAME='Precise Pangolin'
    export DEBVERSION=12.04.5
    case $PROJECT in
      ubuntu|ubuntu-server|kubuntu|edubuntu*|xubuntu)
	DEBVERSION="$DEBVERSION LTS"
	;;
    esac
    # Note that this is singular, unlike lucid; we only ship a single kernel.
    case $PROJECT in
      ubuntu|ubuntu-server|edubuntu*|mythbuntu)
	export BACKPORT_KERNEL=trusty
	;;
    esac
    export OFFICIAL="Release"
    ;;
  quantal)
    export PREV_CODENAME=precise
    export CODENAME=quantal
    export CAPCODENAME='Quantal Quetzal'
    export DEBVERSION=12.10
    export OFFICIAL="Release"
    ;;
  raring)
    export PREV_CODENAME=quantal
    export CODENAME=raring
    export CAPCODENAME='Raring Ringtail'
    export DEBVERSION=13.04
    export OFFICIAL="Release"
    ;;
  saucy)
    export PREV_CODENAME=raring
    export CODENAME=saucy
    export CAPCODENAME='Saucy Salamander'
    export DEBVERSION=13.10
    export OFFICIAL="Release"
    ;;
  trusty)
    export PREV_CODENAME=precise
    export CODENAME=trusty
    export CAPCODENAME='Trusty Tahr'
    export DEBVERSION="14.04.5 LTS"
    export BACKPORT_KERNEL=xenial
    export OFFICIAL="Release"
    ;;
  utopic)
    export PREV_CODENAME=trusty
    export CODENAME=utopic
    export CAPCODENAME='Utopic Unicorn'
    export DEBVERSION="14.10"
    export OFFICIAL="Release"
    ;;
  vivid)
    export PREV_CODENAME=utopic
    export CODENAME=vivid
    export CAPCODENAME='Vivid Vervet'
    export DEBVERSION="15.04"
    export OFFICIAL="Release"
    ;;
  wily)
    export PREV_CODENAME=vivid
    export CODENAME=wily
    export CAPCODENAME='Wily Werewolf'
    export DEBVERSION="15.10"
    export OFFICIAL="Release"
    ;;
  xenial)
    export PREV_CODENAME=wily
    export CODENAME=xenial
    export CAPCODENAME='Xenial Xerus'
    export DEBVERSION="16.04.6 LTS"
    export BACKPORT_KERNEL="hwe-16.04"
    export OFFICIAL="Release"
    ;;
  yakkety)
    export PREV_CODENAME=xenial
    export CODENAME=yakkety
    export CAPCODENAME='Yakkety Yak'
    export DEBVERSION="16.10"
    export OFFICIAL="Release"
    ;;
  zesty)
    export PREV_CODENAME=yakkety
    export CODENAME=zesty
    export CAPCODENAME='Zesty Zapus'
    export DEBVERSION="17.04"
    export OFFICIAL="Release"
    ;;
  artful)
    export PREV_CODENAME=zesty
    export CODENAME=artful
    export CAPCODENAME='Artful Aardvark'
    export DEBVERSION="17.10"
    export OFFICIAL="Release"
    ;;
  bionic)
    export PREV_CODENAME=artful
    export CODENAME=bionic
    export CAPCODENAME='Bionic Beaver'
    export DEBVERSION="18.04.2 LTS"
    export BACKPORT_KERNEL="hwe-18.04"
    export OFFICIAL="Beta"
    ;;
  cosmic)
    export PREV_CODENAME=bionic
    export CODENAME=cosmic
    export CAPCODENAME='Cosmic Cuttlefish'
    export DEBVERSION="18.10"
    export OFFICIAL="Release"
    ;;
  disco)
    export PREV_CODENAME=cosmic
    export CODENAME=disco
    export CAPCODENAME='Disco Dingo'
    export DEBVERSION="19.04"
    export OFFICIAL="Alpha"
    ;;
esac

# By default use Debian installer packages from $CODENAME
if [ ! "$DI_CODENAME" ]
then
  export DI_CODENAME=$CODENAME
fi

# If set, controls where the d-i components are downloaded from.
# This may be an url, or "default", which will make it use the default url
# for the daily d-i builds. If not set, uses the official d-i images from
# the Debian mirror.
#export DI_WWW_HOME=default

# installer for properly uploaded debian-installer builds, daily-installer
# for autobuilt dailies. The newest available version is selected
# automatically; this is an override.
#export DI_TYPE=installer

# ... for arch  
export ARCH=`dpkg --print-architecture`

# IMPORTANT : The 4 following paths must be on the same partition/device.
#	      If they aren't then you must set COPYLINK below to 1. This
#	      takes a lot of extra room to create the sandbox for the ISO
#	      images, however. Also, if you are using an NFS partition for
#	      some part of this, you must use this option.
# Paths to the mirrors
export MIRROR=${MIRROR:-$CDIMAGE_ROOT/ftp}

# Comment the following line if you don't have/want non-US
#export NONUS=/ftp/debian-non-US

# And this option will make you 2 copies of CD1 - one with all the
# non-US packages on it, one with none. Useful if you're likely to
# need both.
#export FORCENONUSONCD1=1

# Path of the temporary directory
export TDIR=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/tmp

# Path where the images will be written
export OUT=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/debian-cd

# Where we keep the temporary apt stuff.
# This cannot reside on an NFS mount.
export APTTMP=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/apt

# Where extracted debootstrap scripts live
export DEBOOTSTRAP=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/debootstrap

# Where live filesystem images live
export LIVEIMAGES=$CDIMAGE_ROOT/scratch/$PROJECT/$DIST/$IMAGE_TYPE/live

# Do I want to have NONFREE merged in the CD set
# export NONFREE=1

# Do I want to have CONTRIB merged in the CD set
#export CONTRIB=1

# Do I want to have NONFREE on a separate CD (the last CD of the CD set)
# WARNING: Don't use NONFREE and EXTRANONFREE at the same time !
# export EXTRANONFREE=1

if [ -z "$CDIMAGE_ONLYFREE" ]; then
  export RESTRICTED=1
fi

if [ "$CDIMAGE_UNSUPPORTED" ]; then
  export UNIVERSE=1
  if [ -z "$CDIMAGE_ONLYFREE" ]; then
    export MULTIVERSE=1
  fi
fi

# If you have a $MIRROR/dists/$CODENAME/local/binary-$ARCH dir with 
# local packages that you want to put on the CD set then
# uncomment the following line 
# export LOCAL=1

# If your local packages are not under $MIRROR, but somewhere else, 
# you can uncomment this line and edit to to point to a directory
# containing dists/$CODENAME/local/binary-$ARCH
# export LOCALDEBS=$CDIMAGE_ROOT/local/packages

# If you want a <codename>-secured tree with a copy of the signed
# Release.gpg and files listed by this Release file, then
# uncomment this line
# export SECURED=1

case $DIST in
  warty) ;;
  hoary|breezy|dapper|edgy|feisty|gutsy|hardy|intrepid|jaunty|karmic|lucid|maverick|natty|oneiric|precise|quantal|raring|saucy|trusty|utopic|vivid|wily)
    export SECRET_KEYRING=$CDIMAGE_ROOT/secret/dot-gnupg/secring.gpg
    export PUBLIC_KEYRING=$CDIMAGE_ROOT/secret/dot-gnupg/pubring.gpg
    export SIGNING_KEYID=C5986B4F1257FFA86632CBA746181433FBB75451
    ;;
  *)
    export SECRET_KEYRING=$CDIMAGE_ROOT/secret/dot-gnupg/secring.gpg
    export PUBLIC_KEYRING=$CDIMAGE_ROOT/secret/dot-gnupg/pubring.gpg
    export SIGNING_KEYID=843938DF228D22F7B3742BC0D94AA3F0EFE21092
    ;;
esac

# Where to find the security patches.  This directory should be the
# top directory of a security.debian.org mirror.
case $DIST in
  warty|hoary|breezy|dapper|edgy|feisty|gutsy|hardy|intrepid|jaunty|karmic|lucid)
    export SECURITY="$MIRROR"
    ;;
esac

# Use post-release updates?
export UPDATES=1

# Sparc only : bootdir (location of cd.b and second.b)
# export BOOTDIR=/boot

# Symlink farmers should uncomment this line :
# export SYMLINK=1

# Use this to force copying the files instead of symlinking or hardlinking
# them. This is useful if your destination directories are on a different
# partition than your source files.
# export COPYLINK=1

# Options
# export MKISOFS=/usr/bin/mkisofs
# export MKISOFS_OPTS="-r"		#For normal users
# export MKISOFS_OPTS="-r -F ."	#For symlink farmers

# Override for i386 and amd64 to use xorriso instead of
# mkisofs/genisoimage. Allows creation of isohybrid images: ISO images
# that will burn correctly onto a CD and also can be written raw to a
# USB stick. xorriso 0.6.5 and later has working support for this.
case $DIST in
  warty|hoary|breezy|dapper|edgy|feisty|gutsy|hardy|intrepid|jaunty|karmic|lucid|maverick|natty)
    ;;
  *)
    export i386_MKISOFS="xorriso"
    export i386_MKISOFS_OPTS="-as mkisofs -r -checksum_algorithm_iso md5,sha1"
    export amd64_MKISOFS="xorriso"
    export amd64_MKISOFS_OPTS="-as mkisofs -r -checksum_algorithm_iso md5,sha1"
    export arm64_MKISOFS="xorriso"
    export arm64_MKISOFS_OPTS="-as mkisofs -r -checksum_algorithm_iso md5,sha1"
    # temporary hack until such time as we can upgrade all builds to 1.2.4
    new_xorriso="/home/cdimage/xorriso/xorriso-1.2.4/xorriso/xorriso"
    if [ -x "$new_xorriso" ]; then
      export amd64_MKISOFS="$new_xorriso"
      export arm64_MKISOFS="$new_xorriso"
    fi
    ;;
esac

# ISOLinux support for multiboot on CD1 for i386
export ISOLINUX=1

# uncomment this to if you want to see more of what the Makefile is doing
#export VERBOSE_MAKE=1

# uncoment this to make build_all.sh try to build a simple CD image if
# the proper official CD run does not work
#ATTEMPT_FALLBACK=yes

# Set your disk size here in MB. Used in calculating package and
# source file layouts in build.sh and build_all.sh. Defaults are for
# CD-R.  For DVD-R the size limit is 4700372992 (see ubuntu-cdimage
# lib/cdimage/tree.py:DailyTreePublisher.size_limit) but we express here
# in MiB, so round down to 4482MiB (4699717632 bytes).  If we round up to
# 4483MiB we will *probably* still fit, but the limit would be 384KiB above
# the actual limit so there's some risk of being oversize for media.
if [ "$CDIMAGE_DVD" = 1 ]; then
  export DEFBINSIZE=4482
  export DEFSRCSIZE=4482
else
  #export DEFBINSIZE=700
  #export DEFSRCSIZE=645
  export DEFBINSIZE=4600
  export DEFSRCSIZE=4600
fi

# We don't want certain packages to take up space on CD1...
#export EXCLUDE="$BASEDIR"/tasks/exclude-sarge
# ...but they are okay for other CDs (UNEXCLUDEx == may be included on CD >= x)
#export UNEXCLUDE2="$BASEDIR"/tasks/unexclude-CD2-sarge
# Any packages listed in EXCLUDE but not in any UNEXCLUDE will be
# excluded completely.

# We also exclude some source packages
#export SRCEXCLUDE="$BASEDIR"/tasks/exclude-src-potato

export NODEPENDS=1

# Set this if the recommended packages should be skipped when adding 
# package on the CD.  The default is 'false'.
export NORECOMMENDS=1

# Set this if the suggested packages should be skipped when adding 
# package on the CD.  The default is 'true'.
export NOSUGGESTS=1

# Image format:
# vfat = Output an image in VFAT format (.img)
# iso  = Output an image in ISO 9660 format (.iso)
if [ -z "$IMAGE_FORMAT" ]; then
  export IMAGE_FORMAT=iso
fi

# Preinstalled Image Filesystem
# This is the expected filesystem that is downloaded from the livefs builders

if [ -z "$PREINSTALLED_IMAGE_FILESYSTEM" ]; then
  export PREINSTALLED_IMAGE_FILESYSTEM=ext4
fi

# Produce jigdo files:
# 0/unset = Don't do jigdo at all, produce only the full iso image.
# 1 = Produce both the iso image and jigdo stuff.
# 2 = Produce ONLY jigdo stuff; no iso image is created (saves lots
#     of disk space).

if [ "$CDIMAGE_INSTALL" != 1 ] && [ "$CDIMAGE_ONLYSOURCE" != 1 ]; then
  # inappropriate
  export DOJIGDO=0
elif [ "$DIST" = warty ]; then
  # only custom builds now
  export DOJIGDO=0
elif [ "$SPECIAL" = 1 ]; then
  # special custom build
  export DOJIGDO=0
else
  export DOJIGDO=1
fi
# HTTP/FTP URL for directory where you intend to make the templates
# available. You should not need to change this; the default value ""
# means "template in same dir as the .jigdo file", which is usually
# correct. If it is non-empty, it needs a trailing slash. "%ARCH%"
# will be substituted by the current architecture.
#export JIGDOTEMPLATEURL=""
#
# Name of a directory on disc to create data for a fallback server in. 
# Should later be made available by you at the URL given in
# JIGDOFALLBACKURLS. In the directory, two subdirs named "Debian" and
# "Non-US" will be created, and filled with hard links to the actual
# files in your FTP archive. Because of the hard links, the dir must
# be on the same partition as the FTP archive! If unset, no fallback
# data is created, which may cause problems - see README.
#export JIGDOFALLBACKPATH="$(OUT)/snapshot/"
#
# Space-separated list of label->URL mappings for "jigdo fallback
# server(s)" to add to .jigdo file. If unset, no fallback URL is
# added, which may cause problems - see README.
export JIGDOFALLBACKURLS="Debian=http://archive.ubuntu.com/ubuntu/"
# commented out until the snapshot archives actually exist to avoid
# silly server load
#export JIGDOFALLBACKURLS="Debian=http://archive.ubuntu.com/cdimage/jigit/$CODENAME/snapshot/"
#
# Space-separated list of "include URLs" to add to the .jigdo file. 
# The included files are used to provide an up-to-date list of Debian
# mirrors to the jigdo _GUI_application_ (_jigdo-lite_ doesn't support
# "[Include ...]").
#export JIGDOINCLUDEURLS="http://cdimage.debian.org/debian-cd/debian-servers.jigdo"
#
# $JIGDOTEMPLATEURL and $JIGDOINCLUDEURLS are passed to
# "tools/jigdo_header", which is used by default to generate the
# [Image] and [Servers] sections of the .jigdo file. You can provide
# your own script if you need the .jigdo file to contain different
# data.
#export JIGDOSCRIPT="myscript"

# If set, use the md5sums from the main archive, rather than calculating
# them locally
export FASTSUMS=1

# A couple of things used only by publish_cds, so it can tweak the
# jigdo files, and knows where to put the results.
# You need to run publish_cds manually, it is not run by the Makefile.
export PUBLISH_URL="http://cdimage.debian.org/jigdo-area"
export PUBLISH_NONUS_URL="http://non-US.cdimage.debian.org/jigdo-area"
export PUBLISH_PATH="/home/jigdo-area/"

# Specify files and directories to *exclude* from jigdo processing. These
# files on each CD are expected to be different to those on the mirror, or
# are often subject to change. Any files matching entries in this list will
# simply be placed straight into the template file.
export JIGDO_EXCLUDE="'README*' /doc/ /md5sum.txt /.disk/ /pics/ 'Release*' 'Packages*' 'Sources*' 'Contents*'"

# Specify files and directories to *exclude* from jigdo processing. These
# files on each CD are expected to be different to those on the mirror, or
# are often subject to change. Any files matching entries in this list will
# simply be placed straight into the template file.
export JIGDO_INCLUDE="/pool/"

# Specify the minimum file size to consider for jigdo processing. Any files
# smaller than this will simply be placed straight into the template file.
export JIGDO_OPTS="-jigdo-min-file-size 1024"

for EXCL in $JIGDO_EXCLUDE
do
    JIGDO_OPTS="$JIGDO_OPTS -jigdo-exclude $EXCL"
done

for INCL in $JIGDO_INCLUDE
do
    JIGDO_OPTS="$JIGDO_OPTS -jigdo-force-md5 $INCL"
done

# Where to find the boot disks
#export BOOTDISKS=$TOPDIR/ftp/skolelinux/boot-floppies

# File with list of packages to include when fetching modules for the
# first stage installer (debian-installer). One package per line.
# Lines starting with '#' are comments.  The package order is
# important, as the packages will be installed in the given order.
#export UDEB_INCLUDE="$BASEDIR"/data/$CODENAME/udeb_include

# File with list of packages to exclude as above.
#export UDEB_EXCLUDE="$BASEDIR"/data/$CODENAME/udeb_exclude

# File with list of packages to include when running debootstrap from
# the first stage installer (currently only supported in
# debian-installer). One package per line.  Lines starting with '#'
# are comments.  The package order is important, as the packages will
# be installed in the given order.
#export BASE_INCLUDE="$BASEDIR"/data/$CODENAME/base_include

# File with list of packages to exclude as above.
#export BASE_EXCLUDE="$BASEDIR"/data/$CODENAME/base_exclude

# Only put the installer onto the cd (set NORECOMMENDS,... as well).
# INSTALLER_CD=0: nothing special (default)
# INSTALLER_CD=1: just add debian-installer (use TASK=tasks/debian-installer-$CODENAME)
# INSTALLER_CD=2: add d-i and base (use TASK=tasks/debian-installer+kernel-$CODENAME)
#export INSTALLER_CD=0

# Parameters to pass to kernel when the CD boots. Not currently supported
# for all architectures.
#export KERNEL_PARAMS="priority=critical"

# If set, limits the number of binary CDs to produce.
if [ "$CDIMAGE_DVD" = 1 ]; then
	export MAXCDS=1
else
	case $PROJECT in
		edubuntu)
			case $DIST in
				warty|hoary|breezy|dapper|edgy)
					export MAXCDS=1
					;;
				*)
					export MAXCDS=2
					;;
			esac
			;;
		*)
			export MAXCDS=1
			;;
	esac
fi

# If set to 0, never overflow binary CDs (for when you only want a single CD
# and want to know when it overflows).
export OVERFLOWBINCDS=0

# If set, overrides the boot picture used.
if [ -z "$SPLASHRLE" ]; then
	export SPLASHRLE="$BASEDIR/data/$DI_CODENAME/splash.rle"
fi
if [ -z "$GFXSPLASH" ]; then
	export GFXSPLASH="$BASEDIR/data/$DI_CODENAME/splash.pcx"
fi
if [ -z "$SPLASHPNG" ]; then
	export SPLASHPNG="$BASEDIR/data/$DI_CODENAME/splash.png"
fi

# Used by build.sh to determine what to build, this is the name of a target
# in the Makefile. Use bin-official_images to build only binary CDs. The
# default, official_images, builds everything.
IMAGETARGET=bin-official_images

# Set to 1 to save space by omitting the installation manual. 
# If so the README will link to the manual on the web site.
#export OMIT_MANUAL=1

# Set to 1 to save space by omitting the release notes
# If so we will link to them on the web site.
export OMIT_RELEASE_NOTES=0

# Set this to override the defaul location
#export RELEASE_NOTES_LOCATION="http://www.debian.org/releases/$CODENAME"

COMPLETE=0