[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#908451: Improved Patch



Tags: Patch

I've improved the submitted patch by André by making it respect the relevant multistrap setting.

--
Till Robin Zickel | Software Developer
t.zickel@trenz-electronic.de | http://www.trenz-electronic.de
Tel.: 05741 3200-800 (Deutschland) | Phone: +49 5741 3200-800 (International)
--- /usr/sbin/multistrap	2022-06-24 08:38:14.404919035 +0000
+++ /tmp/multistrap	2022-06-24 08:51:19.321226204 +0000
@@ -319,6 +319,8 @@
 $config_str .= " -o Dir::Etc::Trusted=" . shellescape("${dir}${etcdir}trusted.gpg");
 $config_str .= " -o Apt::Get::AllowUnauthenticated=true"
 	if (defined $noauth);
+$config_str .= " -o Acquire::AllowInsecureRepositories=yes"
+	if (defined $noauth);
 $config_str .= " -o Apt::Get::Download-Only=true";
 $config_str .= " -o Apt::Install-Recommends=false"
 	if (not defined $allow_recommends);

Attachment: OpenPGP_0xF7F2A525B869D387.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: