How is the patchlevel set?
Jonathan Noack
noackjr at alumni.rice.edu
Fri Jul 1 21:37:22 GMT 2005
On 7/1/2005 11:36 AM, lars wrote:
> It seems
> src/sys/conf/newvers.sh
> is only triggered by a recompilation of the kernel,
> at least the lines
> i=`${MAKE:-make} -V KERN_IDENT`
> and
> char kern_ident[] = "${i}";
> make me believe that.
>
> I also try to cvsup my src and recompile the kernel and world
> in one go instead of only patching and recompiling the subsystem,
> since that bumps the patchlevel and keeps all synchronised.
> That's not possible in all scenarios, of course.
>
> Again thanks for the answers, but how did you find that out?
I originally suspected as much based on experience. I got curious and
noticed that newvers.sh was one of the files changed with every security
update. From there it was code inspection...
--
Jonathan Noack | noackjr at alumni.rice.edu | OpenPGP: 0x991D8195
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050701/32582bca/signature.bin
More information about the freebsd-stable
mailing list