Added support for testing release and bullseye release.
The submission originated from the error I encountered when I wanted to generate a live cd for the testing release.
I previously sent an email to the mailing group to explain this bug.
https://lists.debian.org/debian-live/2020/07/msg00017.html
I spent a little time on the weekend finding the cause of this error and fixing this bug.
The following is the original content of the email:
live-build support for "testing" releases has serious bugs
Hit:1 https://deb.debian.org/debian testing InRelease
Ign:2 https://deb.debian.org/debian-security testing/updates InRelease
Get:3 https://deb.debian.org/debian testing-updates InRelease [38.8 kB]
Err:4 https://deb.debian.org/debian-security testing/updates Release
404 Not Found [IP: x.x.x.x]
Get:5 https://deb.debian.org/debian testing/main Sources [8196 kB]
Get:6 https://deb.debian.org/debian testing/main Translation-en [5927 kB]
Reading package lists... Done
E: The repository 'https://deb.debian.org/debian-security testing/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Unable to download the Release file, this is an inevitable result, because the correct path should be
http://deb.debian.org/debian-security/dists/testing-security/Release
It should be "testing-security" instead of "testing".
Other releases do not have this problem, only testing-security and bullseye-security have "-security" suffix.
I checked the code and found that live-build does not seem to support testing release and bullseye release. I added this feature.