# linux-image-tools **Repository Path**: xuantie-yocto/linux-image-tools ## Basic Information - **Project Name**: linux-image-tools - **Description**: Linux镜像收集工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-28 - **Last Updated**: 2025-08-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 目录说明 ``` ├── README.md ├── scripts // 存放编译脚本 | ├── benchmark_compile_5.10.sh │   ├── benchmark_compile_6.6.sh │   ├── build-images_5.10.sh │   └── build-images_6.6.sh ├── tarball // 镜像目录,存放编译好的镜像文件 ├── targets_collect_6.6.sh // 6.6镜像打包脚本 ├── targets_collect_5.10.sh // 5.10镜像打包脚本 └── tools └── extend_ext4_image.sh // ext4镜像存储空间扩展工具 ``` # k230镜像打包 执行脚本前先安装依赖: sudo apt install libconfuse-dev gettext libtool cd xuantie-yocto/meta-k230/images/prebuit_20240828/ ./post-image.sh default xuantie-image-lite 或者 ./post-image.sh debug xuantie-image-lite # 镜像打包脚本 “targets_collect*.sh” 脚本可以用来将编译好的镜像打包。使用说明: 1. 将linux-image-tools拷贝到编译完成的 xuantie-build/xuantie 文件夹下 2. 运行脚本: 6.6:./targets_collect_6.6.sh v1.x.x 5.10:./targets_collect_5.10.sh v1.x.x 注:v1.x.x为版本号,需要替换成实际版本号,例如 v1.0.6 # tarball 镜像目录 存放打包好的镜像文件