Date: Wed, 16 Jan 2013 07:31:58 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Bas Smeelen <b.smeelen@ose.nl> Cc: freebsd-doc@freebsd.org Subject: Re: freebsd-update and ports Message-ID: <alpine.BSF.2.00.1301160722530.82257@wonkity.com> In-Reply-To: <50F66D72.20807@ose.nl> References: <alpine.BSF.2.00.1301122210240.11994@wonkity.com> <CAC8HS2FewOpz_SWmwMhz7m2TgW1T7YE%2BjPGPkcSJP-TPjJ9Qng@mail.gmail.com> <alpine.BSF.2.00.1301131304290.17568@wonkity.com> <alpine.BSF.2.00.1301152053070.78271@wonkity.com> <50F66D72.20807@ose.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Jan 2013, Bas Smeelen wrote: > On 01/16/2013 04:56 AM, Warren Block wrote: >> A rendered sample of the proposed changes to the freebsd-update section: >> http://www.wonkity.com/~wblock/temp/fupd-ports2.html >> >> The diff: >> http://www.wonkity.com/~wblock/temp/fupd-ports2.diff > > Looks good.. > Note that in section 25.2.3.1.2 Custom Kernels with FreeBSD 9.X and Later the > current custom kernel in /boot/kernel gets overwritten. > It might be better to change this so the GENERIC kernel is installed in > /boot/GENERIC It depends on where freebsd-update is looking for it. Based on the 8.x instructions, I had the feeling it would expect the generic to be installed. Or rather that it would expect the current installed kernel to be GENERIC. (Actually, this whole process seems roundabout. Rather than helping the user trick freebsd-update into seeing a generic kernel, why doesn't freebsd-update just have an option to ignore the kernel version or checksum?) > I.e. instead of > > tar -C/ -xvf kernel.txz boot/kernel/kernel > > tar -C/ -xvf kernel.txz boot/GENERIC It also was not clear to me whether the entire /boot/kernel directory should be copied. > and instead of > > make kernel > > make buildkernel > make installkernel DESTDIR=/boot/GENERIC > > or as in the 8.X section > env DESTDIR=/boot/GENERIC make kernel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1301160722530.82257>