diff options
Diffstat (limited to 'helper/ext2initrd.c')
-rw-r--r-- | helper/ext2initrd.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/helper/ext2initrd.c b/helper/ext2initrd.c index 3d765ca..17af3bd 100644 --- a/helper/ext2initrd.c +++ b/helper/ext2initrd.c @@ -155,15 +155,6 @@ ext2_make_initrd (const char *modpath, const char *initrd) free (cmd); free_module_deps (); - /* Copy in insmod static binary. */ - cmd = xasprintf ("cp %s %s", INSMODSTATIC, dir); - if (verbose >= 2) fprintf (stderr, "%s\n", cmd); - r = system (cmd); - if (r == -1 || WEXITSTATUS (r) != 0) - error (EXIT_FAILURE, 0, - "ext2_make_initrd: copy %s failed", INSMODSTATIC); - free (cmd); - /* Copy in the init program, linked into this program as a data blob. */ char *init = xasprintf ("%s/init", dir); int fd = open (init, O_WRONLY|O_TRUNC|O_CREAT|O_NOCTTY, 0755); |