登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
我知道了
查看详情
登录
注册
开源中国、Gitee、模力方舟招人啦~ 快来看看有没有适合你的岗位
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
9
Star
0
Fork
22
src-anolis-os
/
edk2
代码
Issues
3
Pull Requests
6
Wiki
统计
流水线
服务
Gitee Pages
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
45
[Feature][a8]Hygon: 增加构建支持全磁盘加密的OVMF
已合并
hanliyang:a8
src-anolis-os:a8
hanliyang
创建于 2025-01-01 17:27
克隆/下载
HTTPS
SSH
复制
下载 Email Patch
下载 Diff 文件
project: TC2024080203 bugzilla: https://bugzilla.openanolis.cn/show_bug.cgi?id=13130 ## Prerequisite: 1. If the grub in your system has already support efisecret module, then you should run cmds as follows to support build OVMF.fd. $ cd /usr $ sudo tar --transform='s/^/grub\// -zcf grub.tar.gz lib/grub/ $ sudo mv grub.tar.gz /opt $ cd /opt/ $ sudo tar -xzf grub.tar.gz 2. If the grub in your system does not support efisecret module, then we can clone the grub repository and checkout to commit 578c95298 (" kern: Add lockdown support"), and backport the following patch series: https://lists.gnu.org/archive/html/grub-devel/2020-12/msg00257.html https://lists.gnu.org/archive/html/grub-devel/2020-12/msg00258.html https://lists.gnu.org/archive/html/grub-devel/2020-12/msg00259.html https://lists.gnu.org/archive/html/grub-devel/2020-12/msg00260.html After we have prepared for the grub codes, we should build it and install the grub components to /opt/grub. The steps is shown as below: $ ./bootstrap $ ./autogen.sh $ ./configure --target=x86_64 --with-platform=efi -prefix=/grub $ make -j$(getconf _NPROCESSORS_ONLN) $ sudo make install DESTDIR=/opt/ $ cd /opt/ $ sudo tar -zcf grub.tar.gz grub Note: the grub.tar.gz metioned above will be used when enabling full-disk encryption in the guest. ## Build OVMF.fd: When we build the OVMF.fd which support full-disk encryption, we should delete stale grub.efi in the source tree: $ rm OvmfPkg/AmdSev/Grub/grub.efi And specify the dsc file: $ OvmfPkg/build.sh ... -a X64 -p OvmfPkg/AmdSev/AmdSevX64.dsc ...
怎样手动合并此 Pull Request
git checkout a8
git pull https://gitee.com/hanliyang/src-anolis-os.edk2.git a8
git push origin a8
评论
10
提交
1
文件
3
检查
代码问题
0
批量操作
展开设置
折叠设置
审查
Code Owner
审查人员
gongwen2021
gongwen2021
happy_orange
happy_orange
geliwei
geliwei
casparant
casparant
ZhouWeitao
yunqi-zwt
jiangbo.jacob
jiangbojacob
forrest_ly
forrest_ly
Meredith
yueeranna
冯光辉
fghuims
未设置
最少人数
0
测试
gongwen2021
gongwen2021
happy_orange
happy_orange
geliwei
geliwei
casparant
casparant
ZhouWeitao
yunqi-zwt
jiangbo.jacob
jiangbojacob
forrest_ly
forrest_ly
Meredith
yueeranna
冯光辉
fghuims
未设置
最少人数
0
优先级
不指定
严重
主要
次要
不重要
标签
anolis_cla_pass
anolis_test_pass
关联 Issue
未关联
Pull Request 合并后将关闭上述关联 Issue
里程碑
未关联里程碑
参与者
(3)
Cherry-pick 提交
Cherry-pick 可以将
特定提交(Commit)
从某个分支挑选并应用到另一个分支,实现快速集成特定更改,而无需合并整个分支。
请选择应用 Cherry-pick 提交 (Commit) 的目标分支
新建分支
当前账号不存在 Fork 仓库,建议 cherry-pick 到 Fork 仓库。
Fork 仓库
提交列表
Commit SHA
Commit Message
基于 Cherry-pick 后的分支发起 Pull Request
取消
Cherry-pick
1
https://gitee.com/src-anolis-os/edk2.git
git@gitee.com:src-anolis-os/edk2.git
src-anolis-os
edk2
edk2
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册