From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] ncurses: make host-ncurses use host terminfo
Date: Thu, 09 Aug 2018 16:28:20 +0200 [thread overview]
Message-ID: <87d0urfwcb.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <4b28a0d6-dc95-4d3b-6ecb-a4607935f6e2@mind.be> (Arnout Vandecappelle's message of "Wed, 8 Aug 2018 22:37:55 +0200")
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
Hi,
>> We in general don't want buildroot to touch any files outside the
>> buildroot output directory (and $TMPDIR), but it normally isn't
>> enforced/checked by the autobuilders. For this specific setup with
>> building inside a container $HOME is mounted readonly, so it really
>> fails.
> Actually, sounds like a good idea to have an autobuilder that does exactly
> this: nothing writeable outside of OUTPUT_DIR.
Indeed. I will try to find (time and cpu) cycles to setup such a
builder.
>>
>> The question is how to fix it. The logical solution would be to set
>> TERMINFO to get it to put the database somewhere else, but that doesn't
>> work because run_tic.sh overwrites it:
>>
>> # don't use user's TERMINFO variable
>> TERMINFO=${DESTDIR}$ticdir ; export TERMINFO
> ^^^^^^^^^^
> So, set DESTDIR?
That isn't really handy as DESTDIR is used in a bunch of other places
and this is built as part of make install.
> Or actually, why is this script called at all? The whole point of Hollis's
> patch was to use the system's terminfo, so why should we generate the terminfo
> at all? In other words, can't we just pass --disable-db-install ?
Ahh, I hadn't noticed that option. That indeed works, I'll send a patch
- Thanks!
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2018-08-09 14:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-10 16:46 [Buildroot] [PATCH] ncurses: make host-ncurses use host terminfo Hollis Blanchard
2018-07-10 19:52 ` Arnout Vandecappelle
2018-07-17 14:40 ` Thomas Petazzoni
2018-07-17 16:53 ` Hollis Blanchard
2018-07-19 21:38 ` Peter Korsgaard
2018-08-08 14:10 ` Peter Korsgaard
2018-08-08 20:37 ` Arnout Vandecappelle
2018-08-09 0:19 ` Hollis Blanchard
2018-08-09 14:28 ` Peter Korsgaard [this message]
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=87d0urfwcb.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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).