rpi:build_hybrid_bullseye
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | rpi:build_hybrid_bullseye [2021/10/27 07:47] (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 Bullseye ====== | ||
+ | < | ||
+ | qemu-debootstrap --no-check-gpg --arch armhf bullseye / | ||
+ | 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_2021.1.1_all.deb | ||
+ | rm debian-archive-keyring_2021.1.1_all.deb | ||
+ | |||
+ | echo 'deb [arch=amd64] http:// | ||
+ | echo '#deb [arch=amd64] https:// | ||
+ | echo 'deb [arch=armhf] http:// | ||
+ | echo 'deb [trusted=yes] http:// | ||
+ | echo ' | ||
+ | |||
+ | dpkg --add-architecture amd64 | ||
+ | apt-get update | ||
+ | apt-get remove --purge gcc-7-base gcc-8-base gcc-9-base | ||
+ | apt-get install binutils-arm-linux-gnueabihf: | ||
+ | apt-get install binutils | ||
+ | |||
+ | apt-get install gcc-10-arm-linux-gnueabihf g++-10-arm-linux-gnueabihf cpp-10-crosslinks g++-10-crosslinks gcc-10-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] | ||
+ | </ | ||