Since the ext2-based appliance is cached, and since it is not
all loaded into memory (as with the initrd), we might as well
put all the kernel modules in there.
Note the kmod.whitelist.in file is still used for building the
ordinary appliance.
snprintf (cmd, len,
"febootstrap-supermin-helper%s "
"-f checksum "
- "-k '%s/kmod.whitelist' "
"'%s/supermin.d' "
host_cpu,
g->verbose ? " --verbose" : "",
- supermin_path,
supermin_path);
if (g->verbose)
argv[i++] = "--verbose";
argv[i++] = "-f";
argv[i++] = "ext2";
- argv[i++] = "-k";
- char whitelist[pathlen + 32];
- snprintf (whitelist, pathlen + 32, "%s/kmod.whitelist", supermin_path);
- argv[i++] = whitelist;
char supermin_d[pathlen + 32];
snprintf (supermin_d, pathlen + 32, "%s/supermin.d", supermin_path);
argv[i++] = supermin_d;