Bug#881730: grub2: Please clone debian/grub-ieee1275-bin.install.powerpc.in for ppc64
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Thu Dec 7 00:05:09 UTC 2017
Hi Colin!
On 11/16/2017 10:12 AM, Colin Watson wrote:
>> But you're right, prep-bootdev should be present as well, also
>> on powerpc where we're also switching from Yaboot to GRUB. So,
>> please add it for both powerpc and ppc64.
>
> OK, all done for my next upload. Thanks.
I just noticed we might need to add powerpc and ppc64 in line 228 in
debian/rules [1]:
--- debian/rules.orig 2017-07-06 18:59:39.000000000 +0200
+++ debian/rules 2017-12-07 01:03:49.931861163 +0100
@@ -225,7 +225,7 @@
debian/stamps/build-grub-ieee1275: debian/stamps/configure-grub-ieee1275
dh_auto_build
-ifeq ($(DEB_HOST_ARCH_CPU),ppc64el)
+ifneq (,$(filter powerpc ppc64 ppc64el,$(DEB_HOST_ARCH_CPU)))
$(CC) $(HOST_CFLAGS) debian/prep-bootdev.c -o debian/prep-bootdev -lparted
endif
touch $@
Otherwise prep-bootdev won't get build and the build might fail
if dh_install is configured to bail out for missing files.
Adrian
> [1] https://anonscm.debian.org/cgit/pkg-grub/grub.git/tree/debian/rules#n228
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
More information about the Pkg-grub-devel
mailing list