debootstrap: use debian's version?
Hi. Is there any reason we don't upstreaming the scripts into debian, and using that package instead?
The current helper-debootstrap script removes all non-trisquel scripts, including debian/ubuntu/etc, which is not that helpful because for debootstrap you would want scripts from all various systems.
Currently the only diff between trisquel's scripts and the latest version in debian is this:
--- /home/jas/dpkg/debootstrap/scripts/aramo 2023-11-08 22:43:50.615905742 +0100
+++ /home/jas/src/trisquel/package-helpers/helpers/DATA/debootstrap/aramo 2023-07-06 19:02:47.831546606 +0200
@@ -1,11 +1,5 @@
-case $ARCH in
- amd64|i386)
- default_mirror http://archive.trisquel.info/trisquel
- ;;
- *)
- default_mirror http://ports.trisquel.info/trisquel
- ;;
-esac
+default_mirror http://archive.trisquel.org/trisquel
+
mirror_style release
download_style apt
finddebs_style from-indices
And as far as I can see, ports.trisquel.info is no longer used by Trisquel so the Debian script is incorrect.
I think a bug report should be filed for debian's debootstrap to update it, and then trisquel can use debootstrap from debian directly to give us debootstrap support for non-trisquel platforms too.
The only reason I could think of would be to reject non-free package repositories, but the debian 'debootstrap' scripts does not mention contrib, non-free, multiverse, restricted or anything like that.