On Fri, 20 Apr 2012, Henrique Junior wrote:

=0A>----- Forwarded Message -----=0A>From: Henrique Junior <henriquecsj@gma=
il.com>=0A>To: Eric Wu <e...@bbn.com> =0A>Sent: Friday, April 20, 2012 4:17 =
PM=0A>Subject: Re: scripts dir not in SL6 (build.hdlist.sh)=0A> =0A>=0A>>__=
______________________________=0A>> From: Eric Wu <e...@bbn.com>=0A>>To: Con=
nie Sieh <cs...@fnal.gov> =0A>>Cc: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV=
=0A>>Sent: Thursday, March 1, 2012 12:55 PM=0A>>Subject: Re: scripts dir n=
ot in SL6 (build.hdlist.sh)=0A>> =0A>>Thanks for the details and the update=
d webpage!=A0 And the really fast reply.=0A>>=0A>>=A0 I will check out revi=
sor and ask again if any problems.=0A>>=0A>>=0A>>On 2/29/2012 4:24 PM, Conn=
ie Sieh wrote:=0A>>> On Wed, 29 Feb 2012, Eric Wu=0Awrote:=0A>>>=0A>>>> Apo=
logies if this has already been answered.=A0 I checked the archives,=0A>>>>=
but could have missed something.=0A>>>>=0A>>>> I was looking for the "buil=
d" directory in SL6.=A0 This directory was=0A>>>> present in SL5.=0A>>>>=0A=
Specifically, I am looking for the build/scripts/build.hdlist.sh comma=
nd=0A>>>> which was run=0A>>>> every time you added/removed an RPM from the=
=A0 repository.=0A>>>>=0A>>>> I am not necessarily looking to roll my own D=
VD.=0A>>>>=0A>>>>=0A>>>> Is this done differently in SL6?=0A>>>=0A>>> Yes.=
=A0 We use a product called "revisor" to do the "compose" of SL 6.=0A>>>=0A=
The basis of the build/scripts/build.hdlist.sh is to run "createrepo" =
=0A>>> on the directory tree which contains the "RPMSs".=A0 Depending where=
you =0A>>> want the "repodata" directory determines where you "start" crea=
terepo =0A>>> from.=0A>>> For the SL 6 tree something like=0A>>> ----------=
---------------------------------------------------------------- =0A>>>=0A>=
ARCH=3Dx86_64=0A>>> DISTOTREE=3D/somedistrodir/$ARCH/os=0A>>> echo " Sta=
rting createrepo in $DISTOTREE"=0A>>> cd $DISTOTREE=0A>>> #The repodata/=A0=
and Packages/ directories should be in PWD=0A>>> createrepo -g repodata/co=
mps-sl6-$ARCH.xml .=0A>>> -------------------------------------------------=
------------------------- =0A>>>=0A>>>=0A>>> -Connie Sieh=0A>>>=0A>>>> I ch=
ecked http://www.scientificlinux.org/documentation/howto/create.site=0A>>>>=
but wasn't sure if that=0Awas relevant.=0A>>>>=0A>>>>=0A>>>>=0A>>>> Thanks=
in advance.=0A=0A=0A=0AHi, I'm trying to compose, as a tool, my own custom=
ized Scientific Linux DVD.=0AAfter some research, I've found that, just as =
a test, the command=0Arevisor=A0--cli=A0--install-dvd=A0--install-tree --mo=
del=3Dsl6-x86_64 --kickstart=3D/etc/revisor/SL6/ks/sl6.minimal.ks=0Ashould =
work, but I'm getting this errors:=0A=0ATraceback=A0(most recent call last)=
:=0A=A0 File "/usr/lib/python2.6/site-packages/revisor/__init__.py", line 5=
35, in run=0A=A0 =A0 self.base.run()=0A=A0 File "/usr/lib/python2.6/site-pa=
ckages/revisor/base.py", line 107, in run=0A=A0 =A0 self.cli.run()=0A=A0 Fi=
le "/usr/lib/python2.6/site-packages/revisor/cli.py", line 44, in run=0A=A0=
=A0 self.base.lift_off()=0A=A0 File "/usr/lib/python2.6/site-packages/revi=
sor/base.py", line 884, in lift_off=0A=A0 =A0 self.buildInstallationMedia()=
=0A=A0 File "/usr/lib/python2.6/site-packages/revisor/base.py", line 1166, =
in=A0buildInstallationMedia=0A=A0 =A0 self.plugins.exec_hook('pre_exec_buil=
dinstall')=0A=A0 File "/usr/lib/python2.6/site-packages/revisor/plugins.py"=
, line 193, in exec_hook=0A=A0 =A0 exec("self.%s.%s()" % (plugin,hook))=0A=
=A0 File "<string>", line 1, in <module>=0A=A0 File "/usr/lib/python2.6/sit=
e-packages/revisor/modmock/__init__.py", line 58, in=A0pre_exec_buildinstal=
l=0A=A0 =A0 from mock.backend=A0import Root=0AImportError: No module named =
mock.backend=0A=0AAny advice on this?=0A=0A--=0A=0AHenrique "LonelySpooky" =
Junior=0Ahttp://about.me/henriquejunior


Where did you get revisor?  From SL6 or ?

Thanks

-Connie Sieh

Reply via email to