Re: mirror-sync and build_all.sh (debian-cd)

2010-02-23 Thread mancyb...@gmail.com
Hi Frans, brilliant!

I confirm that with this string debmirror downloads also the d-i images, the 
docs and the tools:

debmirror --rsync-extra=doc,tools --arch=i386 --dist=lenny 
--section=main,main/debian-installer --method=http --ignore-small-errors 
--nosource --exclude='(e/eclipse(|-.*)/.*)' 
--exclude='/(boson|ice.*|kde.*|koffice|python-.*|qt-x11-free|samba|wengophone)-dbg_'
 
--exclude='/lib(boost|gl1-mesa-dri|nel|qt4|.*webkit.*|wine|wxgtk.*|xul.*|zeroc-ice.*)-dbg_'
 --exclude='/libqt4-debug_' -v -h ftp.nl.debian.org --di-dist=dists 
--di-arch=arches destinationDir

which can be used with debian-cd to create a NETINST image, a CD image and so 
on.

Note that I've used the sid version of debmirror ( version 1:2.4.3 ) because in 
my understanding the lenny one ( version 20070123lenny1 ) 
does not have the --di-dist and the --di-arch options.


Thank you again for this powerful tool and for supporting it.
Mike



On Mon, 22 Feb 2010 22:29:20 +0100
Frans Pop elen...@planet.nl wrote:

 On Monday 22 February 2010, mancyb...@gmail.com wrote:
  note the '--section=main,main/debian-installer'
 
 That includes the *udebs* for the installer, but not the *images*.
 Just look at the file name from the error message and check your mirror; 
 you'll see that it's imply not there.
 
 To also mirror the images, you need the --di-dist and/or --di-arch options.


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100223223831.33402...@faceplanter



mirror-sync and build_all.sh (debian-cd)

2010-02-22 Thread mancyb...@gmail.com
Hi All,

( sorry for double posting [I've posted also on debian-users] but I found this 
list only now )

In the attempt to generate a Debian image which can be booted and installed,
I'm using the mirror-sync mirroring tool provided here: 
http://alioth.debian.org/~fjp/debmirror/mirror-sync
and the build_all.sh script provided by the debian-cd package.

Those are the options which I've configured in mirror-sync:
SUITES=stable
DISTS=lenny
ARCHS=i386
SECTS=main,main/debian-installer

and the result is a 17G size mirror.

When running build_all, this is the result:

./easy-build.sh NETINST

(...)

  Trying to add upgrade* directories
  (Optionally) making the image bootable for i386:
Running tools/boot/lenny/boot-i386 1 /media/mike2/srv/mirror/tmp/lenny/CD1
cp: cannot stat 
`/media/mike2/srv/mirror/debian/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


All is running over Debian Lenny.

Any hints ?



Thanks for supporting,
have a nice day.
Mike


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010012740.4b389...@faceplanter



Re: mirror-sync and build_all.sh (debian-cd)

2010-02-22 Thread Frans Pop
On Monday 22 February 2010, mancyb...@gmail.com wrote:
 ./easy-build.sh NETINST

 cp: cannot stat
 
`/media/mike2/srv/mirror/debian/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

You don't have the Debian Installer images included on your mirror. You can 
either add them (you'll need debmirror from testing for that), or you can 
configure easy-build.sh to load the D-I images from an external mirror.

For the last, see the comments in the easy-build.sh script.

Cheers,
FJP


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100131.35006.elen...@planet.nl



Re: mirror-sync and build_all.sh (debian-cd)

2010-02-22 Thread mancyb...@gmail.com
Hi All, hi Frans, thanks for your time.

I've came up with the same debmirror string which uses 'mirror-sync':

debmirror --arch=i386 --dist=lenny --section=main,main/debian-installer 
--pdiff=use --method=http --ignore-small-errors --nosource 
--exclude='(e/eclipse(|-.*)/.*)' 
--exclude='/(boson|ice.*|kde.*|koffice|python-.*|qt-x11-free|samba|wengophone)-dbg_'
 
--exclude='/lib(boost|gl1-mesa-dri|nel|qt4|.*webkit.*|wine|wxgtk.*|xul.*|zeroc-ice.*)-dbg_'
 --exclude='/libqt4-debug_' -v -h ftp.nl.debian.org 
/media/mike2/srv/mirror/debian

note the '--section=main,main/debian-installer'

but when executing it, the result is:

(...)


Get Packages and Sources files and other miscellany.
Parse Packages and Sources files and add to the file list everything therein.
Download all files that we need to get (36 MiB).
Downloaded 36 MiB in 46s at 779.67 kiB/s
Everything OK. Moving meta files.
Cleanup mirror.
All done.


and the initrd.gz file is still missing.


Thanks for your help,
have a nice evening.
Mike



On Mon, 22 Feb 2010 21:31:34 +0100
Frans Pop elen...@planet.nl wrote:

 On Monday 22 February 2010, mancyb...@gmail.com wrote:
  ./easy-build.sh NETINST
 
  cp: cannot stat
  
 `/media/mike2/srv/mirror/debian/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
 
 You don't have the Debian Installer images included on your mirror. You can 
 either add them (you'll need debmirror from testing for that), or you can 
 configure easy-build.sh to load the D-I images from an external mirror.
 
 For the last, see the comments in the easy-build.sh script.
 
 Cheers,
 FJP


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2010020747.6662b...@faceplanter



Re: mirror-sync and build_all.sh (debian-cd)

2010-02-22 Thread Frans Pop
On Monday 22 February 2010, mancyb...@gmail.com wrote:
 note the '--section=main,main/debian-installer'

That includes the *udebs* for the installer, but not the *images*.
Just look at the file name from the error message and check your mirror; 
you'll see that it's imply not there.

To also mirror the images, you need the --di-dist and/or --di-arch options.


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100229.20839.elen...@planet.nl



Re: mirror-sync and build_all.sh (debian-cd)

2010-02-22 Thread Frans Pop
On Monday 22 February 2010, Frans Pop wrote:
 On Monday 22 February 2010, mancyb...@gmail.com wrote:
  note the '--section=main,main/debian-installer'

 That includes the *udebs* for the installer, but not the *images*.
 Just look at the file name from the error message and check your mirror;
 you'll see that it's imply not there.
   ^--- simply

 To also mirror the images, you need the --di-dist and/or --di-arch
 options.


-- 
To UNSUBSCRIBE, email to debian-cd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100257.37558.elen...@planet.nl