From f567df1043b845749f9db83cbca43c46ff80fe61 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 29 Dec 2014 13:44:52 +0100 Subject: do not create directory '.' in archive This has been changes in mkinitcpio, so we do it the same. https://projects.archlinux.org/mkinitcpio.git/commit/?id=514d5f1fa641b0bfc66d43f4c0c7e7830f747899 --- bin/ykfde-cpio.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bin/ykfde-cpio.c b/bin/ykfde-cpio.c index 71a39db..ca6f61b 100644 --- a/bin/ykfde-cpio.c +++ b/bin/ykfde-cpio.c @@ -96,11 +96,6 @@ int main(int argc, const char **argv) { goto out10; } - if ((rc = add_dir(archive, ".")) < 0) { - fprintf(stderr, "add_dir() failed"); - goto out10; - } - while (1) { path = strdup(CHALLENGEDIR + 1); if (strstr(path + pathlength, "/") == NULL) -- cgit v1.2.3-54-g00ecf