rpi:build_hybrid_buster
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | rpi:build_hybrid_buster [2019/08/10 11:13] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Raspberry Pi - Hybrid build environment ====== | ||
+ | apt-get install debootstrap qemu-user-static binfmt-support | ||
+ | |||
+ | ===== Raspbian Buster ====== | ||
+ | < | ||
+ | qemu-debootstrap --arch armhf buster / | ||
+ | mount -t proc proc / | ||
+ | mount -t devpts devpts / | ||
+ | |||
+ | LANG=C LC_ALL=C chroot / | ||
+ | cd | ||
+ | |||
+ | apt-get install perl | ||
+ | apt-get install dialog wget | ||
+ | wget http:// | ||
+ | dpkg -i debian-archive-keyring_2019.1_all.deb | ||
+ | rm debian-archive-keyring_2019.1_all.deb | ||
+ | |||
+ | echo 'deb [arch=amd64] http:// | ||
+ | echo '#deb [arch=amd64] http:// | ||
+ | echo 'deb [arch=armhf] http:// | ||
+ | echo 'deb [trusted=yes] http:// | ||
+ | echo '#deb [arch=armhf] https:// | ||
+ | echo ' | ||
+ | |||
+ | dpkg --add-architecture amd64 | ||
+ | apt-get update | ||
+ | apt-get remove --purge gcc-4.9-base gcc-5-base gcc-6-base gcc-7-base | ||
+ | apt-get install -d binutils-arm-linux-gnueabihf: | ||
+ | apt-get install binutils | ||
+ | [hack / | ||
+ | dpkg --purge --force-all binutils-arm-linux-gnueabihf | ||
+ | dpkg -i / | ||
+ | |||
+ | apt-get install gcc-8-arm-linux-gnueabihf g++-8-arm-linux-gnueabihf cpp-8-crosslinks g++-8-crosslinks gcc-8-crosslinks | ||
+ | apt-get install build-essential bash-completion mc:amd64 most:amd64 m4:amd64 bzip2:amd64 xz-utils: | ||
+ | |||
+ | [hack '/ | ||
+ | dpkg --purge --force-all make | ||
+ | dpkg -i / | ||
+ | |||
+ | apt-get clean | ||
+ | apt-get install --purge bash:amd64 dash:amd64 | ||
+ | apt-get install -d tar:amd64 gzip:amd64 findutils: | ||
+ | [big hack] | ||
+ | </ | ||