From owner-freebsd-hackers@freebsd.org Thu Jan 2 20:40:06 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 843A91D9E12 for ; Thu, 2 Jan 2020 20:40:06 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47pfzn1bCjz3Q49 for ; Thu, 2 Jan 2020 20:40:04 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lj1-f175.google.com with SMTP id w1so19957424ljh.5 for ; Thu, 02 Jan 2020 12:40:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YTcem6z+Z/9bH0xs4H1jJnudIcD8nX9JaY7qHDriT3o=; b=LWS0QGp5RVAX/BValftMrRSTcGQEzecsSixKolbjzewtVh3PPjp7EHyw1LA09ZXxBk 06CJ+ifN61A/xpacuiDnP8SwsF9/ojzmIcx8PkaWQtQEv3W+RGh9DylTImmq3h8HNO/N ITFB+ZwJrorAtwyMpccw9AOkYp2OdU3lCXUhhi93G4HcLaGRL7o/f7yZSxx8iyVRSr3s mhkIqXoAHEuAx+bIt3MknMB8TN9+9/4QZj9M6gZyxlBL0sbhGmQ3T2kNOPFvjogKtK9S c4T+fFl4OCCHepUQUy6MdJsF1+uuj5ncY0mDOB+WRE7xg5smBghNg/juvQA6eP43W3RV RdVg== X-Gm-Message-State: APjAAAWc7H6c2IYPxiCFzeAROuimv2aL8VPxjMjH/Jv9E3/vutL1btEI fgbfmjlOIgTCZa1W+vy4E0BBR7WEeO8= X-Google-Smtp-Source: APXvYqyPaecRXbUGTdNmKNZi9lps6W0KZoqfiojubKto+xYzsYqbf6TlgzlDRv6C6L/c7ya52DZJ2Q== X-Received: by 2002:a2e:9b03:: with SMTP id u3mr38991306lji.87.1577997602956; Thu, 02 Jan 2020 12:40:02 -0800 (PST) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com. [209.85.208.174]) by smtp.gmail.com with ESMTPSA id t9sm23575180lfl.51.2020.01.02.12.40.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Jan 2020 12:40:02 -0800 (PST) Received: by mail-lj1-f174.google.com with SMTP id l2so41920337lja.6 for ; Thu, 02 Jan 2020 12:40:02 -0800 (PST) X-Received: by 2002:a2e:84d0:: with SMTP id q16mr47592821ljh.138.1577997601542; Thu, 02 Jan 2020 12:40:01 -0800 (PST) MIME-Version: 1.0 References: <96ecfc02-04f6-7222-4582-3740c505c7e5@FreeBSD.org> <201912271129.xBRBTrqD050866@kx.truefc.org> In-Reply-To: From: Gleb Popov Date: Fri, 3 Jan 2020 00:39:36 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Scripting bsdinstall To: freebsd-hackers X-Rspamd-Queue-Id: 47pfzn1bCjz3Q49 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.208.175 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[175.208.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.10)[ip: (-0.45), ipnet: 209.85.128.0/17(-3.11), asn: 15169(-1.87), country: US(-0.05)]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[175.208.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; RCVD_TLS_ALL(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2020 20:40:06 -0000 On Thu, Jan 2, 2020 at 1:08 PM Gleb Popov 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 ...