From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: brltty: file /etc/brlapi.key should be created upon package install with random contents
Date: Thu, 06 Jun 2019 09:51:37 +0200 [thread overview]
Message-ID: <20190606075137.dG4CNK2y_0xjPeS4JIAgTfh4Ks5UIxL0_r6NGp8cN6Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12173@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
New comment by Hoshpak on void-packages repository
https://github.com/void-linux/void-packages/issues/12173#issuecomment-499388429
Comment:
I don't think using the same random string for all installations would be appropriate, wouldn't it? I think this should better be done in an `INSTALL` script as a post action. This way is is executed by xbps after package installation on the local system. You can look at existing scripts like e.g. `trousers` to see how such a script should be implemented. Arch already has a script for their package manager which could be adapted to our needs: https://git.archlinux.org/svntogit/packages.git/tree/trunk/brltty.install?h=packages/brltty They use the `mcookie` command from `util-linux` to create the random text.
next prev parent reply other threads:[~2019-06-06 7:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-05 20:07 [ISSUE] " voidlinux-github
2019-06-06 7:51 ` voidlinux-github [this message]
2021-02-05 14:45 ` CMB
2022-04-15 2:12 ` github-actions
2022-04-29 2:13 ` [ISSUE] [CLOSED] " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190606075137.dG4CNK2y_0xjPeS4JIAgTfh4Ks5UIxL0_r6NGp8cN6Y@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).