pacman-6.0.0-nogpg-relative_conf.patch
changeset 115 b027d8e5b14e
parent 113 d986e1935daf
child 120 02e37d9e96a9
equal deleted inserted replaced
114:9def1a3011ed 115:b027d8e5b14e
     1 diff -ruN pacman-6.0.0.orig/lib/libalpm/util.c pacman-6.0.0/lib/libalpm/util.c
     1 diff -ruN pacman-6.0.0.orig/lib/libalpm/util.c pacman-6.0.0/lib/libalpm/util.c
     2 --- pacman-6.0.0.orig/lib/libalpm/util.c	2021-05-20 03:38:45.948119900 +0000
     2 --- pacman-6.0.0.orig/lib/libalpm/util.c	2021-05-20 03:38:45.948119900 +0000
     3 +++ pacman-6.0.0/lib/libalpm/util.c	2021-08-26 17:26:09.719703392 +0000
     3 +++ pacman-6.0.0/lib/libalpm/util.c	2021-08-26 17:26:09.719703392 +0000
     4 @@ -652,6 +652,11 @@
     4 @@ -652,6 +652,12 @@
     5  		/* use fprintf instead of _alpm_log to send output through the parent */
     5  		/* use fprintf instead of _alpm_log to send output through the parent */
     6  		if(chroot(handle->root) != 0) {
     6  		if(chroot(handle->root) != 0) {
     7  			fprintf(stderr, _("could not change the root directory (%s)\n"), strerror(errno));
     7  			fprintf(stderr, _("could not change the root directory (%s)\n"), strerror(errno));
     8 +			fprintf(stderr, "cmd : %s", cmd);
     8 +			fprintf(stderr, "cmd : %s", cmd);
     9 +			for(int i=0; argv[i]; i++){
     9 +			for(int i=0; argv[i]; i++){
    10 +				fprintf(stderr, " %s", argv[i]);
    10 +				fprintf(stderr, " %s", argv[i]);
    11 +			}
    11 +			}
    12 +			fprintf(stderr, "\n");
    12 +			fprintf(stderr, "\n");
       
    13 +			return 0; //be happy
    13  			exit(1);
    14  			exit(1);
    14  		}
    15  		}
    15  		if(chdir("/") != 0) {
    16  		if(chdir("/") != 0) {
    16 diff -ruN pacman-6.0.0.orig/src/pacman/conf.c pacman-6.0.0/src/pacman/conf.c
    17 diff -ruN pacman-6.0.0.orig/src/pacman/conf.c pacman-6.0.0/src/pacman/conf.c
    17 --- pacman-6.0.0.orig/src/pacman/conf.c	2021-05-20 03:38:45.964786500 +0000
    18 --- pacman-6.0.0.orig/src/pacman/conf.c	2021-05-20 03:38:45.964786500 +0000