pkgmk work dir on noexec fs

Danny Rawlins d.rawlins at datafast.net.au
Wed Nov 25 08:35:48 UTC 2009


Jose V Beneyto wrote:
> Hi,
> Vitaly Sinilin wrote:
>> Today I faced a problem with pkgmk. Building failed with "/bin/sh: bad
>> interpreter: Permission denied". Actually it seems obvious, but maybe
>> it makes sense to add a note regarding that into the CRUX handbook in
>> order to save someone's time. I mean that pkgmk work dir shouldn't be on
>> a filesystem mounted with noexec flag, since most ports use scripts
>> during building process.
> or maybe into the pkgmk.conf manual:
>
> ---
> PKGMK_WORK_DIR='STRING'
>       Set directory for building packages. It shouldn't be on a
> filesystem
>       mounted with noexec flag.
>       Default: 'foo/work', where foo is the directory of the Pkgfile.
> ---
>
>
> Regards,
>
Or even use tempfs to build the ports in to gain more speed.
http://crux.nu/Wiki/HowToSpeedUpBuildingPackages



More information about the CRUX mailing list