-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postinst script for dpkg package does not work in chroot'ed environment #8841
Comments
Would you mind opening a PR for that change? This is the first I've seen of this error, but it seems reasonable of a change. Also not sure how to test this locally as well. Can you provide instructions for doing this in a VM? |
Thanks, yes, I'll do that. Wanted to wait for feedback first.
Do the instructions from signalapp/Signal-Desktop#7146 help or suffice? |
This prevents `postinst` script failure when run in a `chroot` environment. This closes electron-userland#8841.
This prevents `postinst` script failure when run in a `chroot` environment. This closes electron-userland#8841.
This prevents `postinst` script failure when run in a `chroot` environment. This closes electron-userland#8841.
This prevents `postinst` script failure when run in a `chroot` environment. This closes electron-userland#8841.
This prevents `postinst` script failure when run in a `chroot` environment. This closes electron-userland#8841.
This is a dup of signalapp/Signal-Desktop#7146 which I brought up in the wrong repository.
We use a
chroot
environment to maintain our diskless clients' boot images. The postinst script has a callwhich one doesn't want to have in a
chroot
environment, and it fails for us. This means I typically remove the call from the postinst file manually.Changing
packages/app-builder-lib/templates/linux/after-install.tpl
's problematic line tofixes the issue for me.
The text was updated successfully, but these errors were encountered: