Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S supervisor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • updater
  • supervisor
  • Merge requests
  • !17

Fix check for installed packages and removed package

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Karel Koci requested to merge fix-installed into master Dec 02, 2020
  • Overview 1
  • Commits 1
  • Changes 2

Updater preserves removed packages in index if they at time of removal had some modified configuration files. Such packages are removed and should be reported as such. There is also no control file on filesystem.

This fixes missing control file error by just not reading control file if it is not present. This has no impact as info is not available about that package and should not be required anyway.

This also fixes installed method by properly checking status fields.

Reference for opkg status: https://gitlab.nic.cz/turris/updater/updater/-/blob/master/docs/opkg.adoc

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-installed