Received: by mail.netbsd.org (Postfix, from userid 605) id 580A784DDD; Fri, 2 Feb 2018 15:53:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D80D384D5E for ; Fri, 2 Feb 2018 15:53:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ZTjcNKCiAiXK for ; Fri, 2 Feb 2018 15:53:44 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 3E17784D38 for ; Fri, 2 Feb 2018 15:53:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 37EE2FB40; Fri, 2 Feb 2018 15:53:44 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1517586824184570" MIME-Version: 1.0 Date: Fri, 2 Feb 2018 15:53:44 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/bootstrap To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20180202155344.37EE2FB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1517586824184570 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Fri Feb 2 15:53:44 UTC 2018 Modified Files: pkgsrc/bootstrap: bootstrap Log Message: Use pkgsrc awk on ChromeOS. Since Chrome 64, /usr/bin/awk has been a version of mawk that is permanently in restricted mode. Notably, this means it cannot run pipes, which pkgsrc requires. Use nawk. To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246 pkgsrc/bootstrap/bootstrap Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1517586824184570 Content-Disposition: inline Content-Length: 920 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/bootstrap/bootstrap diff -u pkgsrc/bootstrap/bootstrap:1.245 pkgsrc/bootstrap/bootstrap:1.246 --- pkgsrc/bootstrap/bootstrap:1.245 Sat Dec 9 00:33:36 2017 +++ pkgsrc/bootstrap/bootstrap Fri Feb 2 15:53:44 2018 @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.245 2017/12/09 00:33:36 sevan Exp $ +# $NetBSD: bootstrap,v 1.246 2018/02/02 15:53:44 bsiegert Exp $ # # Copyright (c) 2001-2011 Alistair Crooks # All rights reserved. @@ -707,10 +707,13 @@ Linux) root_group=root fi need_bsd_install=no + CHROMEOS_RELEASE_NAME!= awk -F = '$$1 == "CHROMEOS_RELEASE_NAME" { print $$2 }' /etc/lsb-release # Debian/Ubuntu's awk is mawk, and mawk does not understand # some regexp used in pkgsrc/mk. if [ -f /etc/debian_version ]; then need_awk=yes + elif grep -sq '^CHROMEOS_RELEASE_NAME' /etc/lsb-release; then + need_awk=yes else need_awk=no fi --_----------=_1517586824184570--