Add rotate support if the space is full

delete the first existing file if the space is not enough

Tested:
1. create dump and make the space is not enough
busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create CreateDump a{sv} 0
busctl tree xyz.openbmc_project.Dump.Manager                                                                        `-/xyz
  `-/xyz/openbmc_project
    `-/xyz/openbmc_project/dump
      |-/xyz/openbmc_project/dump/bmc
      | `-/xyz/openbmc_project/dump/bmc/entry
      |   |-/xyz/openbmc_project/dump/bmc/entry/10
      |   |-/xyz/openbmc_project/dump/bmc/entry/6
      |   |-/xyz/openbmc_project/dump/bmc/entry/7
      |   |-/xyz/openbmc_project/dump/bmc/entry/8
      |   `-/xyz/openbmc_project/dump/bmc/entry/9
      `-/xyz/openbmc_project/dump/internal
        `-/xyz/openbmc_project/dump/internal/manager

2. create dump again and the the first existing file will be deleted

Signed-off-by: Xie Ning <xiening.xll@bytedance.com>
Change-Id: Ic3b376d7e6512a264f849de760363f4e167421c7
diff --git a/meson_options.txt b/meson_options.txt
index cef17e4..0fe8e95 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -85,6 +85,11 @@
         description : 'Enable Open Power specific dumps'
       )
 
+option('dump_rotate_config', type: 'feature',
+        value : 'disabled',
+        description : 'Enable rotate config for bmc dump'
+      )
+
 # Fault log options
 
 option('FAULTLOG_DUMP_PATH', type : 'string',