mirror of
https://github.com/YunoHost/yunohost-debootstrap.git
synced 2025-10-28 17:17:37 +01:00
Debootstrap script for yunohost
| LICENSE | ||
| README.md | ||
| yunohost | ||
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/