Difference between revisions of "Create Debian sysroots"

From Aram's Wiki
Jump to: navigation, search
(Run debootstrap)
(Prerequisites)
Line 9: Line 9:
  
 
[[Debian Linux Post Install Steps| Debian]] or [[Ubuntu Linux Post Install Steps | Ubuntu]] or any system that can run [https://wiki.debian.org/Debootstrap debootstrap].
 
[[Debian Linux Post Install Steps| Debian]] or [[Ubuntu Linux Post Install Steps | Ubuntu]] or any system that can run [https://wiki.debian.org/Debootstrap debootstrap].
 +
 +
Everything below runs as root:
 +
 +
sudo -i
  
 
== Install debootstrap ==
 
== Install debootstrap ==

Revision as of 13:48, 24 November 2019


Introduction

We'll create Debian sysroots suitable for a GCC cross compiler.

Prerequisites

Debian or Ubuntu or any system that can run debootstrap.

Everything below runs as root:

sudo -i

Install debootstrap

sudo apt install -y debootstrap

Run debootstrap

for arch in amd64 arm64 mips mips64el ppc64el; do sudo debootstrap --arch $arch --variant=buildd stable debian-$arch http://deb.debian.org/debian; done

See also