[Lunar-bugs] [bug] lunar rebuild causes update of module versions instead of using current versions

Arnald maintainer at lunar-linux.org
Sat Jul 10 11:35:53 GMT 2004


 Project:      lunar-linux
 Version:      <none>
 Component:    theedge (core tools)
 Category:     bug reports
 Priority:     normal
 Assigned to:  
 Reported by:  Arnald
 Updated by:   Arnald
 Status:       active

As I understand it, and as I believe has historically been the case, the
lunar rebuild command is intended to perform a rebuild of the lunar
installation as it currently stands, preserving current software
versions.  Other methods exist for performing upgrades.

The rebuild function in main.lunar builds a list of modules using the
command:

LIST=$(grep ":installed:" $MODULE_STATUS | cut -d: -f1)

which will clearly include the moonbase module.  The latest moonbase is
therefore installed, possibly indicating new versions of some modules,
which are subsequently upgraded.

If the moonbase module were explicitly stripped from this list, eg:

LIST=$(grep ":installed:" $MODULE_STATUS | cut -d: -f1 | grep -v
moonbase)

Then no network activity would occur; moonbase would not be upgraded,
and the system would be rebuilt with current versions in place as is, I
believe, the intention.





Arnald

-- 
View: http://lunar-linux.org/?q=node/view/341
Edit: http://lunar-linux.org/?q=project/comments/add/341




More information about the Lunar-bugs mailing list