From 07a3f2556e39f051b85970024b3839a69b9cfba6 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 5 May 2021 15:25:01 +0200 Subject: [PATCH] debootstrap: Add version 1.0.124 This allows to easily install Debian or Ubuntu into a directory, and later on into a VM image avoiding using the installer images. sudo debootstrap --arch=amd64 sid /scratch/local2/debian-sid For Ubuntu, get the archive keyring from somewhere (`/usr/share/keyrings/` on some installation or the WWW), and pass it: sudo debootstrap --arch=amd64 --keyring /scratch/tmp/ubuntu-archive-keyring.gpg hirsute /scratch/local2/ubuntu-hirsute You can also use systemd-nspawn or chroot to work in these directories. --- debootstrap.be0 | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 debootstrap.be0 diff --git a/debootstrap.be0 b/debootstrap.be0 new file mode 100755 index 000000000..383c3b0c5 --- /dev/null +++ b/debootstrap.be0 @@ -0,0 +1,36 @@ +#!/usr/bin/env beesh + +# BEE_VERSION debootstrap-1.0.124-0 + +# https://salsa.debian.org/installer-team/debootstrap/-/archive/fbd2ea51c7ddf519209e78d1ba79ade70c76c015/debootstrap-1.0.124.tar.gz +SRCURL[0]="https://beehive.molgen.mpg.de/7b4dfb583c7b7c755efc26ac51ec3c64/debootstrap-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#}