Date: Thu, 23 Apr 2015 22:37:24 +0000 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 Message-ID: <bug-194746-8-TpkQomo6jM@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-194746-8@https.bugs.freebsd.org/bugzilla/> References: <bug-194746-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194746 --- Comment #2 from Kamil Czekirda <kczekirda@freebsd.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194746-8-TpkQomo6jM>