[Cooker] Re: mkh.sh script

2000-05-17 Thread Daniel Hammer

BS''D


hi there everybody,

... spend the whole night with the f$%§& CD-Creation
Unfortunately I still have the same problems as everybody seems to
have at this list

> "depslist.ordered mismatch with hdlist"

But anyway, here are some observations:

 o the " rpmslist" seems to be wrong since during 
   the creation there are announced a lot of unsatisfied
   dependencies. For example:  MySQL, MySQL-client, MySQL-shared-libs
   and ispell-sk must be added and - most important - xloadimage !!

   I attached the right version without bugs.

 o there is a useless locale.dir~ file on the servers
   it does not harm the iso-creation process but one will get an
   annoying remark about it

 o there's a minor bug in Warli's proposal
   gendepslist2 -o CD1/Mandrake/base/depslist
CD1/Mandrake/base/hdlist.cz2 CD1/Mandra/base/hdlist3.cz2 
   must be changed into
   gendepslist2 -o CD1/Mandrake/base/depslist
CD1/Mandrake/base/hdlist.cz2 CD1/Mandra/base/hdlist2.cz2 

Any suggestions?

Please write,

Daniel.

 .~.
 P O W E R E D   B Y ... /V\  
// \\
   /(   )\
^^-^^
 _|_|  
 _|_|_|_|   _|_|  _|   _|  
 _|_|  _|   _|  _|_|   _|_| 
 _|_|  _|   _|  _|_|  _|   _|  
 _|_|_|_|  _|  _|   _|   _|_|_|   _|   _|




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Guy T. Rice

On Tue, 16 May 2000, Guillaume Cottenceau wrote:
> "Guy T. Rice" <[EMAIL PROTECTED]> writes:
> 
> > On Tue, 16 May 2000, Warly wrote:
> > > * step six: generate the filelist
> > > 
> > > genfilelist CD1/Mandrake/RPMS/ CD2/Mandrake/RPMS2/ > CD1/Mandrake/base/filelist
> > 
> > BZZT!  Error in instructions.  I've pointed this out before:
> > 
> >  0 /exports/mirrors/Mandrake/cooker % find . -name genfilelist
> >  0 /exports/mirrors/Mandrake/cooker % 
> > 
> > I'd be happy to modify the mkh.sh script to actually work, if only it didn't
> > call other, nonexistent scripts.  Instructions that also tell us to make use
> > of nonexistent scripts are not any more helpful.
> 
> rpmtools-devel

Thanks!  Silly me, since the first two tools it wants are in the misc/
directory (genhdlist_cz2 and gendepslist2) I just figured they were all
supposed to be there.  Never occurred to me there's an RPM with it.

Currently running the fixed script... if it works, I'll upload it.




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Daniel Hammer

BS''D



> [anton@bladehawke tmp]$ echo $(which genfilelist) is part of  $(rpm -qf \
> > $(which genfilelist))
> /usr/bin/genfilelist is part of rpmtools-devel-1.1-22mdk
>
> And, unless I'm sadly mistaken, Warly just posted the compss script as a
> footnote to his post.

... oh yes, this is my fault !
Thanx a lot to all people involved !!!

Best,

Daniel.
o   o   o
 \  |  /
  \ | /
   \|/
 ~~O-O~~
.--oOO-(_)-OOo-.
|/~~~. /   |
|   /   / \   /|
|  /   }   o  __ / |
| /   / /~\|  /~|~\   /  /_//  |
|/___/ /\_/\_/  |  \_/\_/\_/\_/|
|  |
|[EMAIL PROTECTED] |
|__|
  U   U
 ~~   ~~





Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Warly


all the scripts are in rpmtools of rpmtools-devel exept gencompss which
is listed at the end of my previous mail 

-- 
Warly




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Guillaume Cottenceau

"Guy T. Rice" <[EMAIL PROTECTED]> writes:

