Page MenuHomePureOS Tracker

debootstrap recommends non-FSDG distros
Open, Freedom IssuePublic

Description

Hi,

  • debootstrap has scripts for many debian versions in /usr/share/debootstrap/scripts/
  • debootstrap examples in the manual also recomends non-free distribution:
EXAMPLES
       To setup a stretch system:

            debootstrap stretch ./stretch-chroot http://deb.debian.org/debian

            debootstrap stretch ./stretch-chroot file:///LOCAL_MIRROR/debian

       Full process to create a complete Debian installation of sid (unstable) in a chroot:

            main # debootstrap sid sid-root http://deb.debian.org/debian/
            [ ... watch it download the whole system ]
            main # echo "proc sid-root/proc proc defaults 0 0" >> /etc/fstab
            main # mount proc sid-root/proc -t proc
            main # echo "sysfs sid-root/sys sysfs defaults 0 0" >> /etc/fstab
            main # mount sysfs sid-root/sys -t sysfs
            main # cp /etc/hosts sid-root/etc/hosts
            main # chroot sid-root /bin/bash

The Parabola GNU/Linux distribution has a version of debootstrap that only works for FSDG distribtion, and their manual has been fixed too.

Here's their manual:

To setup a parkes system:
     debootstrap parkes ./parkes-chroot http://archive.gnewsense.org/gnewsense-three/gnewsense
     debootstrap parkes ./parkes-chroot file:///LOCAL_MIRROR/gnewsense
To setup a toutatis system:
     debootstrap toutatis ./toutatis-chroot http://archive.trisquel.info/trisquel
     debootstrap toutatis ./toutatis-chroot file:///LOCAL_MIRROR/trisquel
Full process to create a complete gNewSense installation of parkes in a chroot:
     main # debootstrap parkes parkes-root http://archive.gnewsense.org/gnewsense-three/gnewsense
     [ ... watch it download the whole system ]
     main # echo "proc parkes-root/proc proc defaults 0 0" >> /etc/fstab
     main # mount proc parkes-root/proc -t proc
     main # echo "sysfs parkes-root/sys sysfs defaults 0 0" >> /etc/fstab
     main # mount sysfs parkes-root/sys -t sysfs
     main # cp /etc/hosts parkes-root/etc/hosts
     main # chroot parkes-root /bin/bash
Full process to create a complete Trisquel installation of toutatis in a chroot:
     main # debootstrap toutatis toutatis-root http://archive.trisquel.info/trisquel
     [ ... watch it download the whole system ]
     main # echo "proc toutatis-root/proc proc defaults 0 0" >> /etc/fstab
     main # mount proc toutatis-root/proc -t proc
     main # echo "sysfs toutatis-root/sys sysfs defaults 0 0" >> /etc/fstab
     main # mount sysfs toutatis-root/sys -t sysfs
     main # cp /etc/hosts toutatis-root/etc/hosts
     main # chroot toutatis-root /bin/bash

Here are the package files:

# pacman -Q -l debootstrap
debootstrap /usr/
debootstrap /usr/bin/
debootstrap /usr/bin/debootstrap
debootstrap /usr/share/
debootstrap /usr/share/debootstrap/
debootstrap /usr/share/debootstrap/functions
debootstrap /usr/share/debootstrap/scripts/
debootstrap /usr/share/debootstrap/scripts/awen
debootstrap /usr/share/debootstrap/scripts/belenos
debootstrap /usr/share/debootstrap/scripts/brigantia
debootstrap /usr/share/debootstrap/scripts/dagda
debootstrap /usr/share/debootstrap/scripts/dwyn
debootstrap /usr/share/debootstrap/scripts/gnewsense
debootstrap /usr/share/debootstrap/scripts/parkes
debootstrap /usr/share/debootstrap/scripts/robur
debootstrap /usr/share/debootstrap/scripts/slaine
debootstrap /usr/share/debootstrap/scripts/taranis
debootstrap /usr/share/debootstrap/scripts/toutatis
debootstrap /usr/share/debootstrap/scripts/trisquel
debootstrap /usr/share/debootstrap/scripts/ucclia
debootstrap /usr/share/man/
debootstrap /usr/share/man/man8/
debootstrap /usr/share/man/man8/debootstrap.8.gz

Some of the files are just symlinks:

# ls -l /usr/share/debootstrap/scripts/
total 24
lrwxrwxrwx 1 root root    8 13 déc.  13:26 awen -> trisquel
lrwxrwxrwx 1 root root    8 13 déc.  13:26 belenos -> trisquel
lrwxrwxrwx 1 root root    8 13 déc.  13:26 brigantia -> trisquel
lrwxrwxrwx 1 root root    8 13 déc.  13:26 dagda -> trisquel
lrwxrwxrwx 1 root root    8 13 déc.  13:26 dwyn -> trisquel
-rw-r--r-- 1 root root 5820 13 déc.  13:26 gnewsense
lrwxrwxrwx 1 root root    6 22 déc.  11:22 green -> pureos
lrwxrwxrwx 1 root root    9 13 déc.  13:26 parkes -> gnewsense
-rw-r--r-- 1 root root 6535 22 déc.  11:22 pureos
lrwxrwxrwx 1 root root    8 13 déc.  13:26 robur -> trisquel
lrwxrwxrwx 1 root root    8 13 déc.  13:26 slaine -> trisquel
lrwxrwxrwx 1 root root    8  6 nov.  20:41 stretch -> trisquel
lrwxrwxrwx 1 root root    8 13 déc.  13:26 taranis -> trisquel
lrwxrwxrwx 1 root root    8 13 déc.  13:26 toutatis -> trisquel
-rw-r--r-- 1 root root 6545 13 déc.  13:26 trisquel
lrwxrwxrwx 1 root root    9 13 déc.  13:26 ucclia -> gnewsense

Denis.