Attemping building udeb packages with CPack
I am trying to build udeb packages with CMake/CPack. I see that it works already pretty well for normal Debian packages, but udebs requires, among others, extra fields in the control
file to produce valid udeb packages. This page instructs to set extra fields Package-Type: udeb
and Installer-Menu-Item: 1200
in control
but I could not find the corresponding CPACK_DEBIAN_PACKAGE_* variables in CMake/CPack documentation.
I assume building udeb is not a feature supported by CPack for now. I would attempt to add the missing bits to achieve it, but I could not find where DEB packages are actually build. I found directory structures and empty files created, as well as lots of variables "moved to parent scope" (whatever that means) at the bottom of CPackDeb.cmake
, but I did not find what exactly is made of these variables and where this happens.
Can you give me a pointer on where to look?