diff --git a/LFS/lfs.xsl b/LFS/lfs.xsl index f223fd7..1131de6 100644 --- a/LFS/lfs.xsl +++ b/LFS/lfs.xsl @@ -311,6 +311,12 @@ rm -fv $PKG_DEST/sbin/nologin done [ -d $PKG_DEST/lib64 ] && [ -z "$(ls $PKG_DEST/lib64)" ] && rmdir -v $PKG_DEST/lib64 + +rm -rf $PKG_DEST/var/{run,lock} + +[ -d $PKG_DEST/var ] && [ -z "$(ls $PKG_DEST/var)" ] && rmdir -v $PKG_DEST/var PREV_SEC=${SECONDS} packInstall SECONDS=${PREV_SEC}