Date: Wed, 28 Feb 2007 23:16:12 +0100 From: Andy Hilker <ah@crypta.net> To: freebsd-hackers@freebsd.org Subject: freebsd-update ignores /boot/kernel/kernel sometimes!? Message-ID: <20070228221612.GA14358@mail.crypta.net>
next in thread | raw e-mail | index | archive | help
Hi, i have a strange thing here, maybe someone can give me a hint. Somehow freebsd-update find /boot/kernel/kernel on some servers and patches it and on others not. Both kernels are installed from CD (GENERIC). On those servers where it does not display /boot/kernel/kernel, i can fix this by creating a symlink: ln -s /boot/kernel /boot/GENERIC Then it will display and patch /boot/GENERIC/kernel. Other ways to fix it is nextboot or kernel variable in /boot/loader.conf, but i do not want a workaround on some servers. Any idea why this can happen? Maybe it is related to the way how the "broken" kernel has been installed: >From RELEASE CD: cd kernels ./install.sh GENERIC mv /boot/GENERIC /boot/kernel bye, Andy - Server 1 with /boot/kernel/kernel (GENERIC from release CD) # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 6.2-RELEASE-p2: /boot/kernel/kernel [...] - Server 2 with /boot/kernel/kernel (GENERIC from release CD) # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 6.2-RELEASE-p2: -- does *not* display /boot/kernel/kernel -- if symlink exists, it will patch /boot/GENERIC/kernel [...]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070228221612.GA14358>