emmc-log: Remove latest journal to fit run log

Use --vacuum-files to remove the oldest journal file until there are
enough space for the run logs... instead of vacuum by size.

Tested:
```
root@dddfz27-nfd01:~# /usr/bin/emmc_logging.sh
Didn't detect eMMC log network enable flag. Start persistent eMMC log and then exit.
Stop rsyslog before migrating to eMMC to make sure we don't send out logs during transition
Warning: Stopping rsyslog.service, but it can still be activated by:
  syslog.socket

# For Testing only
Setting max to 90MB

Vacuuming done, freed 0B of archived journals from /mnt/luks-mmcblk0_fs/logs.
Deleted archived journal /mnt/luks-mmcblk0_fs/logs/7485042ce69d4253991f117bd4cc2875/system@e064ed7512cf42779f13b691a3c2aa10-00000000000a9f26-00061150bb5e66d9.journal (15.8M).
Vacuuming done, freed 15.8M of archived journals from /mnt/luks-mmcblk0_fs/logs/7485042ce69d4253991f117bd4cc2875.


Flushing journal logs to eMMC
Journald is now logging to eMMC
```

Google-Bug-Id: 299976757
Change-Id: Ia1c96fb3f05790fc23e624c0b43c9271791d28a0
Signed-off-by: Willy Tu <wltu@google.com>
1 file changed
tree: 80e94460245de4afe053a478a814b600a0059668
  1. conf/
  2. dynamic-layers/
  3. recipes-bsp/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-devtools/
  7. recipes-extended/
  8. recipes-google/
  9. recipes-kernel/
  10. recipes-phosphor/
  11. recipes-tpm1/
  12. LICENSE
  13. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.