View previous topic :: View next topic |
Author |
Message |
engelsman
Joined: 21 Aug 2005 Posts: 131 Location: Netherlands
|
Posted: Fri Jul 21, 2006 8:58 pm Post subject: how to stop 'lunar upgrade' removing my modules from zlocal |
|
|
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 |
|
 |
ElAngelo
Joined: 10 Aug 2005 Posts: 77
|
Posted: Fri Jul 21, 2006 9:11 pm Post subject: |
|
|
they should not get removed... what you are seeing is pebcak |
|
Back to top |
|
 |
engelsman
Joined: 21 Aug 2005 Posts: 131 Location: Netherlands
|
Posted: Fri Jul 21, 2006 10:43 pm Post subject: found it! |
|
|
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
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 |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Mon Jul 24, 2006 3:31 pm Post subject: OOPS |
|
|
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  |
|
Back to top |
|
 |
|