[OE-core] [PATCH] package_ipk: allow to specify OPKG_ARGS in local.conf

Alejandro del Castillo alejandro.delcastillo at ni.com
Wed Dec 2 23:16:30 UTC 2015



On 12/02/2015 03:48 AM, Burton, Ross wrote:
> 
> On 2 December 2015 at 04:48, Vladimir Zapolskiy <vz at mleia.com
> <mailto:vz at mleia.com>> wrote:
> 
>       sh: /tmp/opkg-5jPLag/run-postinsts-UsUtaI/preinst: /bin/sh: bad
>     interpreter: Permission denied
> 
> 
> Whilst the patch is fine, this is worrying as noexec /tmp shouldn't break opkg. 
> Maybe opkg should be changed to use something in /var for the scripts?

Could you expand on why it's better to use /var instead of /tmp as the default
sandbox location for opkg? I believe dpkg uses /var/lib/ and would like to
understand why that's better (to change opkg, if it makes sense)

-- 
Cheers,

Alejandro



More information about the Openembedded-core mailing list