Details
-
Task
-
Resolution: Done
-
Medium
-
None
-
None
-
None
-
2326_Varactyl
Description
Noticed that we currently install -dev packages in the target root file-system when building the "standard" GDP image.
Example:
root@raspberrypi3:~# du -h -d 1 /usr/include/
100K /usr/include/FLAC++
8.0K /usr/include/sbc
48K /usr/include/mtd
1.9M /usr/include/openssl
116K /usr/include/scsi
8.0K /usr/include/misc
372K /usr/include/pulse
36K /usr/include/libdaemon
64K /usr/include/gio-unix-2.0
36K /usr/include/avahi-gobject
116K /usr/include/gobject-introspection-1.0
60K /usr/include/net
28K /usr/include/ogg
184K /usr/include/db51
16K /usr/include/freedreno
36K /usr/include/libmount
24K /usr/include/protocols
24K /usr/include/xen
504K /usr/include/libdrm
336K /usr/include/drm
32K /usr/include/libfdisk
200K /usr/include/sound
244K /usr/include/GLES2
12K /usr/include/omap
1.3M /usr/include/freetype2
12K /usr/include/pycairo
84K /usr/include/readline
8.0K /usr/include/netpacket
88K /usr/include/gconf
24K /usr/include/X11
24K /usr/include/attr
72K /usr/include/security
16K /usr/include/KHR
44K /usr/include/vorbis
8.0K /usr/include/netatalk
36K /usr/include/avahi-client
480K /usr/include/alsa
84K /usr/include/EGL
8.0K /usr/include/netipx
96K /usr/include/json-c
220K /usr/include/dbus-1.0
700K /usr/include/atomic_ops
8.0K /usr/include/netiucv
16K /usr/include/crypto
56K /usr/include/arpa
92K /usr/include/avahi-common
44K /usr/include/fontconfig
4.0K /usr/include/uapi
20K /usr/include/libltdl
68K /usr/include/libcgroup
120K /usr/include/rpc
8.0K /usr/include/uuid
8.0K /usr/include/neteconet
580K /usr/include/libical
344K /usr/include/GLES3
12K /usr/include/netax25
8.0K /usr/include/netrose
256K /usr/include/asm
8.0K /usr/include/netrom
4.0K /usr/include/amb
188K /usr/include/lzma
22M /usr/include/qt5
10M /usr/include/c++
524K /usr/include/libxml2
204K /usr/include/ofono
900K /usr/include/bits
168K /usr/include/bluetooth
8.0K /usr/include/libkms
8.0K /usr/include/acl
56K /usr/include/speex
348K /usr/include/FLAC
484K /usr/include/sys
80K /usr/include/libusb-1.0
32K /usr/include/pygobject-3.0
692K /usr/include/python2.7
116K /usr/include/netinet
12K /usr/include/avahi-glib
8.0K /usr/include/netash
276K /usr/include/rpcsvc
20K /usr/include/libsmartcols
20K /usr/include/video
140K /usr/include/rdma
52K /usr/include/pixman-1
172K /usr/include/cairo
8.0K /usr/include/nfs
180K /usr/include/libpng16
192K /usr/include/asm-generic
4.7M /usr/include/linux
138M /usr/include/boost
780K /usr/include/python3.5m
32K /usr/include/gnu
48K /usr/include/avahi-core
108K /usr/include/systemd
20K /usr/include/blkid
2.4M /usr/include/glib-2.0
4.4M /usr/include/unicode
4.0K /usr/include/gdbm
199M /usr/include/
Only reason to include -dev packages on target is if there is a intention to compile native on the device. But in that case we also need to install the development tools on target (gcc, make etc...), these are currently not installed.
Which means that currently the header files are not doing any good on target beside wasting space and slowing down builds, and in my opinion this should be cleaned up. If later on we want to create a separate target that allows native compilation we at least have made a active decision to do so. Now it feels that they are "accidentally" pulled in.
Attachments
Issue Links
- blocks
-
GDP-610 Cleaning Epic, post GDP-12
- To Do