Generate systemd deb package after patching systemd source code

eric-olivier.perrin at sysnav.fr eric-olivier.perrin at sysnav.fr
Fri Apr 7 11:42:57 BST 2023


Hi, 
I'm trying to generate systemd deb package with the command "dpkg-buildpackage -us -uc -b --host-arch armhf -d"
How to disable tests ? 
because they can not be passed when sources are cross-compiled. 

Thanks for your support

-----Message d'origine-----
De : Michael Biebl <biebl at debian.org> 
Envoyé : vendredi 13 janvier 2023 11:52
À : eric-olivier.perrin at sysnav.fr; pkg-systemd-maintainers at lists.alioth.debian.org
Objet : Re: Generate systemd deb package after patching systemd source code

Am 13.01.23 um 10:32 schrieb eric-olivier.perrin at sysnav.fr:
> Hi,
> 
> I’d like to patch the code of systemd version 241 et generate a deb 
> package from the patched sources , cross-compiled for armhf system.
> 
> Could you tell me how to generate the deb package ?
> 
> Thanks for your support

That's an ancient version. That said, I personally would probably pull the source package from snapshots.debian.org ¹ and apply your patch to this version and then use the typical debian tools to build the package.

Michael


[¹] http://snapshot.debian.org/package/systemd/241-1/





More information about the Pkg-systemd-maintainers mailing list