Package: debootstrap
Severity: wishlist
Tags: patch

Hi!

For DiffOS -- https://www.diffos.org/ -- I've been carrying a small
delta to debootstrap for a year or so, and I would like to suggest this
is added upstream.

For possible easier review I pushed a merge request to Salsa:

https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/152

Thanks,
Simon
From 395e5ff02c7f76b9229e6295c09e97255864dc2b Mon Sep 17 00:00:00 2001
From: Simon Josefsson <[email protected]>
Date: Tue, 22 Sep 2026 09:42:28 +0200
Subject: [PATCH] Add DiffOS scripts

---
 scripts/diffos-bookworm     |  1 +
 scripts/diffos-bullseye     |  1 +
 scripts/diffos-duke         |  1 +
 scripts/diffos-forky        |  1 +
 scripts/diffos-oldoldstable |  1 +
 scripts/diffos-oldstable    |  1 +
 scripts/diffos-sid          | 18 ++++++++++++++++++
 scripts/diffos-stable       |  1 +
 scripts/diffos-testing      |  1 +
 scripts/diffos-trixie       |  1 +
 scripts/diffos-unstable     |  1 +
 11 files changed, 28 insertions(+)
 create mode 120000 scripts/diffos-bookworm
 create mode 120000 scripts/diffos-bullseye
 create mode 120000 scripts/diffos-duke
 create mode 120000 scripts/diffos-forky
 create mode 120000 scripts/diffos-oldoldstable
 create mode 120000 scripts/diffos-oldstable
 create mode 100644 scripts/diffos-sid
 create mode 120000 scripts/diffos-stable
 create mode 120000 scripts/diffos-testing
 create mode 120000 scripts/diffos-trixie
 create mode 120000 scripts/diffos-unstable

diff --git a/scripts/diffos-bookworm b/scripts/diffos-bookworm
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-bookworm
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-bullseye b/scripts/diffos-bullseye
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-bullseye
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-duke b/scripts/diffos-duke
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-duke
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-forky b/scripts/diffos-forky
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-forky
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-oldoldstable b/scripts/diffos-oldoldstable
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-oldoldstable
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-oldstable b/scripts/diffos-oldstable
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-oldstable
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-sid b/scripts/diffos-sid
new file mode 100644
index 0000000..a88021b
--- /dev/null
+++ b/scripts/diffos-sid
@@ -0,0 +1,18 @@
+# shellcheck shell=sh
+mirror_style release
+download_style apt
+finddebs_style from-indices
+variants - buildd fakechroot minbase
+keyring /usr/share/keyrings/diffos-archive-keyring.gpg
+default_mirror http://deb.diffos.org/diffos
+
+# include common settings
+if [ -e "$DEBOOTSTRAP_DIR/scripts/debian-common" ]; then
+ . "$DEBOOTSTRAP_DIR/scripts/debian-common"
+elif [ -e /debootstrap/debian-common ]; then
+ . /debootstrap/debian-common
+elif [ -e "$DEBOOTSTRAP_DIR/debian-common" ]; then
+ . "$DEBOOTSTRAP_DIR/debian-common"
+else
+ error 1 NOCOMMON "File not found: debian-common"
+fi
diff --git a/scripts/diffos-stable b/scripts/diffos-stable
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-stable
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-testing b/scripts/diffos-testing
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-testing
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-trixie b/scripts/diffos-trixie
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-trixie
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
diff --git a/scripts/diffos-unstable b/scripts/diffos-unstable
new file mode 120000
index 0000000..7c70471
--- /dev/null
+++ b/scripts/diffos-unstable
@@ -0,0 +1 @@
+diffos-sid
\ No newline at end of file
-- 
2.54.0

Attachment: signature.asc
Description: PGP signature

Reply via email to