Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2010 06:16:59 -0700 (PDT)
From:      "Alexandre L." <axelbsd@ymail.com>
To:        freebsd-questions@freebsd.org, johnea <me@johnea.net>
Subject:   Re: Re : building from source after freebsd-update
Message-ID:  <712858.89249.qm@web24807.mail.ird.yahoo.com>
In-Reply-To: <4B9D3363.2050707@johnea.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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    =
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?712858.89249.qm>