Do not delete /usr/lib/kernel

Add /lib/kernel as the files to skip in addition to /lib/modules as
these are managed by clear-boot-manager.

Fixes #313

Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com>
This commit is contained in:
Icarus Sparry
2017-10-10 15:34:46 -07:00
committed by Matthew Johnson
parent fa58142f7a
commit ebd0840090
+1
View File
@@ -57,6 +57,7 @@ static struct fileskip {
int len;
} skip_dirs[] =
{ { shortname : "/lib/modules" },
{ shortname : "/lib/kernel" },
{ shortname : "/local" } };
static int path_prefix_len;