Comment 10 for bug 1843768

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Here is the patch to fix the FTBFS on archs without grub-installer:

diff --git a/debian/rules b/debian/rules
index a90e57f1f..f6a758cf4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -161,8 +161,10 @@ endif
                < d-i/patches/localechooser-post-base-installer.patch
        patch debian/ubiquity/lib/partman/finish.d/25create_swapfile \
                < d-i/patches/partman-swapfile-background.patch
+ifeq (,$(filter armhf ppc64el s390x,$(DEB_HOST_ARCH)))
        patch debian/ubiquity/usr/share/grub-installer/grub-installer \
                < d-i/patches/zfs-0.8-support.patch
+endif
        chmod +x debian/ubiquity/usr/lib/ubiquity/localechooser/post-base-installer
        sed 's/\\\$${!TAB}/ /g' \
                debian/ubiquity/usr/lib/ubiquity/localechooser/localechooser \