Skip to content

Debian support #45

@VorpalBlade

Description

@VorpalBlade

While the basics are in place it is mostly untested, and there are known issues with what is there. Here is a not complete list of things that would have to be done for this to work well on Debian. This is a tracking issue

  • Mtime disk cache (it is slow to scan the file system on Debian)
  • Extract and cache metadata from original .debs as well (since that is missing in the package database)
  • Early configs should support globs #61
  • Handling marked for install more sensibly (we will have to build our own graph probably):
  • Helpers for /etc/rc.d (Debian isn't fully systemdified)
    • Seems there is just one or two files actually used from init.d/rc.d. The rest is "masked" by natives systemd units. Maybe we can just ignore the exact number assignment (somehow)?
    • Resolution: Use ignore_path and forget about it.
  • Helpers for /etc/alternatives (that is going to be painful to deal with otherwise)
    • They are just symlinks, and /var/lib/dpkg/alternatives has an insane format. Punt on this and just do symlinks?
    • Resolution: Using Rune helper function now to slightly simplify this.
  • Figure out user handling (Debian doesn't make much use of systemd sysusers.d)
    • Resolution: Manually with rune helper functions is the best answer. Even how the postinst scripts do this isn't consistent, so no chance of parsing them.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions