Linux kernel 2.6.X, a method that repace of the default logo in Ubuntu 10.04

来源:互联网 发布:移动数据怎么打不开 编辑:程序博客网 时间:2024/05/17 00:53

Linux kernel 2.6.X, a method that repace of the default logo in Ubuntu 10.04


注意: 版权所有, 转载请注明出处.
Caution: All rights reserved, Please indicate the source if reproduce.


1. Install PNG photo tools
#apt-get install netpbm

2. Process PNG file
#pngtopnm logo_01.png > logo_01.pnm
#pnmquant 224 logo_01.pnm > logo_01_224.pnm
#pnmtoplainpnm logo_01_224.pnm > logo_01_224.ppm

3. Add the ppm file to kernel source code tree
#cp logo_linux_clut224.ppm _logo_linux_clut224_original.ppm
#cp logo_01_224.ppm drivers/video/logo
#mv logo_01_224.ppm logo_linux_clut224.ppm
#make -j 4; make uImage

Tips: make toos will call ./scripts/pnmtologo binary file to auto create logo_linux_clut224.c file
原创粉丝点击