Date: Thu, 10 Aug 2017 14:53:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199054] freebsd-update should use /boot/kernel.old and not kernel.old1 Message-ID: <bug-199054-8-eZxoW0zq1p@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-199054-8@https.bugs.freebsd.org/bugzilla/> References: <bug-199054-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199054 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |allanjude@FreeBSD.org --- Comment #1 from Ed Maste <emaste@freebsd.org> --- Note that FreeBSD-update first tries kernel.old, then kernel.old1 etc.: # We could not use current directory name, so add counter to # the end and try again. CNT=3D$((CNT + 1)) if [ $CNT -gt 9 ]; then echo "Could not find valid backup dir ($BASEDIR/$BACKUPKERNELDIR)" exit 1 fi BACKUPKERNELDIR=3D"`echo $BACKUPKERNELDIR | sed -Ee 's/[0-9]\$//'`" BACKUPKERNELDIR=3D"${BACKUPKERNELDIR}${CNT}" Allan has some WIP to automatically determine the available kernel list; th= is problem will likely be solved with that work. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199054-8-eZxoW0zq1p>