Dev/Embedded/Rootfs/Devuan/FromScratch: Difference between revisions

From Embeded Linux (and more) Wiki by Nathael
< Dev‎ | Embedded‎ | Rootfs
Jump to navigation Jump to search
(Created page with "== Using debootstrap == === Part 1 : on any computer === debootstrap --foreign --arch=arm64 --include=locales,file,vim,net-tools,ca-certificates,bzip2,bsdutils,devuan-keyring...")
 
Line 1: Line 1:
== Using debootstrap ==
== Using debootstrap ==
=== Part 1 : on any computer ===
=== Part 1 : on any computer ===
  debootstrap --foreign --arch=arm64 --include=locales,file,vim,net-tools,ca-certificates,bzip2,bsdutils,devuan-keyring,debian-archive-keyring,debian-keyring,diffutils,findutils,eudev,iptables,isc-dhcp-client,netbase,ntp,openssh-client,openssh-server,openssh-sftp-server,screen,wireless-tools --exclude=ed,nano,tasksel,tasksel-data,vim-tiny --verbose ceres rootfs/ http://fr.deb.devuan.org/merged
Use the following debootstrap command :
  debootstrap --foreign --arch=arm64 --include=vim,bsdutils,openssh-client,openssh-server --exclude=ed,nano,tasksel,tasksel-data,vim-tiny --verbose ceres rootfs/ http://fr.deb.devuan.org/merged
You can add some of these (and many more) depending on your needs :
locales,file,net-tools,ca-certificates,bzip2,devuan-keyring,debian-archive-keyring,debian-keyring,diffutils,findutils,iptables,isc-dhcp-client,netbase,ntp,openssh-sftp-server,screen,wireless-tools,minicom
 
Do not add udev !<br />
It may be possible to add '''eudev''', but somtimes the second stage fails when it is included, so it may be better to add it after the second stage successfully completed (with apt-get install).


=== Part 2 : on the target ===
=== Part 2 : on the target ===

Revision as of 18:13, 16 October 2019

Using debootstrap

Part 1 : on any computer

Use the following debootstrap command :

debootstrap --foreign --arch=arm64 --include=vim,bsdutils,openssh-client,openssh-server --exclude=ed,nano,tasksel,tasksel-data,vim-tiny --verbose ceres rootfs/ http://fr.deb.devuan.org/merged

You can add some of these (and many more) depending on your needs :

locales,file,net-tools,ca-certificates,bzip2,devuan-keyring,debian-archive-keyring,debian-keyring,diffutils,findutils,iptables,isc-dhcp-client,netbase,ntp,openssh-sftp-server,screen,wireless-tools,minicom

Do not add udev !
It may be possible to add eudev, but somtimes the second stage fails when it is included, so it may be better to add it after the second stage successfully completed (with apt-get install).

Part 2 : on the target