diff --git a/rootfs-builder/rootfs.sh b/rootfs-builder/rootfs.sh index c8f5f6bdb..b5d2587a1 100755 --- a/rootfs-builder/rootfs.sh +++ b/rootfs-builder/rootfs.sh @@ -379,7 +379,7 @@ fi build_rootfs ${ROOTFS_DIR} pushd "${ROOTFS_DIR}" >> /dev/null if [ "$PWD" != "/" ] ; then - rm -rf ./var/cache/ ./var/lib + rm -rf ./var/cache/ ./var/lib ./var/log fi popd >> /dev/null