From owner-freebsd-questions@FreeBSD.ORG Tue Nov 25 20:16:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82996106567A for ; Tue, 25 Nov 2008 20:16:56 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0FAAC8FC1F for ; Tue, 25 Nov 2008 20:16:55 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so137961ika.3 for ; Tue, 25 Nov 2008 12:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=5wfrVznCtFwPPi38OYmP1FL8LN/BLYzclPK8AihHFVE=; b=sIQ56Z7ggC+fL5y5KnGDgJdgBWTEpXmqosrHvUOwxDk0pmeKX0X0CDSwuUgqil6fxf suf3jMjfn45TuFgaAUINX7sshlEc6tBqi/HualkucdF7RjCj8VOCHCUWiwokT1QfI7oZ uidJu8UmZX5CrWVHfV9pxoGFP6PG7VPXymvDw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Qh3xbuTDr8zVbB/m9oStkyOtj17Gyovij6evEjldEV5iq6GsvTTXqh1GifttYiRhSg igspCdirrrdWFpJv0z/xVhGqskm7BUth90HiEosrbXiWvfOCxkXFvvJRqmNSOMztb0gj +OCDnQ6KCJ7TWSzjZvW7M5awHV7A6Gl9U7DOo= Received: by 10.210.112.4 with SMTP id k4mr5130769ebc.79.1227644215003; Tue, 25 Nov 2008 12:16:55 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-425998.home.otenet.gr [79.131.216.12]) by mx.google.com with ESMTPS id 5sm42876eyf.20.2008.11.25.12.16.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 25 Nov 2008 12:16:53 -0800 (PST) Message-ID: <492C5D32.1010905@gmail.com> Date: Tue, 25 Nov 2008 22:16:50 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Zbigniew Szalbot References: <94136a2c0811242216i4e803e23n5ab9cc4e8003101f@mail.gmail.com> <20081125083214.GA49865@ozzmosis.com> In-Reply-To: <20081125083214.GA49865@ozzmosis.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: freebsd-update and sources / custom kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 20:16:56 -0000 andrew clarke wrote: > On Tue 2008-11-25 07:16:44 UTC+0100, Zbigniew Szalbot (zszalbot@gmail.com) wrote: > > >> I hope you can clear my doubts. When I use freebsd-update to update a >> machine with a custom kernel, do I need to fetch sources before I >> rebuild the kernel or are they fetched by freebsd-update utility? >> > > freebsd-update will update the kernel sources on the condition that > the Components setting is configured correctly in freebsd-update.conf. > Normally you'd use: > > Components src world kernel > > Then after a successful update, if you're not using the GENERIC > kernel, you should rebuild the kernel with your custom settings. > After the new kernel is installed you should reboot the machine. > > Correct, and let me also add that the above setting is the default one, so unless you edited the file yourself (highly unlikely) you are already getting the sources when using freebsd-update.