安装Cubieboard最小系统  来自onefish的blog

 来自cubieboard的wiki

#!/bin/bash# debootstrap --foreign --arch armhf wheezy .#cp /usr/bin/qemu-arm-static usr/bin#LC_ALL=C LANGUAGE=C LANG=C chroot . /debootstrap/debootstrap --second-stage#LC_ALL=C LANGUAGE=C LANG=C chroot . dpkg --configure -a#debootstrap --arch=armhf --variant=buildd --foreign wheezy  /home/zlb/debian_develop http://ftp.cn.debian.org/debiansudo debootstrap --arch=armhf --variant=buildd --foreign wheezy  /home/zlb/debian_develop/cubieboard_armhf  http://mirrors.163.com/debian#sudo LC_ALL=C LANGUAGE=C LANG=C chroot cubieboard_armhf/ /debootstrap/debootstrap --second-stage#sudo LC_ALL=C LANGUAGE=C LANG=C chroot cubieboard_armhf/ dpkg-reconfigure -a

建立链接

for i in arm-linux-gnueabihf*-4.7 ; do sudo ln -sfv $i ${i%%-4.7} ; done

$ dpkg -S /usr/share/lintian/checks/xdebxdeb: /usr/share/lintian/checks/xdebI can fix the error by manually editing line 28 like this:-use Util;+use Lintian::Util;
$ DEB_CPPFLAGS_SET="-I/foo/bar/baz" DEB_CFLAGS_SET="-g -O6" DEB_LDFLAGS_SET="-L/fruzzel/frazzel/" dpkg-buildpackage -uc -us -j8 -rfakeroot