Displaying 4 results from an estimated 4 matches for "cpio_mkdir".
2003 May 22
0
[PATCH 2.5.69 3/3] Bandaids for gen_init_cpio and initramfs
...pad();
return;
-
+
error_free:
free(filebuf);
error_close:
@@ -212,9 +212,29 @@
int main (int argc, char *argv[])
{
+ struct stat st;
+ char *objdir;
+ char *kinit;
+
+ if (argc != 2) {
+ fprintf(stderr, "usage: %s objdir\n", argv[0]);
+ exit(1);
+ }
+
+ objdir = argv[1];
+
cpio_mkdir("/dev", 0700, 0, 0);
cpio_mknod("/dev/console", 0600, 0, 0, 'c', 5, 1);
+ cpio_mkdir("/proc", 0700, 0, 0);
cpio_mkdir("/root", 0700, 0, 0);
+ cpio_mkdir("/sys", 0700, 0, 0);
+ cpio_mkdir("/sbin", 0700, 0, 0);
+ if (asprintf(&am...
2014 May 08
2
compile error about 6.0.2
...ad/cpio.c:42: error: ?datalen? undeclared (first use in this function)
/mlsyslinux/com32/libupload/cpio.c:49: error: too many arguments to function ?write_data?
/mlsyslinux/com32/libupload/cpio.c:50: error: too many arguments to function ?write_data?
/mlsyslinux/com32/libupload/cpio.c: In function ?cpio_mkdir?:
/mlsyslinux/com32/libupload/cpio.c:57: error: too many arguments to function ?cpio_hdr?
/mlsyslinux/com32/libupload/cpio.c: At top level:
/mlsyslinux/com32/libupload/cpio.c:61: error: expected declaration specifiers or ?...? before ?size_t?
/mlsyslinux/com32/libupload/cpio.c: In function ?cpio_wr...
2014 May 08
0
compile error about 6.0.2
...rror: ?datalen? undeclared (first
use in this function)
> /mlsyslinux/com32/libupload/cpio.c:49: error: too many arguments to
function ?write_data?
> /mlsyslinux/com32/libupload/cpio.c:50: error: too many arguments to
function ?write_data?
> /mlsyslinux/com32/libupload/cpio.c: In function ?cpio_mkdir?:
> /mlsyslinux/com32/libupload/cpio.c:57: error: too many arguments to
function ?cpio_hdr?
> /mlsyslinux/com32/libupload/cpio.c: At top level:
> /mlsyslinux/com32/libupload/cpio.c:61: error: expected declaration
specifiers or ?...? before ?size_t?
> /mlsyslinux/com32/libupload/cpio.c:...
2014 May 12
2
compile error about 6.0.2
...rror: ?datalen? undeclared (first use in this function)
> /mlsyslinux/com32/libupload/cpio.c:49: error: too many arguments to function ?write_data?
> /mlsyslinux/com32/libupload/cpio.c:50: error: too many arguments to function ?write_data?
> /mlsyslinux/com32/libupload/cpio.c: In function ?cpio_mkdir?:
> /mlsyslinux/com32/libupload/cpio.c:57: error: too many arguments to function ?cpio_hdr?
> /mlsyslinux/com32/libupload/cpio.c: At top level:
> /mlsyslinux/com32/libupload/cpio.c:61: error: expected declaration specifiers or ?...? before ?size_t?
> /mlsyslinux/com32/libupload/cpio.c:...