siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
130 stars 77 forks source link

npm: Skip dh_strip_nondeterminism for npm packages #244

Closed jan-kiszka closed 2 years ago

jan-kiszka commented 2 years ago

As our packaging is not clean anyway and this step takes a long while with packages that have many files, maybe even longer with bullseye now, simply skip it. Saves several minutes build time for many packages.

BaochengSu commented 2 years ago

LGTM.

Just curious, why this npm.bbclass is not upstreamed to ISAR?

jan-kiszka commented 2 years ago

Because it's an evil hack for an evil problem: dependency explosion with NodeJS packages.

The proper solution would be individual packaging of dependencies, not the vendoring that this class does. But it's unrealistic to maintain such a huge pile of dependencies as Debian packages, often even for the Debian community.