diff --git a/apertis-sample-ostree-uboot.yaml b/apertis-sample-ostree-uboot.yaml
index ea25c4fae8c2e406a81ee8074847480b1eb69c87..f6723e5f79cef99b4ac383401f72aec4298d6525 100644
--- a/apertis-sample-ostree-uboot.yaml
+++ b/apertis-sample-ostree-uboot.yaml
@@ -39,6 +39,11 @@ actions:
       branch: {{ $branch }}
       ostree: {{ $ostree }}
 
+  - action: run
+    description: Reset rootfs before deploying OSTree
+    chroot: false
+    command: find ${ROOTDIR} -maxdepth 1 -mindepth 1 -exec rm -rf {} \;
+
   - action: recipe
     description: Create image {{ $image }} for {{ $suite }} {{ $type }} {{ $architecture }}
     recipe: apertis-ostree-image-uboot.yaml