[Revisor-users] Question about strip_copy_dir & %post directives

Kevin Wilson Kevin.Wilson at comtrol.com
Thu Sep 6 21:44:03 UTC 2007


Sweet! I'll give git a pull tomorrow to test everything and also see how my %post section copy statements work out. Thanks again for the copy_dir changes, it plopped the folder in root perfectly.

Question: Must I prefix the cp directives in the %post section of my kickstart file same as you did for the copy_dir operation or will the absolute paths I have now work ok?

cheers,

kev

-----Original Message-----
From: revisor-users-bounces at fedoraunity.org
[mailto:revisor-users-bounces at fedoraunity.org]On Behalf Of Jeroen van
Meeuwen
Sent: Thursday, September 06, 2007 16:33
To: Revisor User Discussion and Support List
Subject: Re: [Revisor-users] Question about strip_copy_dir & %post
directives


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin Wilson wrote:
> Alrighty, we have struck gold with the copying of files over the generated image. After my last posts concerning the latest and greatest clone from git I went and grabbed the copy_dir checkin you did (link below) and used it test whether the files get pulled over. 
> 
> I need to switch back to the latest clone though since this snapshot has some serious package inclusion/exclusion issues. I thought I read in the list that you had resolved the problem where the livecd-fedora-minimal.ks package list was ignored, was I wrong about that?
> 

I know I did so when you get back to the latest snapshot can you give me
a heads-up on this, whether it works for you? If it doesn't, I'll have
to fix the regression.

Thanks, BTW, for the other tracebacks ;-)

Now pushing ;-)

Kind regards,

Jeroen van Meeuwen
- -kanarip

