Re: How do I create a Packages file?

2001-07-28 Thread Raphael Hertzog

Le Fri, Jul 27, 2001 at 04:37:23PM -0400, Justin F. Knotzke écrivait:
>   I want to be able to add a series of packages to my Debian CD and
> have them show up in the Advanced option (using dselect).
> 
>   Right now, I have: dists/stable/local/binary-386/admin/
> 
>   In this directory are all my "local" packages.

You can put them right under binary-i386, no need to use a fake admin
directory.

>   I want to create a Packages file for this directory. I've tried
> dpkg-scanpackages at various places, with various options and either
> make mirrorcheck fails or debian-cd doesn't quite build the CD the way
> that I want it..

The generated path (in the Packages file) should be relative to the root
of the mirror so you generate it this way :
$ cd /mirror/debian
$ apt-ftparchive packages dists/stable/local >dists/stable/local/Packages

Cheers,
-- 
Raphaël Hertzog -+- http://strasbourg.linuxfr.org/~raphael/
Le bouche à oreille du Net : http://www.beetell.com
Naviguer sans se fatiguer à chercher : http://www.deenoo.com
Formation Linux et logiciel libre : http://www.logidee.com


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Woody unofficial CDROMs and booting with Grub

2001-07-28 Thread Michele Dalla Silvestra

On Sat, Jul 28, 2001 at 02:57:42AM -0800, Ethan Benson wrote:
> On Sat, Jul 28, 2001 at 12:00:15PM +0200, Michele Dalla Silvestra wrote:
> 
> > Is possible to move Grub from the 2nd CD to the 1st? And to use it in the
> > installation instead of LILO?
> 
> moving it to CD 1 is not enough, it would have to be in the base
> system.  probably too late for that.
>
> Adam already decided no grub for woody boot-floppies, they shall use
> lilo. 
> 
> lilo gets the job done, there is little if any compelling reason to go
> about changing it this late in the game. and take my word for it, even
> small changes in boot-floppies can and often do create headaches and
> troubles.  

Ok. Never mind, I hope for the next major release after woody...

Tecnically, Grub offer more funcionality comparing to Lilo, and the best
distributions (Debian) need the best boot loader (Grub) ;-)


ciao

Michele


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Contrib and non-free packages in Official CDs

2001-07-28 Thread Michele Dalla Silvestra

A little question. I use Debian (and as little as I can) I support its use
mostly because it use only Free Software (free in terms as freedom).

Is possible to move the "contrib" section in the latest CD and remove the
"empty" directory non-free from the CDs?

I've looked the 1st CD from ftp.fsn.hu, there is:
- netscape and realplayer, that require the download of binary-only
  software and can do anything without it, they can be moved in the
  CD 5, and someone can not download it if he want to use only free sw;
- dosemu, require only non-free compilers, but is free software, is
  usable, and may be compiled with free compilers when they will be released
  (this can appen, when I don't know), and if the CD 5 is full it can be
  put in CD 4.


ciao

Michele


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How do I create a Packages file?

2001-07-28 Thread Richard Atterer

On Sat, Jul 28, 2001 at 12:21:10PM +0200, Raphael Hertzog wrote:
> The generated path (in the Packages file) should be relative to the root
> of the mirror so you generate it this way :
> $ cd /mirror/debian
> $ apt-ftparchive packages dists/stable/local >dists/stable/local/Packages

ISTR apt didn't pick the Packages file up via HTTP when I did
something like this a while ago - you *have* to gzip it to make
everything work. I use the following Makefile rule (the current
directory must be the one containing 'dists' when it is invoked):

# create Packages and Sources files
deb:
@for x in `find . -type d -name 'binary-*'`; do \
cmd="apt-ftparchive packages $$x | gzip -9 > $$x/Packages.gz"; \
echo "$$cmd"; eval "$$cmd"; \
done
@for x in `find . -type d -name 'source'`; do \
cmd="apt-ftparchive sources $$x | gzip -9 > $$x/Sources.gz"; \
echo "$$cmd"; eval "$$cmd"; \
done

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  Universität München, Germany  |  0x888354F7
  ¯ ´` ¯


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]