linaro-hwpack-replace only replace same name deb pkg but in fact it needs a smart match
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Medium
|
Deepti B. Kalakeri |
Bug Description
If using a something old deb package to replace to a new hwpack, and the deb package name is different, the package will add to hwpack directly, so that l-m-c can't determine which package is to be installed in later hwpack installation.
e.g.
A hwpack contains a image deb named linux-image-
The right action is to delete old deb and add new deb.
We have name rule for all deb names, [deb name]_[vesion], l-h-r needs a smart match to deb name and replace the right deb package.
Changed in linaro-image-tools: | |
milestone: | none → 2011.07 |
status: | Triaged → Fix Released |
Hi Deepti,
Do you want to tackle this bug?
I imagine that we want to be able to specify a pattern to remove:
linaro- hwpack- replace --hwpack-name some-hwpack --deb_pack some-package --remove linux-image-*
Or similar, what do you think?
I don't know if the python "glob" module can decide if a name matches the "*" there, or whether
that only works against files on disk.
Thanks,
James