From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 23 22:37:24 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D28A1C29 for ; Thu, 23 Apr 2015 22:37:24 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC9251D48 for ; Thu, 23 Apr 2015 22:37:24 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3NMbOcb096163 for ; Thu, 23 Apr 2015 22:37:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 194746] /etc/freebsd-update.conf shouldn't include src as an Component on the Components line Date: Thu, 23 Apr 2015 22:37:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kczekirda@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 22:37:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194746 --- Comment #2 from Kamil Czekirda --- Comment on attachment 155928 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D155928 patch for bsdinstall >--- config.old 2015-02-08 11:00:26.000000000 +0100 >+++ config 2015-04-23 23:26:34.236700377 +0200 >@@ -40,6 +40,14 @@ >=20 > cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot >=20 >+src=3D >+for dist in $DISTRIBUTIONS; do >+ [ "$dist" =3D "src.txz" ] && src=3D1 >+done >+ >+[ ! "$src" ] && sed -i.bu 's/^Components src/Components/g' $BSDINSTALL_CH= ROOT/etc/freebsd-update.conf >+ >+ > [ "${debugFile#+}" ] && cp "${debugFile#+}" $BSDINSTALL_CHROOT/var/log/ >=20 > # Set up other things from installed config --=20 You are receiving this mail because: You are the assignee for the bug.=