* [ptxdist] .debug folders in release
@ 2016-05-10 13:11 Morand, Guy
2016-05-10 14:41 ` Juergen Borleis
0 siblings, 1 reply; 2+ messages in thread
From: Morand, Guy @ 2016-05-10 13:11 UTC (permalink / raw)
To: ptxdist
Hi ptxdist developers,
I noticed that in the built image, there libraries with debug symbols available, for example:
-------------
for f in $(find /usr/ /lib/ /sbin/ | grep debug$) ; do du -ks $f ; done | sort -n
72 /usr/lib/collectd/.debug
212 /lib/udev/.debug
352 /usr/libexec/sudo/.debug
368 /sbin/.debug
768 /usr/lib/lighttpd/.debug
2256 /usr/sbin/.debug
6568 /lib/.debug
8212 /usr/bin/.debug
11596 /usr/lib/.debug
-------------
I dindn't find any relevant option in menuconfig, is there a way to perform some cleanup before creating the ubi image?
Kind regards,
Guy Morand
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] .debug folders in release
2016-05-10 13:11 [ptxdist] .debug folders in release Morand, Guy
@ 2016-05-10 14:41 ` Juergen Borleis
0 siblings, 0 replies; 2+ messages in thread
From: Juergen Borleis @ 2016-05-10 14:41 UTC (permalink / raw)
To: ptxdist; +Cc: Morand, Guy
Hi Guy,
On Tuesday 10 May 2016 15:11:05 Morand, Guy wrote:
> I noticed that in the built image, there libraries with debug symbols
> available, for example: -------------
> for f in $(find /usr/ /lib/ /sbin/ | grep debug$) ; do du -ks $f ; done |
> sort -n 72 /usr/lib/collectd/.debug
> 212 /lib/udev/.debug
> 352 /usr/libexec/sudo/.debug
> 368 /sbin/.debug
> 768 /usr/lib/lighttpd/.debug
> 2256 /usr/sbin/.debug
> 6568 /lib/.debug
> 8212 /usr/bin/.debug
> 11596 /usr/lib/.debug
> -------------
>
> I dindn't find any relevant option in menuconfig, is there a way to perform
> some cleanup before creating the ubi image?
Where did you search for these ".debug" folders? On your local harddisk
in "platform-<yourplatfrom>/root" or on the final UBI at your target generated
by PTXdist?
The ".debug" folders get created for NFSroot purposes only. They should not be
part of the final images (UBI, EXT2 and so on).
Regards,
Juergen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-10 14:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-10 13:11 [ptxdist] .debug folders in release Morand, Guy
2016-05-10 14:41 ` Juergen Borleis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox