User Tools

Site Tools


en:bpi-r2:debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:bpi-r2:debian [2019/08/09 19:58]
frank [debootstrap]
en:bpi-r2:debian [2019/08/09 20:02] (current)
frank [debootstrap]
Line 11: Line 11:
 <code bash> <code bash>
 sudo apt-get install qemu-user-static debootstrap binfmt-support sudo apt-get install qemu-user-static debootstrap binfmt-support
-targetdir=$(pwd)/​debian_stretch +distro=buster 
-distro=stretch+arch=armhf 
 +#for bpi-r64 use arch=arm64 
 +targetdir=$(pwd)/​debian_${distro}_${arch}
 mkdir $targetdir mkdir $targetdir
-sudo debootstrap --arch=armhf --foreign $distro $targetdir +sudo debootstrap --arch=$arch --foreign $distro $targetdir
-#for bpi-r64 use --arch=arm64+
 sudo cp /​usr/​bin/​qemu-arm-static $targetdir/​usr/​bin/​ sudo cp /​usr/​bin/​qemu-arm-static $targetdir/​usr/​bin/​
 #for r64 use #for r64 use
Line 33: Line 34:
   * /​etc/​apt/​sources.list   * /​etc/​apt/​sources.list
 <​code>​ <​code>​
-deb http://​ftp.us.debian.org/​debian ​stretch ​main contrib non-free +deb http://​ftp.us.debian.org/​debian ​buster ​main contrib non-free 
-deb-src http://​ftp.us.debian.org/​debian ​stretch ​main contrib non-free +deb-src http://​ftp.us.debian.org/​debian ​buster ​main contrib non-free 
-deb http://​ftp.us.debian.org/​debian ​stretch-updates main contrib non-free +deb http://​ftp.us.debian.org/​debian ​buster-updates main contrib non-free 
-deb-src http://​ftp.us.debian.org/​debian ​stretch-updates main contrib non-free +deb-src http://​ftp.us.debian.org/​debian ​buster-updates main contrib non-free 
-deb http://​security.debian.org/​debian-security ​stretch/updates main contrib non-free +deb http://​security.debian.org/​debian-security ​buster/updates main contrib non-free 
-deb-src http://​security.debian.org/​debian-security ​stretch/updates main contrib non-free+deb-src http://​security.debian.org/​debian-security ​buster/updates main contrib non-free
 </​code>​ </​code>​
   * fstab (boot,root)   * fstab (boot,root)
en/bpi-r2/debian.txt · Last modified: 2019/08/09 20:02 by frank