Date: Fri, 3 Jan 2020 00:39:36 +0400 From: Gleb Popov <arrowd@freebsd.org> To: freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: Scripting bsdinstall Message-ID: <CALH631mANDu%2BYCj3-fkTx%2BB2aNCp_Yvd_nBKg4AFmLFCA_cVTQ@mail.gmail.com> In-Reply-To: <CALH631mtpsg2eW_G1uCmUEUmcnEQjVk9CbJJm2Z6HtnGr1s_hw@mail.gmail.com> References: <CALH631=S0d9kmYRNrG5PVg9rqUF80Ko_Z5DsP=9dGKQKodW5Hg@mail.gmail.com> <96ecfc02-04f6-7222-4582-3740c505c7e5@FreeBSD.org> <CALH631mswuj3xXJ8O96PKCBZUpBUWJ%2Bg0CsP0Cr7GTi1BbLS9w@mail.gmail.com> <CALH631n23WTeJgZma3Mi5i6-8fvymCA9sVh4hD1JVsMt6hDrMw@mail.gmail.com> <c071f618-3596-40b1-881f-3dbe83c24491@comcast.net> <201912271129.xBRBTrqD050866@kx.truefc.org> <CALH631mtpsg2eW_G1uCmUEUmcnEQjVk9CbJJm2Z6HtnGr1s_hw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 2, 2020 at 1:08 PM Gleb Popov <arrowd@freebsd.org> wrote: > Continuing my quest I met another problem. > > In the setup script I have following line: > > pkg install -y openvpn python python3 > > It gets executed in the chroot, the installed system. During package > installation I see following warnings: > > indexinfo: no such file or directory > POST-INSTALL script failed > > However, when I enter the chroot shell, this binary works fine. > > Any ideas how to fix this? > Figured this out. The command should be env PATH=$PATH:/usr/local/bin pkg install ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mANDu%2BYCj3-fkTx%2BB2aNCp_Yvd_nBKg4AFmLFCA_cVTQ>