mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 23:37:45 +00:00
rootfs-builder: remove /var/log
/var/log is not required in the rootfs fixes #254 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user