[Buildroot] [PATCH] ncurses: make host-ncurses use host terminfo

Peter Korsgaard peter at korsgaard.com
Thu Aug 9 14:28:20 UTC 2018


>>>>> "Arnout" == Arnout Vandecappelle <arnout at 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


More information about the buildroot mailing list