Bug 87520 - Graphical config tool does not see last package in ecos.db
Graphical config tool does not see last package in ecos.db
Status: CLOSED CURRENTRELEASE
Product: eCos
Classification: Retired
Component: ConfigTool (Show other bugs)
2.0 beta 1
All Linux
medium Severity medium
: ---
: ---
Assigned To: John Dallaway
John Dallaway
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-28 04:33 EST by Chris Garry
Modified: 2007-04-18 12:52 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-03-28 07:06:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Chris Garry 2003-03-28 04:33:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET 
CLR 1.0.3705)

Description of problem:
The graphical configuration tool (as supplied with 2.0b1) does not see the 
last 'package' entry in the ecos.db file.

In the 2.0b1 repository, the last package (not target) entry is 'Allied Telesyn 
TS1000 ethernet driver'.  But if you select:
build->Packages from the menu and attempt to add the package it is not listed 
under the 'Available packages'.

If you now add a new package using the package administration tool (the lwip 
package for example), then when you  select build->packages the 'Allied Telesyn 
TS1000 ethernet driver' is now listed but the 'lwip' package is not.

This is seen on a Win2K PC running Cygwin.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Start the graphical config tool and select Build->Packages from the menu.
2. In the available packages window look for the 'Allied Telesyn TS1000 
ethernet driver' (the last package in the 2.0b1 ecos.db file).  It is not there.
3. In the available packages window look for the 'Flash memory support for 
Allied Telesyn TS1000 ...' (the 2nd to last package in the 2.0b1 ecos.db 
file).  It is there.
4. Close the graphical config tool and hand edit the ecos.db file to swap round 
the order of the 2 packages.
5. Repeat steps 1 to 3 to see the ethernet driver package is now seen, but the 
FLASH support package is not.

Additional info:
Comment 1 John Dallaway 2003-03-28 07:06:53 EST
Problem reproduced, identified and (trivially) fixed. A 'for' loop which 
populates the packages lists in the packages dialog was terminating 
prematurely. I have checked the fix in to anonCVS and it should appear in the 
eCos 2.0 final release. 
 
Thanks for the clear and concise bug report! 
 

Note You need to log in before you can comment on or make changes to this bug.