wok-next diff module-init-tools/stuff/patches/depmod.u @ rev 21111

gdbm: split to "libpkg - pkg - pkg-dev"; fix some symlinks
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 11 14:45:46 2019 +0200 (2019-01-11)
parents 71c7aacfbbb2
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/module-init-tools/stuff/patches/depmod.u	Fri Jan 11 14:45:46 2019 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +--- module-init-tools-3.10/depmod.c
     1.5 ++++ module-init-tools-3.10/depmod.c
     1.6 +@@ -439,16 +439,16 @@
     1.7 + {
     1.8 + 	struct module *i;
     1.9 + 
    1.10 ++	(void) dirname; /* force full path for busybox modprobe */
    1.11 + 	for (i = modules; i; i = i->next) {
    1.12 + 		struct list_head *j, *tmp;
    1.13 + 		order_dep_list(i, i);
    1.14 + 
    1.15 +-		fprintf(out, "%s:", compress_path(i->pathname, dirname));
    1.16 ++		fprintf(out, "%s:", i->pathname);
    1.17 + 		list_for_each_safe(j, tmp, &i->dep_list) {
    1.18 + 			struct module *dep
    1.19 + 				= list_entry(j, struct module, dep_list);
    1.20 +-			fprintf(out, " %s",
    1.21 +-			        compress_path(dep->pathname, dirname));
    1.22 ++			fprintf(out, " %s", dep->pathname);
    1.23 + 			list_del_init(j);
    1.24 + 		}
    1.25 + 		fprintf(out, "\n");