From owner-freebsd-questions@FreeBSD.ORG Mon Mar 15 13:17:01 2010 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 B81931065670 for ; Mon, 15 Mar 2010 13:17:01 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from web24807.mail.ird.yahoo.com (web24807.mail.ird.yahoo.com [212.82.110.41]) by mx1.freebsd.org (Postfix) with SMTP id 23C4D8FC1C for ; Mon, 15 Mar 2010 13:17:00 +0000 (UTC) Received: (qmail 11582 invoked by uid 60001); 15 Mar 2010 13:16:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1268659019; bh=BZYuHLxkzYiESz6Nx3MFScCxwP20Ein+LGFylY25SRk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tuqVGay4BdjIhndjDxT7OX344Dqya8FqgfX8f3YMUDLhTbTMoDqoxPoL+oqhLyl48zI4WblIWVJ4n18697DlKB4V9rp44tfc/lzHK5ZsHWd6VkB/J7+rUfRe5xKj6AUuncNvxsh44kjvKNxKWfF16IfjTXd0qPTD0G7ByjhWVbg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=E8rFvP0Qr7IoDyQ/IrzVfd9gnILfW30ZYzfbsaDvznk/i87TWfOKLU69UE6p7eXgenWoDze7xOZq62krsvWyw2g8jcY1sq+aS5VBHXKdxGCOyEHdtbrRlJcpdgGBSAk/NX3ClGjSKSdFy8TRMBQKiTEe9DpBXMtGjXnrEn/pvUQ=; Message-ID: <712858.89249.qm@web24807.mail.ird.yahoo.com> X-YMail-OSG: bhLFTrgVM1kijhVSYYf_2bYIK2GtNS0EoOoiupKA1y7KvEN PJDG0Oh4Di9LTXBr25zbl5f4HoQRb.xYS7EEgCg7WdyqKNptzMc4ZpucTOID Nnim82uGRrLUaGdxZog7kQC2Akb1CxNBCUJJUJJzEMqciiJ_A1GPY_rcT0Ej hbRnSjthtZtbeEsf0erh7ce0IY_ohZdSqtx1A Received: from [192.196.142.20] by web24807.mail.ird.yahoo.com via HTTP; Mon, 15 Mar 2010 06:16:59 PDT X-Mailer: YahooMailClassic/9.2.12 YahooMailWebService/0.8.100.260964 Date: Mon, 15 Mar 2010 06:16:59 -0700 (PDT) From: "Alexandre L." To: freebsd-questions@freebsd.org, johnea In-Reply-To: <4B9D3363.2050707@johnea.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Re : building from source after freebsd-update 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: Mon, 15 Mar 2010 13:17:01 -0000 > That handbook section is where I read:=0A> "The default is to update the = source code, the entire base=0A> system, and the kernel."=0A=0AFirst, freeb= sd-update tool sync the source.=0A =0A> And in fact much of the /usr/src/ d= oes contain source=0A> code.=0A> =0A> /usr/src/sys/ subdirectories seem pop= ulated, and some=0A> directories under=0A> /usr/src/usr.bin/ and /usr/src/u= sr.sbin/ contain source,=0A> while others only=0A> contain the Makefile.=0A= > =0A> /usr/src/usr.sbin/sendmail/ contains only the Makefile.=0A> Which le= ad to the=0A> make depend error I experienced.=0A> =0A> It seems like I cou= ld build the kernel, and parts of the=0A> non-kernel base,=0A> but not othe= r parts.=0A> =0A> After RTFMing, scroogling for days, and going through=0A>= UPDATINGs and READMEs I'm=0A> still not clear on how to mix freebsd-update= and building=0A> all or parts of the=0A> base source.=0A> =0A> I'm interes= ted in being able to build system apps in the=0A> base, custom kernel=0A> m= odules, and eventually the entire kernel.=0A=0AFreebsd-update tool will upd= ate your base system and GENERIC kernel, using binary. If your are using a = custom kernel, you must reboot on the GENERIC kernel (that have just been u= pgraded) and do your make buildkernel KERNCONF=3Dyourkernel and make instal= lkernel KERNCONF=3Dmykernel=0A=0A> freebsd-update is _extremely_ painless f= or tracking the=0A> security patches. It=0A> would be nice to be able to mi= x this with a certain amount=0A> of building source.=0A=0AFrom the Handbook= : =0AThis utility provides two separate functions. First, it allows for bi= nary security and errata updates to be applied to the FreeBSD base system w= ithout the build and install requirements. Second, the utility supports min= or and major release upgrades.=0A=0AThis tool is only available for RELEASE= , not for STABLE or CURRENT.=0A=0AI hope this have helped you.=0A=0A=0A =