> On Tue, 16 May 2000, Warly wrote:
> > * step six: generate the filelist
> > 
> > genfilelist CD1/Mandrake/RPMS/ CD2/Mandrake/RPMS2/ > CD1/Mandrake/base/filelist
> 
> BZZT!  Error in instructions.  I've pointed this out before:
> 
>  0 /exports/mirrors/Mandrake/cooker % find . -name genfilelist
>  0 /exports/mirrors/Mandrake/cooker % 
> 
> I'd be happy to modify the mkh.sh script to actually work, if only it didn't
> call other, nonexistent scripts.  Instructions that also tell us to make use
> of nonexistent scripts are not any more helpful.

rpmtools-devel

-- 
Guillaume Cottenceau




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Guillaume Cottenceau

Daniel Hammer <[EMAIL PROTECTED]> writes:

> BS''D
> 
> > * step three: generate the two hdlists (rpmstools must be installed):
> > 
> > * step six: generate the filelist
> > 
> > genfilelist CD1/Mandrake/RPMS/ CD2/Mandrake/RPMS2/ > CD1/Mandrake/base/filelist
> > 
> > * step seven: generate the compss
> > 
> > gencompss $cd/Mandrake/base/hdlist*.cz2 > $cd/Mandrake/base/compss[1]
> > 
> 
> > --
> > Warly
> 
> where can I get the two binaries/scripts  "genfilelist" and  "gencompss"
> they don't come with the rpmtools-package 

[root@obiwan /home/mandrakesoft/gc] rpm -qpil /RPMS/rpmtools-devel-1.1-22mdk.i586.rpm 
| grep genfilelist 
/usr/bin/genfilelist

when you want to do some devel, think "devel". :-)

-- 
Guillaume Cottenceau




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Anton Graham

Submitted 16-May-00 by Daniel Hammer:
| 
| where can I get the two binaries/scripts  "genfilelist" and  "gencompss"
| they don't come with the rpmtools-package 
| 

[anton@bladehawke tmp]$ echo $(which genfilelist) is part of  $(rpm -qf \
> $(which genfilelist))
/usr/bin/genfilelist is part of rpmtools-devel-1.1-22mdk

And, unless I'm sadly mistaken, Warly just posted the compss script as a
footnote to his post.

-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / <[EMAIL PROTECTED]>
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Guy T. Rice

On Tue, 16 May 2000, Warly wrote:
> * step six: generate the filelist
> 
> genfilelist CD1/Mandrake/RPMS/ CD2/Mandrake/RPMS2/ > CD1/Mandrake/base/filelist

BZZT!  Error in instructions.  I've pointed this out before:

 0 /exports/mirrors/Mandrake/cooker % find . -name genfilelist
 0 /exports/mirrors/Mandrake/cooker % 

I'd be happy to modify the mkh.sh script to actually work, if only it didn't
call other, nonexistent scripts.  Instructions that also tell us to make use
of nonexistent scripts are not any more helpful.




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Daniel Hammer

BS''D

> * step three: generate the two hdlists (rpmstools must be installed):
> 
> * step six: generate the filelist
> 
> genfilelist CD1/Mandrake/RPMS/ CD2/Mandrake/RPMS2/ > CD1/Mandrake/base/filelist
> 
> * step seven: generate the compss
> 
> gencompss $cd/Mandrake/base/hdlist*.cz2 > $cd/Mandrake/base/compss[1]
> 

> --
> Warly

where can I get the two binaries/scripts  "genfilelist" and  "gencompss"
they don't come with the rpmtools-package 

Thanx,

Daniel.




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Warly


Preliminary remark: all the paths are taken relatively to a 
unique mount point, i.e. you have to add a given prefix
that depends of your configuration.

This is a generic way of doing a multicd install, you can
create as many CDs as you want given the number of RPMs you
have, the Mandrake/base/rpmslist file is just an indication
of what packages need to be put on the first CD.

* step one: mirror cooker in CD1

step two: remove from Mandrake/RPMS all the rpms NOT listed in
Mandrake/base/rpmslist and put them somewhere in CD2/Mandrake/RPMS2

create tmp and move CD1/images into it

images are put in a separate path in order to be sure to have
them in the begining of the CD to be able to boot on some limited
bioses.

* step three: generate the two hdlists (rpmstools must be installed):

