>----- Forwarded Message -----
>From: Henrique Junior <[log in to unmask]>
>To: Eric Wu <[log in to unmask]>
>Sent: Friday, April 20, 2012 4:17 PM
>Subject: Re: scripts dir not in SL6 (build.hdlist.sh)
>
>
>>________________________________
>> From: Eric Wu <[log in to unmask]>
>>To: Connie Sieh <[log in to unmask]>
>>Cc: [log in to unmask]
>>Sent: Thursday, March 1, 2012 12:55 PM
>>Subject: Re: scripts dir not in SL6 (build.hdlist.sh)
>>
>>Thanks for the details and the updated webpage! And the really fast reply.
>>
>> I will check out revisor and ask again if any problems.
>>
>>
>>On 2/29/2012 4:24 PM, Connie Sieh wrote:
>>> 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.
Hi, I'm trying to compose, as a tool, my own customized Scientific Linux DVD.
After some research, I've found that, just as a test, the command
revisor --cli --install-dvd --install-tree --model=sl6-x86_64 --kickstart=/etc/revisor/SL6/ks/sl6.minimal.ks
should work, but I'm getting this errors:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/revisor/__init__.py", line 535, in run
self.base.run()
File "/usr/lib/python2.6/site-packages/revisor/base.py", line 107, in run
self.cli.run()
File "/usr/lib/python2.6/site-packages/revisor/cli.py", line 44, in run
self.base.lift_off()
File "/usr/lib/python2.6/site-packages/revisor/base.py", line 884, in lift_off
self.buildInstallationMedia()
File "/usr/lib/python2.6/site-packages/revisor/base.py", line 1166, in buildInstallationMedia
self.plugins.exec_hook('pre_exec_buildinstall')
File "/usr/lib/python2.6/site-packages/revisor/plugins.py", line 193, in exec_hook
exec("self.%s.%s()" % (plugin,hook))
File "<string>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/revisor/modmock/__init__.py", line 58, in pre_exec_buildinstall
from mock.backend import Root
ImportError: No module named mock.backend
Any advice on this?
--
Henrique "LonelySpooky" Junior
http://about.me/henriquejunior
|