Skip to content

Split machine-guest-tools in multiple packages #100

@edubart

Description

@edubart

Context

Currently machine-guest-tools is a single package containing many utilities, many of those utilities are not actually used by dapp when deployed, but is installed anyway consuming space in the dapp rootfs, which incur additional costs to node runners.

Possible solutions

One solution is to split into multiple packages for ex:

  • machine-guest-libcmt
  • machine-guest-libcmt-dev
  • machine-guest-rollup
  • machine-guest-yield
  • machine-guest-cartesi-init
  • machine-guest-hex
  • machine-guest-misc
  • machine-guest-ioctl-echo-loop
  • machine-guest-tools (meta package containing all the previous one)

Splitting the guest tools package into several packages without a package manager would make it harder to use, and overflow our CI with many artifacts and create dependency problem that only package managers can solve, so we should try to visit this issue when we get an official package distribution for guest packages.

Workaround

Dapp developers can workaround this by installing machine-guest-tools deb artifact and removing manually unused binaries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions