Skip to content

system: recovery script cannot cope with LUA additions in pkg #4717

@fichtner

Description

@fichtner

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

FreeBSD package manager started using LUA scripts which we cannot use in the recovery stage because there is no portable way to rerun package installation scripts. For now the serious parts have not been ported to LUA, but when it happens we should be ready.

Describe the solution you like

We cannot install LUA and push the scripts through because a "pkg" object exists with additional functionality which is only provided by libpkg. For this reason we either have to update an existing pkg tool to do what we need or add a new one and link it to libpkg) so we can call the scripts via C functions.

Describe alternatives you considered

Creating a non-pkg LUA env and keeping it up to date which could always break.

Additional context

N/A

Metadata

Metadata

Assignees

Labels

featureAdding new functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions