update cleanups.sh

This commit is contained in:
Calin Crisan 2017-12-27 00:59:00 +02:00
parent 99b4f065db
commit e8eb7ad9f3

View File

@ -22,7 +22,6 @@ rm -rf $TARGET/etc/logrotate.d
rm -f $TARGET/etc/rc_maps.cfg rm -f $TARGET/etc/rc_maps.cfg
rm -f $TARGET/etc/udev/hwdb.d/20-pci-vendor-model.hwdb rm -f $TARGET/etc/udev/hwdb.d/20-pci-vendor-model.hwdb
rm -f $TARGET/etc/motion-dist.conf
rm -f $TARGET/etc/hostname rm -f $TARGET/etc/hostname
rm -f $TARGET/etc/os-release rm -f $TARGET/etc/os-release
rm -f $TARGET/etc/hostapd.conf rm -f $TARGET/etc/hostapd.conf
@ -119,16 +118,15 @@ rm -f $TARGET/bin/zmore
rm -f $TARGET/bin/znew rm -f $TARGET/bin/znew
rm -f $TARGET/bin/gzexe rm -f $TARGET/bin/gzexe
rm -f $TARGET/bin/uncompress rm -f $TARGET/bin/uncompress
rm -f $TARGET/usr/bin/v4l2-compliance
rm -f $TARGET/usr/bin/slogin rm -f $TARGET/usr/bin/slogin
rm -f $TARGET/usr/bin/ssh-keyscan rm -f $TARGET/usr/bin/ssh-keyscan
rm -f $TARGET/usr/bin/ssh-add rm -f $TARGET/usr/bin/ssh-add
rm -f $TARGET/usr/bin/ssh-agent rm -f $TARGET/usr/bin/ssh-agent
rm -f $TARGET/usr/bin/xmllint
rm -f $TARGET/usr/libexec/ssh-keysign rm -f $TARGET/usr/libexec/ssh-keysign
rm -f $TARGET/usr/libexec/ssh-pkcs11-helper rm -f $TARGET/usr/libexec/ssh-pkcs11-helper
rm -f $TARGET/usr/libexec/rmt rm -f $TARGET/usr/libexec/rmt
rm -rf $TARGET/libexec
# samba4 unneeded stuff # samba4 unneeded stuff
rm -f $TARGET/usr/bin/cifsdd rm -f $TARGET/usr/bin/cifsdd
@ -136,6 +134,7 @@ rm -f $TARGET/usr/bin/containers_*
rm -f $TARGET/usr/bin/ctdb* rm -f $TARGET/usr/bin/ctdb*
rm -f $TARGET/usr/bin/dbwrap_tool rm -f $TARGET/usr/bin/dbwrap_tool
rm -f $TARGET/usr/bin/eventlogadm rm -f $TARGET/usr/bin/eventlogadm
rm -f $TARGET/usr/bin/event_rpcgen.py
rm -f $TARGET/usr/bin/gentest rm -f $TARGET/usr/bin/gentest
rm -f $TARGET/usr/bin/ldb* rm -f $TARGET/usr/bin/ldb*
rm -f $TARGET/usr/bin/locktest rm -f $TARGET/usr/bin/locktest
@ -153,6 +152,7 @@ rm -f $TARGET/usr/bin/ping_pong
rm -f $TARGET/usr/bin/profiles rm -f $TARGET/usr/bin/profiles
rm -f $TARGET/usr/bin/reg* rm -f $TARGET/usr/bin/reg*
rm -f $TARGET/usr/bin/rpcclient rm -f $TARGET/usr/bin/rpcclient
rm -f $TARGET/usr/bin/samba-regedit
rm -f $TARGET/usr/bin/sharesec rm -f $TARGET/usr/bin/sharesec
rm -f $TARGET/usr/bin/smbcacls rm -f $TARGET/usr/bin/smbcacls
rm -f $TARGET/usr/bin/smbcontrol rm -f $TARGET/usr/bin/smbcontrol
@ -167,17 +167,30 @@ rm -f $TARGET/usr/bin/smnotify
rm -f $TARGET/usr/bin/tdb* rm -f $TARGET/usr/bin/tdb*
rm -f $TARGET/usr/bin/testparm rm -f $TARGET/usr/bin/testparm
rm -f $TARGET/usr/bin/wbinfo rm -f $TARGET/usr/bin/wbinfo
rm -f $TARGET/usr/sbin/ctdb*
rm -f $TARGET/usr/sbin/winbindd rm -f $TARGET/usr/sbin/winbindd
rm -f $TARGET/usr/share/perl5 rm -rf $TARGET/usr/share/ctdb
# useless mongodb binaries # useless mongodb binaries
rm -f $TARGET/usr/bin/mongos rm -f $TARGET/usr/bin/mongos
rm -f $TARGET/usr/bin/mongoperf rm -f $TARGET/usr/bin/mongoperf
# v4l-utils
rm -f $TARGET/usr/bin/cec-compliance
rm -f $TARGET/usr/bin/cec-ctl
rm -f $TARGET/usr/bin/cec-follower
rm -f $TARGET/usr/bin/dvb-fe-tool
rm -f $TARGET/usr/bin/dvb-format-convert
rm -f $TARGET/usr/bin/dvbv5-daemon
rm -f $TARGET/usr/bin/dvbv5-scan
rm -f $TARGET/usr/bin/dvbv5-zap
rm -f $TARGET/usr/bin/media-ctl
rm -f $TARGET/usr/bin/rds-ctl
rm -f $TARGET/usr/bin/v4l2-compliance
# unused python folders # unused python folders
rm -rf $TARGET/usr/lib/python2.7/site-packages/samba/ rm -rf $TARGET/usr/lib/python2.7/site-packages/samba/
rm -rf $TARGET/usr/lib/python2.7/ensurepip/ rm -rf $TARGET/usr/lib/python2.7/ensurepip/
rm -rf $TARGET/usr/lib/python2.7/config/
# buildroot default startup scripts # buildroot default startup scripts
rm -f $TARGET/etc/init.d/S01logging rm -f $TARGET/etc/init.d/S01logging