Re: [Tails-dev] dpkg-dev / libdpkg-perl errors during build

Borrar esta mensaxe

Responder a esta mensaxe
Autor: intrigeri
Data:  
Para: The Tails public development discussion list
Asunto: Re: [Tails-dev] dpkg-dev / libdpkg-perl errors during build
Hi,

I had another look at this problem. And now, to be honest, what I find
weird is not that it doesn't work for some people. Rather, it's that
it does work for me :~/

May you please retry after applying the (untested) attached patch,
or something inspired by it?

Cheers,
--
intrigeri

diff --git a/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem b/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem
index 276ea0e..27a1cdd 100755
--- a/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem
+++ b/config/binary_local-hooks/40-include_syslinux_in_ISO_filesystem
@@ -43,11 +43,13 @@ cp "$CHROOT_SYSLINUX_MBR" "$BINARY_MBR_DIR/mbr.bin"
 cat chroot/etc/apt/sources.list chroot/etc/apt/sources.list.d/*.list \
    | sed --regexp-extended -e 's,^deb(\s+),deb-src\1,' \
    > "$CHROOT_TEMP_APT_SOURCES"
+mv chroot/etc/apt/apt.conf.d/{,.}0000runtime-proxy
 Chroot chroot apt-get --yes update
 Chroot chroot apt-get --yes install dpkg-dev
 Chroot chroot apt-get source syslinux="$(syslinux_deb_version_in_chroot)"
 cp chroot/syslinux-*/bios/win32/syslinux.exe "$WIN32_BINARY_UTILS_DIR/"
 rm -r chroot/syslinux*
 rm "$CHROOT_TEMP_APT_SOURCES"
+mv chroot/etc/apt/apt.conf.d/{.,}0000runtime-proxy
 Chroot chroot apt-get --yes update
 Chroot chroot apt-get --yes purge dpkg-dev make # dpkg-dev depends on make