genhdlist_cz2 -o CD1/Mandrake/base/hdlist.cz2 CD1/Mandrake/RPMS/
genhdlist_cz2 -o CD1/Mandrake/base/hdlist2.cz2 CD2/Mandrake/RPMS2/

* step four: create the file CD1/Mandrake/hdlists that list the CDs names

echo "hdlist.cz2 Mandrake/RPMS Installation CD (x86)" > CD1/Mandrake/base/hdlists
echo "hdlist2.cz2 Mandrake/RPMS2 Extension CD (x86)" >> CD1/Mandrake/base/hdlists

* step five: generate the depslist based on the hdlist*.cz2

gendepslist2 -o CD1/Mandrake/base/depslist CD1/Mandrake/base/hdlist.cz2 
CD1/Mandra/base/hdlist3.cz2 

* step six: generate the filelist

genfilelist CD1/Mandrake/RPMS/ CD2/Mandrake/RPMS2/ > CD1/Mandrake/base/filelist

* step seven: generate the compss

gencompss $cd/Mandrake/base/hdlist*.cz2 > $cd/Mandrake/base/compss[1]

* step eight: create the isos

mkisofs -J -r -b images/cdrom.img -c images/boot.cat -o ../iso/Installation.iso images 
CD1

mkisofs -J -r -o ../iso/Extension.iso CD2

Footnotes: 
[1]  gencompss is a small perl script:

#!/usr/bin/perl

open F, "bzip2 -dc @ARGV 2>/dev/null | hdlist2groups - |";
foreach () {
chop;
/(.*):(.*)/;
push @{$l{$2}}, $1;
}
close F or die;
foreach (sort keys %l) {
print "$_\n";
print "\t$_\n" foreach sort @{$l{$_}};
print "\n";
}

-- 
Warly




Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Daniel Hammer

BS''D


> I am wondering why all the messages reguarding this script for making
> iso's are being ignored.  My message yesturday was the 3rd message
> i've seen on the list asking about the same questions on why the
> script doesn't work, with no support from mandrake.  I have been doing
> ftp installs of cooker since 7.0 was released, but I need to do some
> installs from cd on different computers.  Help on fixing the script
> would be appreciated

you raise a good question David. I've written some e-mails concerning
this problem & here are
the still poor results:

 o I wrote a mail to  Kenny Graunke and surprisingly he claims not to be
the author of the mkh.sh file
(I'll attach the message below)

 o I wrote a mail to Guillaume Cottenceau  and asked him for telling me
(us) how the iso files are
generated which are offered on the ftp-servers (since they produced
a functioning iso they must work)
  He promised me to ask these people who generated them to publish their
scripts
  here in this cooker list.

Any suggestions?!?

Best,

Daniel.



>From - Tue May 16 14:31:59 2000
Return-Path: <[EMAIL PROTECTED]>
Received: from proxy.mediamarketing.de (ns.mediamarketing.de [62.159.68.10])
by pop3.mediamarketing.de (8.9.3/8.9.3) with ESMTP id GAA00783
for <[EMAIL PROTECTED]>; Tue, 16 May 2000 06:55:30 +0200
Received: from mandrakesoft.mandrakesoft.com 
(IDENT:[EMAIL PROTECTED] [216.71.84.35])
by proxy.mediamarketing.de (8.9.3/8.9.3) with ESMTP id IAA29290
for <[EMAIL PROTECTED]>; Tue, 16 May 2000 08:04:13 +0200
Received: (from sympa@localhost)
by mandrakesoft.mandrakesoft.com (8.8.5/8.8.5) id AAA03874
for [EMAIL PROTECTED]; Tue, 16 May 2000 00:33:12 -0500
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr
[212.198.0.202]) by mandrakesoft.mandrakesoft.com (8.8.5/8.8.5) with SMTP
id AAA01278 for <[EMAIL PROTECTED]>; Tue, 16 May 2000 00:15:22
-0500
Received: (qmail 22864754 invoked from network); 16 May 2000 05:40:55 -
Received: from r235m238.cybercable.tm.fr (HELO cybercable.fr)
([195.132.235.238]) (envelope-sender <[EMAIL PROTECTED]>) by
lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for
<[EMAIL PROTECTED]>; 16 May 2000 05:40:55 -
Sender: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 16 May 2000 07:41:07 +0200
From: Daniel Hammer <[EMAIL PROTECTED]>
Organization: I.D.E.E.A.  Thoiroh Live & Fun
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-15mdk i686)
X-Accept-Language: en
Mime-Version: 1.0
To: [EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary="AA388C97339E4A229FA7E408"
Reply-To: [EMAIL PROTECTED]
X-Loop: [EMAIL PROTECTED]
X-Sequence: 1519
Precedence: list
X-Validation-BY: [EMAIL PROTECTED]
Subject: [Cooker] [Fwd: mkh.sh on Mandrake page]
X-Mozilla-Status: 8001
X-Mozilla-Status2: 
X-UIDL: 601640528bb1c71b370f82378c1c6973

This is a multi-part message in MIME format.
--AA388C97339E4A229FA7E408
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



--AA388C97339E4A229FA7E408
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 667947 invoked from network); 16 May 2000 05:23:35 -
Received: from ip216-26-43-199.dsl.du.teleport.com (HELO stallman.freedom.org-l) 
([216.26.43.199]) (envelope-sender <[EMAIL PROTECTED]>)
  by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
  for <[EMAIL PROTECTED]>; 16 May 2000 05:23:35 -
