安装编译 aero 发行版全过程记录 #22
Replies: 7 comments 4 replies
-
补充安装执行 ./aero.py 最后 preparing ISO 会报错,xorriso 找不到,是因为没有安装
执行 apt install xorriso 之后就可以生成 build/aero.iso
此时查看 build 目录下,已经生成了 aero.iso 和 disk.img
运行 qemu-system-x86_64 模拟器
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
disk.img 文件过大(😱512G!!!😱) ,解决办法修改 tools/mkimage.sh
改为
|
Beta Was this translation helpful? Give feedback.
-
修复 mkimage.sh 文件过大后,继续运行 qemu-system-x86_64 ,仍有报错
看起来运行到了 userland::run().unwrap() 这一步出的问题
|
Beta Was this translation helpful? Give feedback.
-
./aero.py --sysroot将 mkimage.sh 的 dd 命令,改为4G大小,之后再执行 ./aero.py --sysroot,报错 makeinfo: command not found
需要安装 texinfo
|
Beta Was this translation helpful? Give feedback.
-
pub fn run() -> fs::Result<()> {
let init_path = Path::new("/usr/bin/init");
let init_inode = fs::lookup_path(init_path)?;
scheduler::get_scheduler().exec(init_inode, None, None);
Ok(())
} |
Beta Was this translation helpful? Give feedback.
-
error: macro "abort" passed 1 arguments, but takes just 0
|
Beta Was this translation helpful? Give feedback.
-
安装编译 aero 发行版全过程记录
关键命令(从云主机ubuntu 22.04 创建之后,包含创建安装执行环境的全部命令)
必要修改
修改 aero.py ,将运行内存 9800M ,改为 1000M 或者 2000M
export FORCE_UNSAFE_CONFIGURE=1
vi ./bundled/gcc/libgcc/../gcc/tsystem.h +62
实际过程记录
执行编译
Beta Was this translation helpful? Give feedback.
All reactions