> http://git.fedoraproject.org/?p=hosted/revisor;a=commit;h=3c5389a6f2cb63e64ae6f9b9a3e3361d4d4a855b
> 
> -----Original Message-----
> From: revisor-users-bounces at fedoraunity.org
> [mailto:revisor-users-bounces at fedoraunity.org]On Behalf Of Kevin Wilson
> Sent: Thursday, September 06, 2007 08:59
> To: Revisor User Discussion and Support List
> Subject: Re: [Revisor-users] Question about strip_copy_dir & %post
> directives
> 
> 
> Here are a couple more that stop the app from building an optical. I
> checked the bugs site and then git. The git tree did show your comment
> about ksobj.set in the update posted 6 hours ago but I'm not sure if
> that covers all of these listed below. I'll see if I can comment these
> out too to get back to testing the copy_dir patch you applied a while back.
> 
> Traceback (most recent call last):
>   File "/root/revisor/revisor/lm_bootloader.py", line 74, in
> button_forward_clicked
>     self.gui.displayLMNetwork()
>   File "/root/revisor/revisor/gui.py", line 253, in displayLMNetwork
>     self.LMConfNetwork = lm_network.LMNetwork(self)
>   File "/root/revisor/revisor/lm_network.py", line 129, in __init__
>     self.restore_options()
>   File "/root/revisor/revisor/lm_network.py", line 422, in restore_options
>     for nic in self.kshandler.network.network:
> AttributeError: LMNetwork instance has no attribute 'kshandler'
> Traceback (most recent call last):
>   File "/root/revisor/revisor/lm_network.py", line 472, in
> button_forward_clicked
>     self.store_options()
>   File "/root/revisor/revisor/lm_network.py", line 379, in store_options
>     self.cfg.ksobj._network_network([])
> TypeError: _network_network() takes exactly 1 argument (2 given)
> 
> Kevin Wilson wrote:
>> Grabbed the latest from git yesterday evening but there are a couple
>> glitches in lm_basic_py. For my purposes of testing the copy_dir fix you
>> applied I am going to comment these lines out and see if will let me
>> continue on to doing a build.
>>
>> #1)
>>
>>   File "/root/revisor/revisor/lm_basic.py", line 307, in
>> button_forward_clicked
>>     self.store_options()
>>   File "/root/revisor/revisor/lm_basic.py", line 326, in store_options
>>
>> self.cfg.ksobj.set_lang_lang(self.langDict[self.lang_combo.get_active_text()])
>> AttributeError: RevisorKickstart instance has no attribute 'set'
>>
>> #2)
>>
>> File "/root/revisor/revisor/lm_basic.py", line 307, in
>> button_forward_clicked
>>     self.store_options()
>>   File "/root/revisor/revisor/lm_basic.py", line 364, in store_options
>>     self.cfg.ksobj.set_platform(self.platform_combo.entry.get_text())
>> AttributeError: RevisorKickstart instance has no attribute 'set_platform'
>>
>>
>>
>> Kevin Wilson wrote:
>>>>> I think I fixed it
>>> Primo! I'll give it a spin. 
>>>
>>>>> Is there a /bench directory with all files now, on the host system?
>>> Before running revisor I made a copy of my bench folder from its nfs-linked location into /tmp/revisor-test/. The folder contents you see listed as being copied are correct.
>>>
>>> -----Original Message-----
>>> From: revisor-users-bounces at fedoraunity.org
>>> [mailto:revisor-users-bounces at fedoraunity.org]On Behalf Of Jeroen van
>>> Meeuwen
>>> Sent: Monday, August 27, 2007 15:39
>>> To: Revisor User Discussion and Support List
>>> Subject: Re: [Revisor-users] Question about strip_copy_dir & %post
>>> directives
>>>
>>>
>>> Jeroen van Meeuwen wrote:
>>>> Kevin Wilson wrote:
>>>>> FYI: No luck on that 2nd cd build I did on Friday. Here are the exact
>>>>> copy messages from the debug log. The only thing I see out of the
>>>>> ordinary is the .Trash-0 folder cmds. Right after that it goes right
>>>>> into creating the cd. This cd build did boot up to cmd line and I logged
>>>>> into root. A search for bench*, bench, and *bench* yielded nada.
>>>>> Copying /tmp/revisor-test/bench/.project to /bench/.project
>>>>> Copying /tmp/revisor-test/bench/rp2bench to /bench/rp2bench
>>>>> Copying /tmp/revisor-test/bench/Module.symvers to /bench/Module.symvers
>>>>> Copying /tmp/revisor-test/bench/Makefile to /bench/Makefile
>>>> Perfect, this is what I needed! See it should have been saying something
>>>> similar to:
>>>> Copying /tmp/revisor-test/bench/file to /var/tmp/revisor/bench/file
>>>> Is there a /bench directory with all files now, on the host system?
>>>> I'm fixing this problem right now, I'll let you know when it's done.
>>> I think I fixed it ;-) It's in GIT if you want.
>>>
>> _______________________________________________
>> Revisor-users mailing list
>> Revisor-users at fedoraunity.org
>> http://lists.fedoraunity.org/mailman/listinfo/revisor-users
>> _______________________________________________
>> Revisor-users mailing list
>> Revisor-users at fedoraunity.org
>> http://lists.fedoraunity.org/mailman/listinfo/revisor-users
>>
>>
> _______________________________________________
> Revisor-users mailing list
> Revisor-users at fedoraunity.org
> http://lists.fedoraunity.org/mailman/listinfo/revisor-users
> _______________________________________________
> Revisor-users mailing list
> Revisor-users at fedoraunity.org
> http://lists.fedoraunity.org/mailman/listinfo/revisor-users


- --
Kind regards,

Jeroen van Meeuwen
- -kanarip

- --
http://www.kanarip.com/
RHCE, LPIC-2, MCP, CCNA
C6B0 7FB4 43E6 CDDA D258  F70B 28DE 9FDA 9342 BF08
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFG4HISKN6f2pNCvwgRAq9vAJ93JP11+HinnIwNfHxa10qlmkZTEQCffODU
xe5HR48h4mHulWNHFjlzagg=
=2phQ
-----END PGP SIGNATURE-----
_______________________________________________
Revisor-users mailing list
Revisor-users at fedoraunity.org
http://lists.fedoraunity.org/mailman/listinfo/revisor-users


More information about the Revisor-users mailing list