Received: from kenny by stallman.freedom.org-l with local (Exim 3.12 #1 (Debian))
id 12rZpI-0002gF-00
for <[EMAIL PROTECTED]>; Mon, 15 May 2000 22:23:28 -0700
Date: Mon, 15 May 2000 22:23:28 -0700
To: Daniel Hammer <[EMAIL PROTECTED]>
Subject: Re: mkh.sh on Mandrake page
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Tue, May 
16, 2000 at 04:00:20AM +0200
From: Kenny Graunke <[EMAIL PROTECTED]>
X-Mozilla-Status2: 

Dear Daniel,

I'm sorry that I can't help you here, as I never got Mandrake 7.1beta
ISOs created, and I didn't really even write that script.

Let me tell you what happened:

MandrakeSoft announced 7.1beta, with a ISO building script.
Since the only server with premade ISOs would only transfer at 15k
per second (slow...), I downloaded it using rsync. Just by looking
at their ISO building script, I immediately knew it would not work.
So I rewrote it. It was much better, you didn't have to change paths
throughout the entire script. Mandrake also forgot the rpmslist file,
which prevented me from doing it. They seemed to refuse to talk to me,
just quietly doing things, with no email. I was surprised to see my
fixed script show up on their website, with

Re: [Cooker] re: mkh.sh script.

2000-05-16 Thread Daniel Hammer

BS''D


> I am wondering why all the messages reguarding this script for making
> iso's are being ignored.  My message yesturday was the 3rd message
> i've seen on the list asking about the same questions on why the
> script doesn't work, with no support from mandrake.  I have been doing
> ftp installs of cooker since 7.0 was released, but I need to do some
> installs from cd on different computers.  Help on fixing the script
> would be appreciated

you raise a good question David. I've written some e-mails concerning
this problem & here are
the still poor results:

 o I wrote a mail to  Kenny Graunke and surprisingly he claims not to be
the author of the mkh.sh file
(I'll attach the message below)

 o I wrote a mail to Guillaume Cottenceau  and asked him for telling me
(us) how the iso files are
generated which are offered on the ftp-servers (since they produced
a functioning iso they must work)
  He promised me to ask these people who generated them to publish their
scripts
  here in this cooker list.

Any suggestions?!?

Best,

Daniel.



>From - Tue May 16 14:31:59 2000
Return-Path: <[EMAIL PROTECTED]>
Received: from proxy.mediamarketing.de (ns.mediamarketing.de [62.159.68.10])
by pop3.mediamarketing.de (8.9.3/8.9.3) with ESMTP id GAA00783
for <[EMAIL PROTECTED]>; Tue, 16 May 2000 06:55:30 +0200
Received: from mandrakesoft.mandrakesoft.com 
(IDENT:[EMAIL PROTECTED] [216.71.84.35])
by proxy.mediamarketing.de (8.9.3/8.9.3) with ESMTP id IAA29290
for <[EMAIL PROTECTED]>; Tue, 16 May 2000 08:04:13 +0200
Received: (from sympa@localhost)
by mandrakesoft.mandrakesoft.com (8.8.5/8.8.5) id AAA03874
for [EMAIL PROTECTED]; Tue, 16 May 2000 00:33:12 -0500
Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr
[212.198.0.202]) by mandrakesoft.mandrakesoft.com (8.8.5/8.8.5) with SMTP
id AAA01278 for <[EMAIL PROTECTED]>; Tue, 16 May 2000 00:15:22
-0500
Received: (qmail 22864754 invoked from network); 16 May 2000 05:40:55 -
Received: from r235m238.cybercable.tm.fr (HELO cybercable.fr)
([195.132.235.238]) (envelope-sender <[EMAIL PROTECTED]>) by
lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for
<[EMAIL PROTECTED]>; 16 May 2000 05:40:55 -
Sender: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 16 May 2000 07:41:07 +0200
From: Daniel Hammer <[EMAIL PROTECTED]>
Organization: I.D.E.E.A.  Thoiroh Live & Fun
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-15mdk i686)
X-Accept-Language: en
Mime-Version: 1.0
To: [EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary="AA388C97339E4A229FA7E408"
Reply-To: [EMAIL PROTECTED]
X-Loop: [EMAIL PROTECTED]
X-Sequence: 1519
Precedence: list
X-Validation-BY: [EMAIL PROTECTED]
Subject: [Cooker] [Fwd: mkh.sh on Mandrake page]
X-Mozilla-Status: 8001
X-Mozilla-Status2: 
X-UIDL: 601640528bb1c71b370f82378c1c6973

This is a multi-part message in MIME format.
--AA388C97339E4A229FA7E408
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



--AA388C97339E4A229FA7E408
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 667947 invoked from network); 16 May 2000 05:23:35 -
Received: from ip216-26-43-199.dsl.du.teleport.com (HELO stallman.freedom.org-l) 
([216.26.43.199]) (envelope-sender <[EMAIL PROTECTED]>)
  by camus.cybercable.fr (qmail-ldap-1.03) with SMTP
  for <[EMAIL PROTECTED]>; 16 May 2000 05:23:35 -
