Debootstrap script for yunohost
Find a file
2022-10-05 13:24:45 +02:00
LICENSE Initial commit 2019-10-09 23:40:19 +02:00
README.md [fix] Bad doc about patch of debootstrap 2020-09-15 18:12:25 +02:00
yunohost [enh] Adapt for bullseye 2022-10-05 13:24:45 +02:00

yunohost-debootstrap

This script allow you to create yunohost installation with debootstrap.

Setup on debian

sudo apt install debootstrap
git clone https://github.com/YunoHost/yunohost-debootstrap
sudo cp yunohost-debootstrap/yunohost /usr/share/debootstrap/scripts/

Patch debootstrap

You need to patch debootstrap like this:

sed -i "s@#\!/bin/sh@#\!/bin/bash@" /usr/sbin/debootstrap

Test it

mkdir ynh_chroot
sudo debootstrap --include="acpi-support-base,kbd,udev,linux-image-amd64,openssh-server,ca-certificates,debhelper" yunohost ./ynh_chroot/ https://deb.debian.org/debian/