[Bug 194746] /etc/freebsd-update.conf shouldn't include src as an Component on the Components line

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 23 22:37:24 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194746

--- Comment #2 from Kamil Czekirda <kczekirda at freebsd.org> ---
Comment on attachment 155928
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=155928
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 @@
> 
> cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot
> 
>+src=
>+for dist in $DISTRIBUTIONS; do
>+		[ "$dist" = "src.txz" ] && src=1
>+done
>+
>+[ ! "$src" ] && sed -i.bu 's/^Components src/Components/g' $BSDINSTALL_CHROOT/etc/freebsd-update.conf
>+
>+
> [ "${debugFile#+}" ] && cp "${debugFile#+}" $BSDINSTALL_CHROOT/var/log/
> 
> # Set up other things from installed config

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list