Skip to content

release will not update if kernel name is anything other than kernel #14

Description

@woodsb02

On iocell 2.1.0, if sysctl -n kern.bootfile is not /boot/kernel/kernel then running "iocell fetch" will fail to perform a freebsd-update.

# iocell fetch release=11.0-RELEASE
Extracting: base.txz
Extracting: doc.txz
Extracting: lib32.txz
Extracting: src.txz
* Updating base jail template.
Cannot identify running kernel
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.

The reason is explained in this forum post: https://forums.freebsd.org/threads/43329/#post-241491

The solution is to ensure the release contains the directory sysctl -n kern.bootfile:

# cd /iocell/releases/11.0-RELEASE/root/boot/
# ln -sf kernel `sysctl -n kern.bootfile`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions