unable to install dpkg in `kvm` environment
@rodnymolina is already working on this.
Since Jan 18, 2023.
- Dominant language
- Shell
- Stars
- 3.9k
- Forks
- 230
- Avg merge
- 7h 48m
- Merged PRs (30d)
- 3
Description
I am trying to include sysbox in an automated ISO build created with debspawn. This is currently not possible because of 2 limitations:
modprobeis run during postinstsysctl -wis run during postinst
Neither of these are supported in the virtual environment, however it shouldn't be a problem since sysctl.d handles the sysctl on next boot, and the module configfs is available in the kernel on live boot. Currently, I am hacking past this by monkeypatching modprobe and sysctl in the install script.
It is considered best practice to not require a live system during a dpkg install. (this is why deb-systemd-helper exists, for example). Can we modify the postinst script to warn and move on instead of failing if these functions are not available?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.