From fb13e26a4992fe49ff7818a9d67e0580920b1e22 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Thu, 17 Mar 2022 10:59:26 -0500 Subject: [PATCH] rootfs: ensure /var/lib/rsyslog exists Since Git does not track empty directories, the `/var/lib/rsyslog` directory was not included in the overlay hierarchy, and thus missing from the final rootfs image. The directory needs to have a file within it in order to be tracked. Buildroot automatically skips copying files named `.keep` from the overlay, presumably for this reason. --- rootfs/overlay/var/lib/rsyslog/.keep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 rootfs/overlay/var/lib/rsyslog/.keep diff --git a/rootfs/overlay/var/lib/rsyslog/.keep b/rootfs/overlay/var/lib/rsyslog/.keep new file mode 100644 index 0000000..e69de29