參考資料:
http://blog.csdn.net/loveaborn/article/details/29579787
如果上面這個方法無效,試試看下面指令
$ sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy
make qemu_x86_64_defconfig
make -j8
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2 -append root=/dev/sda -vga std
------------------------------- for(x <- expr1) yield expr2 expr1.map(x => expr2) ------------------------------- for(x <- expr1 if expr2) expr3 expr1.withFilter(x => expr2).map(x => expr3) ------------------------------- for(x <- expr1 if expr2; seq) yield expr3 for(x <- expr1 withFilter expr2; seq) yield expr3 ------------------------------- for(x <- expr1; y <- expr2; seq) yield expr3 expr1.flatMap(x => for (y <- expr2; seq) yield expr3) ------------------------------- for ((x1, x2) <- expr1) yield expr2 expr1.map{case(x1, x2) => expr2} ------------------------------- for(pat <- expr1) yield2 expr1 withFilter { case pat = > true case _ => false } map { case pat => expr2 }