Commit 7ee41f26 authored by Chris Lamb's avatar Chris Lamb 👀 Committed by Holger Levsen
Browse files

reproducible: Add a PureOS default installation package set.



This currently uses the list of binary packages that are shipped with the
.iso image rather than inspecting the ISO itself (which might require
mounting, etc.) or what is actually installed on the system from the
"factory". However, I suspect this is highly accurate and is a good place
to start for now.

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 20a4a40a
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -417,6 +417,26 @@ update_pkg_set_specific() {
				ABORT=true
			fi
			;;
		pureos_default_install) # pureos default installation
			# Use the list of binary packages that is shipped with the .iso image for now
			BASEURL="https://www.pureos.net/download/"
			echo "Downloading $BASEURL now."
			URL="$(curl $BASEURL | sed -n -e 's@.*\(https://downloads.puri.sm/.*\)\.hybrid\.iso.*@\1.packages@p')"
			if [ -n "$URL" ] ; then
				echo "Downloading $URL now."
				# eg. "zlib1g:amd64\t1:1.2.11.dfsg-1"
				curl $URL | cut -f1 | cut -d: -f1  > $TMPFILE
				if [ ! -s $TMPFILE ] ; then
					rm $TMPFILE
					MESSAGE="Warning: could not download PureOS .packages file from $URL, skipping pkg set..."
					irc_message debian-reproducible $MESSAGE
				fi
			else
				MESSAGE="Warning: could not determine PureOS ISO .packages file from $BASEURL, skipping pkg set..."
				irc_message debian-reproducible $MESSAGE
				ABORT=true
			fi
			;;
		subgraph_OS)
			# installed by Subgraph OS
			# one day we will get a proper data provider from Subgraph OS...
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ Debian distribution,tails
Debian distribution,tails_build-depends
Debian distribution,pureos
Debian distribution,pureos_build-depends
Debian distribution,pureos_default_install
Debian distribution,subgraph_OS
Debian distribution,subgraph_OS_build-depends
maintenance team,maint_debian-accessibility