On Sat, Sep 26, 2015 at 02:35:56PM +0100, Colin Watson wrote: > > Depends: ${astrometry-data}, ${misc:Depends} > > > > and generate substitution for ${astrometry-data} appropriate for the host > > architecture in debian/rules. > > ... especially if you use DEB_HOST_ARCH_ENDIAN to do it. See > dpkg-architecture(1). Shouldn't that be DEB_TARGET_ARCH_ENDIAN? Another option nobody mentioned is not doing the byte-swapping in a postinst script in-place, but rather have the original file installed with a different filename than intended, and in the postinst script make a copy to the final destination and byte-swap if necessary. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@debian.org>
Attachment:
signature.asc
Description: Digital signature