# How to update the rootfs on WP76

**URL:** <https://mangoh.discourse.group/t/how-to-update-the-rootfs-on-wp76/1361>\
**Category:** Build your own\
**Created:** [April 25, 2018, 3:08pm UTC](https://mangoh.discourse.group/t/how-to-update-the-rootfs-on-wp76/1361 "2018-04-25T15:08:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Souhail](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@Souhail](https://mangoh.discourse.group/u/Souhail)\
**Post date:** [April 25, 2018, 3:08pm UTC](https://mangoh.discourse.group/t/how-to-update-the-rootfs-on-wp76/1361/1 "2018-04-25T15:08:31Z")

</div>

Hello,

I want to update the rootfs after building a yocto image that contains personalized script at init.d and rcS.d. Does any one have an idea how to update bith the kernel with the rootfs. Knowing that I tried with the fastboot but this command doesn’t work with the WP7607.

---

<div class="post-metadata">

**Author:** ![virpadte](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/virpadte/32/245_2.png) [@virpadte](https://mangoh.discourse.group/u/virpadte)\
**Post date:** [July 30, 2018, 9:30pm UTC](https://mangoh.discourse.group/t/how-to-update-the-rootfs-on-wp76/1361/2 "2018-07-30T21:30:38Z")

</div>

I am trying to do the same thing for the mangOH red platform. Can someone help on how to add a custom script to run it on boot?

---

<div class="post-metadata">

**Author:** ![alex1](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@alex1](https://mangoh.discourse.group/u/alex1)\
**Post date:** [August 6, 2018, 11:53am UTC](https://mangoh.discourse.group/t/how-to-update-the-rootfs-on-wp76/1361/3 "2018-08-06T11:53:50Z")

</div>

Hello,

Some say we should add our own layer and put our script in the layer in order to insert it in the image.

This could help  
[https://community.nxp.com/docs/DOC-331917](https://community.nxp.com/docs/DOC-331917)  
[https://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#creating-a-general-layer-using-the-bitbake-layers-script](https://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#creating-a-general-layer-using-the-bitbake-layers-script)
