Move PrawnOS deb repo to sources.list.d

Fixes https://github.com/SolidHal/PrawnOS/issues/186
This commit is contained in:
JeremyRand 2020-06-28 22:44:59 +00:00
parent ed31f39058
commit 0a1502a58c
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570
3 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,2 @@
deb https://deb.prawnos.com suite main
deb-src https://deb.prawnos.com suite main

View File

@ -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

View File

@ -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