Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加工具的易用性,考虑做好脚本和docker环境搭建让一些工具真正的开箱即用。目前以系统能力赛和一些开发板作为最紧迫的工作。 #40

Open
storage-db opened this issue Feb 5, 2023 · 4 comments
Labels
好的想法或点子 改进意见 对现有的项目有改进意见

Comments

@storage-db
Copy link
Owner

No description provided.

@storage-db storage-db added 好的想法或点子 改进意见 对现有的项目有改进意见 labels Feb 5, 2023
@jiajun-c
Copy link
Collaborator

jiajun-c commented Feb 5, 2023

增加docker方面内容?我们需要给能力赛打包docker环境啥的吗,比如rv 和arm的基础开发环境

@storage-db
Copy link
Owner Author

嗯呢,类似于那个指导书那样的docker环境:列如使用方法如下(以 Ubuntu18.04 为例):

通过 su 切换到管理员账户 root (注:如果此前并未设置 root 账户的密码需要先通过 sudo passwd 进行设置), 在 rCore-Tutorial-v3 根目录下,执行 make build_docker ,来建立基于docker的开发环境 ;

在 rCore-Tutorial-v3 根目录下,执行 make docker 进入到 Docker 环境;

进入 Docker 之后,会发现当前处于根目录 / ,我们通过 cd mnt 将当前工作路径切换到 /mnt 目录;

通过 ls 可以发现 /mnt 目录下的内容和 rCore-Tutorial-v3 目录下的内容完全相同,接下来就可以在这个环境下运行 tutorial 了。例如 cd os && make run 。
还有一些环境自动化安装的脚本这些都可以考虑

@storage-db
Copy link
Owner Author

我们尽快今晚先开通目录编辑文档后续不断完善

@storage-db
Copy link
Owner Author

目前分区开设好了,大家一起来建设吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
好的想法或点子 改进意见 对现有的项目有改进意见
Projects
None yet
Development

No branches or pull requests

2 participants