blog2i2j / archlive.mkarchlive Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/archlive.mkarchlive
Automatically exported from code.google.com/p/archlive.mkarchlive
mkarchlive 工具可以在任何符合条件的linux系统上构建基于Arch GNU/Linux包管理系统pacman的live系统——可以是桌面环境、专业服务器甚至是防火墙。mkarchlive给你充分定制机会。 mkarchlive 可以运行于符合如下条件的linux系统中: A、宿主系统需要安装如下常用软件: cdrkit(mkisofs) wget tar links shell sed grep gawk module-init-tools(depmod) util-linux-ng(mount) glibc(ldconfig) findutils(find) coreutils(ls, cut, tr, echo, rm, mkdir, cp, cat, chown, chmod, head, mknod, tee, touch, ln, md5sum) 1、取得脚本 hg clone http://mkarchlive.archlive.googlecode.com/hg mkarchlive 2、DIY archlive 直通车 获取到mkarchlive制作脚本后 cd mkarchlive && (sudo sh ./mkarchlive all 2>&1 | tee ./log) (以上脚本解释:进入到mkarchlive目录, 并以root身份运行mkarchlive, 制作archlive的临时工作目录及成品存放目录均在/YYDD 目录(archlive.conf文件定义)下, 并将制作日志存储于mkarchlive目录下的log中) 如果不希望看到跳动的输出,可以将以上命令中的 " | tee ./log "改成 "> ./log" 即可“安静”地运行了! 3、DIY archlive 高级 通过以下三种途径来定制: A. 修改配置文件mkarchlive/profiles/archlive/archlive.conf 来自定义软件仓、自定义软件清单、自定义主题、添加附加字体及其他特别定制等 (该配置文件有具体配置的相关帮助) B. 自编译软件,添加到软件清单中 C. 修改mkarchlive/profiles/archlive/overlay文件夹下内容个性化定制(如果没有则mkarchlive会自动archlive googlecode下载archlive定制的overlay) *** 定制清单的时候注意:所有内核模块相关的最好都放在跟内核一个清单中,加上-d 参数。因为mkarchlive为了加快制作速度,只在安装包含module-init-tools的模块完成后更新内核模块依赖关系. 不过archlive 定制的镜像中启动脚本会加depmod -a. 4、定制参数优先级 命令行输入参数 > archlive.conf定义参数 > 默认参数 (以上优先级针对同一参数在多次定义时) 5、制作完成后清理 直接删除工作目录就可以了 如果在制作过程中因为某些原因出现错误而终止或者Ctrl+C结束mkarchlive的执行,要删除工作目录必须先卸载挂载于工作目录/union下的aufs文件系统,比如工作目录为 /archlive 则要 sudo umount /archlive/union && sudo rm -rf /archlive 来删除工作目录 6、To Do: 捉虫,优化。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.