# Removing packagese from Yocto, wp760x

**URL:** <https://forum.legato.io/t/removing-packagese-from-yocto-wp760x/3807>\
**Category:** Uncategorized\
**Created:** [October 24, 2018, 4:05am UTC](https://forum.legato.io/t/removing-packagese-from-yocto-wp760x/3807 "2018-10-24T04:05:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deadpoolcode](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/deadpoolcode/32/382_2.png) [@deadpoolcode](https://forum.legato.io/u/deadpoolcode)\
**Post date:** [October 24, 2018, 4:05am UTC](https://forum.legato.io/t/removing-packagese-from-yocto-wp760x/3807/1 "2018-10-24T04:05:25Z")

</div>

hello

I would like to remove currently built packages from the Yocto distro  
in order to do that I tried setting in conf.local the following

IMAGE\_INSTALL\_remove += “python”  
IMAGE\_INSTALL\_remove += “python3-native”  
IMAGE\_INSTALL\_remove += “python-m2crypto-native”  
IMAGE\_INSTALL\_remove += “pathon-native”  
IMAGE\_INSTALL\_remove += “python-setuptools-native”

but I see packages are still included

please advice

---

<div class="post-metadata">

**Author:** ![shib](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shib](https://forum.legato.io/u/shib)\
**Post date:** [October 24, 2018, 6:20am UTC](https://forum.legato.io/t/removing-packagese-from-yocto-wp760x/3807/2 "2018-10-24T06:20:20Z")

</div>

When you use XX\_XX\_remove or XX\_XX\_append, are you meant to use ‘=’ rather than ‘+=’?

See 3.1.9 and 3.1.10 [BitBake User Manual](https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html)

---

<div class="post-metadata">

**Author:** ![deadpoolcode](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/deadpoolcode/32/382_2.png) [@deadpoolcode](https://forum.legato.io/u/deadpoolcode)\
**Post date:** [October 24, 2018, 9:56pm UTC](https://forum.legato.io/t/removing-packagese-from-yocto-wp760x/3807/3 "2018-10-24T21:56:16Z")

</div>

modified to 🙂  
IMAGE\_INSTALL\_remove = “python”  
IMAGE\_INSTALL\_remove = “python3-native”  
IMAGE\_INSTALL\_remove = “python-m2crypto-native”  
IMAGE\_INSTALL\_remove = “pathon-native”  
IMAGE\_INSTALL\_remove = “python-setuptools-native”

but packages are still not removed

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 25, 2018, 1:40am UTC](https://forum.legato.io/t/removing-packagese-from-yocto-wp760x/3807/4 "2018-10-25T01:40:06Z")

</div>

Just an idea: (not tried before)  
How about puting your modification here ?  
./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc

---

<div class="post-metadata">

**Author:** ![psant](https://avatars.discourse-cdn.com/v4/letter/p/ecd19e/32.png) [@psant](https://forum.legato.io/u/psant)\
**Post date:** [December 3, 2018, 6:16am UTC](https://forum.legato.io/t/removing-packagese-from-yocto-wp760x/3807/5 "2018-12-03T06:16:32Z")

</div>

using build\_bin/conf/local.conf can you try with below

IMAGE\_INSTALL\_remove\_pn-mdm9x28-image-minimal = " " ensure that you add a space after the starting double quotes.

hope this works.
