[Bug 199054] freebsd-update should use /boot/kernel.old and not kernel.old1
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 10 14:53:57 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199054
Ed Maste <emaste at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |allanjude at FreeBSD.org
--- Comment #1 from Ed Maste <emaste at 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=$((CNT + 1))
if [ $CNT -gt 9 ]; then
echo "Could not find valid backup dir ($BASEDIR/$BACKUPKERNELDIR)"
exit 1
fi
BACKUPKERNELDIR="`echo $BACKUPKERNELDIR | sed -Ee 's/[0-9]\$//'`"
BACKUPKERNELDIR="${BACKUPKERNELDIR}${CNT}"
Allan has some WIP to automatically determine the available kernel list; this
problem will likely be solved with that work.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list