27.6.从源代码更新 FreeBSD
27.6.1. 快速开始
# etcupdate extract ① # etcupdate diff ②
# git -C /usr/src pull ① 检查 /usr/src/UPDATING ② # cd /usr/src ③ # make -j4 buildworld ④ # make -j4 kernel ⑤ # shutdown -r now ⑥ # etcupdate -p ⑦ # cd /usr/src ⑧ # make installworld ⑨ # etcupdate -B ⑩ # shutdown -r now ⑪
27.6.2. 准备源代码更新
27.6.3. 更新源代码
27.6.4. 从源代码构建
27.6.4.1. 执行干净的构建
27.6.4.2. 设置构建任务的数量
27.6.4.3. 仅构建内核
27.6.4.4. 构建定制内核
27.6.5. 安装编译后的代码
27.6.6. 完成更新
27.6.6.1. 使用 etcupdate(8) 合并配置文件
27.6.6.2. 检查过时的文件和库
27.6.6.3. 更新后重启
最后更新于