From 0a1502a58c8dbf2e20a487bc458ae50e72ea4cfa Mon Sep 17 00:00:00 2001 From: JeremyRand Date: Sun, 28 Jun 2020 22:44:59 +0000 Subject: [PATCH] Move PrawnOS deb repo to sources.list.d Fixes https://github.com/SolidHal/PrawnOS/issues/186 --- resources/BuildResources/prawnos.list | 2 ++ resources/BuildResources/sources.list | 3 --- scripts/BuildScripts/FilesystemScripts/buildFilesystem.sh | 2 ++ 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 resources/BuildResources/prawnos.list diff --git a/resources/BuildResources/prawnos.list b/resources/BuildResources/prawnos.list new file mode 100644 index 0000000..f0cbd13 --- /dev/null +++ b/resources/BuildResources/prawnos.list @@ -0,0 +1,2 @@ +deb https://deb.prawnos.com suite main +deb-src https://deb.prawnos.com suite main diff --git a/resources/BuildResources/sources.list b/resources/BuildResources/sources.list index 8e35d83..b22ba5a 100644 --- a/resources/BuildResources/sources.list +++ b/resources/BuildResources/sources.list @@ -1,5 +1,2 @@ deb http://ftp.us.debian.org/debian suite main deb-src http://ftp.us.debian.org/debian suite main - -deb https://deb.prawnos.com suite main -deb-src https://deb.prawnos.com suite main diff --git a/scripts/BuildScripts/FilesystemScripts/buildFilesystem.sh b/scripts/BuildScripts/FilesystemScripts/buildFilesystem.sh index a5f6e0d..2f038c3 100755 --- a/scripts/BuildScripts/FilesystemScripts/buildFilesystem.sh +++ b/scripts/BuildScripts/FilesystemScripts/buildFilesystem.sh @@ -154,7 +154,9 @@ chmod +x $outmnt/*.sh #This is what https://wiki.debian.org/EmDebian/CrossDebootstrap suggests cp /etc/hosts $outmnt/etc/ cp $build_resources/sources.list $outmnt/etc/apt/sources.list +cp $build_resources/prawnos.list $outmnt/etc/apt/sources.list.d/ sed -i -e "s/suite/$DEBIAN_SUITE/g" $outmnt/etc/apt/sources.list +sed -i -e "s/suite/$DEBIAN_SUITE/g" $outmnt/etc/apt/sources.list.d/prawnos.list if [ "$DEBIAN_SUITE" != "sid" ] then # sid doesn't have updates or security; they're present for all other suites