Closed jrcoding closed 8 years ago
Seems reasonable.
...
dh_strip --package=rtems-common
strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/rtems-bin2c
strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/unhex
strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/packhex
strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/cklength
strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/i386-rtems4.9-bin2boot
strip --remove-section=.comment --remove-section=.note debian/rtems-common/usr/bin/eolstrip
...
Build fails because lintian throws error "rtems-common: unstripped-binary-or-object"
The added override in debian/rules explicitly removes the symbols from the binaries in package rtems-common. This should be o.k. because the binaries in rtems-common are binaries running on the build host and not on the target.