[Simple-cdd-devel] simple-cdd with conf file

Vagrant Cascadian vagrant at freegeek.org
Sun Jun 27 21:24:52 UTC 2010


On Fri, May 28, 2010 at 11:14:05AM +0200, Salvatore De Paolis wrote:
> i'm trying to build a customized debian CD, using a myprofile.conf file.
> Here's the profile:

i would recommend trying without a conf file using just the defaults, and then
only change things that you need to change... start off simpler. :)

have you seen the wiki at http://wiki.debian.org/Simple-CDD/Howto ?
 
> profiles="xfce"
> build_profiles="xfce"

no need to specify in both profiles and build_profiles. all things that happen
with build_profiles happen with things specified in profiles...

do you have an xfce profile defined anywhere? it's not part of the defaults.

> mirror_tools="reprepro"
> simple_cdd_dir="/opt/debian"

you didn't include a mirror tool that will actually download the d-i images.
reprepro can only handle .deb/.udeb files, other files need to be handled by
another tool.

> simple_cdd_temp="$simple_cdd_dir/tmp"

> server="ftp.debian.org"
> debian_mirror="http://$server/debian"
> rsync_debian_mirror="$server::debian"
> mirror_components="main contrib non-free"
> security_mirror="http://security.debian.org"
> do_mirror="true"

all of the above are defaults, except maybe for mirror_components...

> And here running simple-cdd:
> 
> $ simple-cdd --conf myprofile.conf -g

"-g" probably doesn't do anything useful anymore, due to changes introduced in
debian-cd for lenny and later...
 
> ...
> Updating task files...
> - copying task files from 'tasks/lenny/'
> - copying firwmare task file from 'tasks/firmware'
> - task.languages: using 'tasks/lenny/'
> cp: omitting directory `/opt/debian/tmp/debian-cd/tasks/lenny/'
> make: *** [/opt/debian/tmp/cd-build/lenny/tasks] Error 1
> ...
> cat: /opt/debian/tmp/cd-build/lenny/tasks/tasks/simple-cdd.task: No such file
> or directory ...
> ERROR: Unable to read UDEB_EXCLUDE
> file /opt/debian/tmp/debian-cd/data/lenny/i386_netinst_udeb_exclude Adding
> installtools Adding common docs on CD1 ERROR: no README* files in the
> mirror /opt/debian/tmp/mirror Adding Release files
> Trying to add upgrade* directories
> (Optionally) making the image bootable for i386:
> Running tools/boot/lenny/boot-i386 1 /opt/debian/tmp/cd-build/lenny/CD1 
> cp: cannot stat
> `/opt/debian/tmp/mirror/dists/lenny/main/installer-i386/current/images/cdrom/initrd.gz':
> No such file or directory FAILED: error 1 Failed to start disc 1, error 256
> make: *** [image-trees] Error 9 including
...snip... 
> Do you have idea why i get this errors?

the problem was that you changed the default value for mirror_tools, and didn't
include a tool that downloads the debian-installer images.

good luck.

live well,
  vagrant



More information about the Simple-cdd-devel mailing list