how to stop 'lunar upgrade' removing my modules from zlocal

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Module Development
View previous topic :: View next topic  
Author Message
engelsman



Joined: 21 Aug 2005
Posts: 131
Location: Netherlands

PostPosted: Fri Jul 21, 2006 8:58 pm    Post subject: how to stop 'lunar upgrade' removing my modules from zlocal Reply with quote

I recently created some new modules for my own use and following the instructions in the Module_Writing page, I created them in zlocal. However, I've just run lunar update and apart from some strange messages that appeared to come from the internals of my modules (but I can't see in the files themselves) the lunar update also *removed* my modules.

How to I tell the system not to remove my zlocal modules?
Back to top
View user's profile Send private message
ElAngelo



Joined: 10 Aug 2005
Posts: 77

PostPosted: Fri Jul 21, 2006 9:11 pm    Post subject: Reply with quote

they should not get removed... what you are seeing is pebcak
Back to top
View user's profile Send private message
engelsman



Joined: 21 Aug 2005
Posts: 131
Location: Netherlands

PostPosted: Fri Jul 21, 2006 10:43 pm    Post subject: found it! Reply with quote

Went back through the various module related links under the Lunar Linux Documentation page and couldn't find anything obvious. However man lvu states:
Code:

edit <module>
    Copy an existing module to zlocal so it can be edited. Turn on ZLOCAL_OVERRIDES
    to make sure  your edited module gets used instead of the default module.

But my modules were new modules, not copies of existing modules, so I hadn't bothered to set ZLOCAL_OVERRIDES when I created the modules, and everything just worked. Trying to re-run lin on my modules gave me 'Unable to find module in moonbase' messages. After using lunar to explicitly switch ZLOCAL_OVERRIDES from OFF to ON, lin was finally able to find and install the new modules from zlocal. So, solved by the pebcak Razz

The activity log shows the lunar module itself had been updated at the start of the lunar update:
Code:

20060721-15:58:26       lrm     lunar   20060319        success
20060721-15:58:28       lin     lunar   20060527        success

Did zlocal and ZLOCAL_OVERRIDE handling change between the two versions?
Back to top
View user's profile Send private message
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Mon Jul 24, 2006 3:31 pm    Post subject: OOPS Reply with quote

this was a bug in lunar/theedge that got fixed 2 weeks ago - but only in _theedge_

I'll sync and push lunar today so you get the fix Smile
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Module Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group