Received: from kenny by stallman.freedom.org-l with local (Exim 3.12 #1 (Debian))
id 12rZpI-0002gF-00
for <[EMAIL PROTECTED]>; Mon, 15 May 2000 22:23:28 -0700
Date: Mon, 15 May 2000 22:23:28 -0700
To: Daniel Hammer <[EMAIL PROTECTED]>
Subject: Re: mkh.sh on Mandrake page
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Tue, May 
16, 2000 at 04:00:20AM +0200
From: Kenny Graunke <[EMAIL PROTECTED]>
X-Mozilla-Status2: 

Dear Daniel,

I'm sorry that I can't help you here, as I never got Mandrake 7.1beta
ISOs created, and I didn't really even write that script.

Let me tell you what happened:

MandrakeSoft announced 7.1beta, with a ISO building script.
Since the only server with premade ISOs would only transfer at 15k
per second (slow...), I downloaded it using rsync. Just by looking
at their ISO building script, I immediately knew it would not work.
So I rewrote it. It was much better, you didn't have to change paths
throughout the entire script. Mandrake also forgot the rpmslist file,
which prevented me from doing it. They seemed to refuse to talk to me,
just quietly doing things, with no email. I was surprised to see my
fixed script show up on their website, with

[Cooker] re: mkh.sh script.

2000-05-16 Thread David Foresman



I am wondering why all the messages reguarding this 
script for making iso's are being ignored.  My message yesturday was the 
3rd message i've seen on the list asking about the same questions on why the 
script doesn't work, with no support from mandrake.  I have been doing ftp 
installs of cooker since 7.0 was released, but I need to do some installs from 
cd on different computers.  Help on fixing the script would be 
appreciated.