Re: scripts dir not in SL6 (build.hdlist.sh)
It's just incompatibility between SL6s revisor-mock and EPELs mock. You may try to use older version of mock, for ex.: http://downloads.naulinux.ru/pub/NauLinux/6rolling/i386/Extras/RPMS/mock-1.1.9-1.el6.noarch.rpm or just uninstall revisor-mock package. Apropos -- Connie, Pat -- what do you think about including actual version of mock to distro? It's may be helpful for respin developers. 20/04/2012 15:25 -0700, Henrique Junior wrote: Hi, Connie, I'm using revisor from SL6x repo (2.2-2.sl6.4). I do have EPEL enabled. -- Henrique LonelySpooky Juniorhttp://about.me/henriquejunior - Original Message - From: Connie Sieh cs...@fnal.gov To: Henrique Junior henrique...@gmail.com Cc: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV Sent: Friday, April 20, 2012 5:05 PM Subject: Re: scripts dir not in SL6 (build.hdlist.sh) On Fri, 20 Apr 2012, Henrique Junior wrote: =0A- Forwarded Message -=0AFrom: Henrique Junior henriquecsj@gma= il.com=0ATo: Eric Wu e...@bbn.com =0ASent: Friday, April 20, 2012 4:17 = PM=0ASubject: Re: scripts dir not in SL6 (build.hdlist.sh)=0A =0A=0A__= __=0A From: Eric Wu e...@bbn.com=0ATo: Con= nie Sieh cs...@fnal.gov =0ACc: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV= =0ASent: Thursday, March 1, 2012 12:55 PM=0ASubject: Re: scripts dir n= ot in SL6 (build.hdlist.sh)=0A =0AThanks 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=0AOn 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
Re: scripts dir not in SL6 (build.hdlist.sh)
Em Sáb, 2012-04-21 às 20:58 +0400, Oleg Sadov escreveu: It's just incompatibility between SL6s revisor-mock and EPELs mock. You may try to use older version of mock, for ex.: http://downloads.naulinux.ru/pub/NauLinux/6rolling/i386/Extras/RPMS/mock-1.1.9-1.el6.noarch.rpm or just uninstall revisor-mock package. Apropos -- Connie, Pat -- what do you think about including actual version of mock to distro? It's may be helpful for respin developers. 20/04/2012 15:25 -0700, Henrique Junior wrote: Hi, Connie, I'm using revisor from SL6x repo (2.2-2.sl6.4). I do have EPEL enabled. -- Henrique LonelySpooky Juniorhttp://about.me/henriquejunior - Original Message - From: Connie Sieh cs...@fnal.gov To: Henrique Junior henrique...@gmail.com Cc: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV Sent: Friday, April 20, 2012 5:05 PM Subject: Re: scripts dir not in SL6 (build.hdlist.sh) On Fri, 20 Apr 2012, Henrique Junior wrote: =0A- Forwarded Message -=0AFrom: Henrique Junior henriquecsj@gma= il.com=0ATo: Eric Wu e...@bbn.com =0ASent: Friday, April 20, 2012 4:17 = PM=0ASubject: Re: scripts dir not in SL6 (build.hdlist.sh)=0A =0A=0A__= __=0A From: Eric Wu e...@bbn.com=0ATo: Con= nie Sieh cs...@fnal.gov =0ACc: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV= =0ASent: Thursday, March 1, 2012 12:55 PM=0ASubject: Re: scripts dir n= ot in SL6 (build.hdlist.sh)=0A =0AThanks 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=0AOn 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
Re: scripts dir not in SL6 (build.hdlist.sh)
On Fri, 20 Apr 2012, Henrique Junior wrote: =0A- Forwarded Message -=0AFrom: Henrique Junior henriquecsj@gma= il.com=0ATo: Eric Wu e...@bbn.com =0ASent: Friday, April 20, 2012 4:17 = PM=0ASubject: Re: scripts dir not in SL6 (build.hdlist.sh)=0A =0A=0A__= __=0A From: Eric Wu e...@bbn.com=0ATo: Con= nie Sieh cs...@fnal.gov =0ACc: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV= =0ASent: Thursday, March 1, 2012 12:55 PM=0ASubject: Re: scripts dir n= ot in SL6 (build.hdlist.sh)=0A =0AThanks 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=0AOn 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
Re: scripts dir not in SL6 (build.hdlist.sh)
Hi, Connie, I'm using revisor from SL6x repo (2.2-2.sl6.4). I do have EPEL enabled. -- Henrique LonelySpooky Juniorhttp://about.me/henriquejunior - Original Message - From: Connie Sieh cs...@fnal.gov To: Henrique Junior henrique...@gmail.com Cc: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV Sent: Friday, April 20, 2012 5:05 PM Subject: Re: scripts dir not in SL6 (build.hdlist.sh) On Fri, 20 Apr 2012, Henrique Junior wrote: =0A- Forwarded Message -=0AFrom: Henrique Junior henriquecsj@gma= il.com=0ATo: Eric Wu e...@bbn.com =0ASent: Friday, April 20, 2012 4:17 = PM=0ASubject: Re: scripts dir not in SL6 (build.hdlist.sh)=0A =0A=0A__= __=0A From: Eric Wu e...@bbn.com=0ATo: Con= nie Sieh cs...@fnal.gov =0ACc: SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV= =0ASent: Thursday, March 1, 2012 12:55 PM=0ASubject: Re: scripts dir n= ot in SL6 (build.hdlist.sh)=0A =0AThanks 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=0AOn 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
Re: scripts dir not in SL6 (build.hdlist.sh)
On Wed, 29 Feb 2012, Eric Wu wrote: Apologies if this has already been answered. I checked the archives, but could have missed something. I was looking for the build directory in SL6. This directory was present in SL5. Specifically, I am looking for the build/scripts/build.hdlist.sh command which was run every time you added/removed an RPM from the repository. I am not necessarily looking to roll my own DVD. Is this done differently in SL6? Yes. We use a product called revisor to do the compose of SL 6. The basis of the build/scripts/build.hdlist.sh is to run createrepo on the directory tree which contains the RPMSs. Depending where you want the repodata directory determines where you start createrepo from. For the SL 6 tree something like -- ARCH=x86_64 DISTOTREE=/somedistrodir/$ARCH/os echo Starting createrepo in $DISTOTREE cd $DISTOTREE #The repodata/ and Packages/ directories should be in PWD createrepo -g repodata/comps-sl6-$ARCH.xml . -- -Connie Sieh I checked http://www.scientificlinux.org/documentation/howto/create.site but wasn't sure if that was relevant. Thanks in advance.