Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 550204
Collapse All | Expand All

(-)install/util.h (+3 lines)
Lines 20-25 Link Here
20
  along with systemd; If not, see <http://www.gnu.org/licenses/>.
20
  along with systemd; If not, see <http://www.gnu.org/licenses/>.
21
***/
21
***/
22
22
23
#define _GNU_SOURCE
24
23
#include <inttypes.h>
25
#include <inttypes.h>
24
#include <time.h>
26
#include <time.h>
25
#include <sys/time.h>
27
#include <sys/time.h>
Lines 27-32 Link Here
27
#include <stdbool.h>
29
#include <stdbool.h>
28
#include <stdlib.h>
30
#include <stdlib.h>
29
#include <stdio.h>
31
#include <stdio.h>
32
#include <string.h>
30
#include <signal.h>
33
#include <signal.h>
31
#include <sched.h>
34
#include <sched.h>
32
#include <limits.h>
35
#include <limits.h>
(-)install/dracut-install.c.orig (-1 / +6 lines)
Lines 222-228 static int cp(const char *src, const cha Link Here
222
                if (ret == 0) {
222
                if (ret == 0) {
223
                        struct timeval tv[2];
223
                        struct timeval tv[2];
224
                        if (fchown(dest_desc, sb.st_uid, sb.st_gid) != 0)
224
                        if (fchown(dest_desc, sb.st_uid, sb.st_gid) != 0)
225
                                if(fchown(dest_desc, (__uid_t) - 1, sb.st_gid) != 0)
225
                                if(fchown(dest_desc, (uid_t) - 1, sb.st_gid) != 0)
226
                                    log_error("Failed to chown %s: %m", dst);
226
                                    log_error("Failed to chown %s: %m", dst);
227
                        tv[0].tv_sec = sb.st_atime;
227
                        tv[0].tv_sec = sb.st_atime;
228
                        tv[0].tv_usec = 0;
228
                        tv[0].tv_usec = 0;
Lines 388-393 static int resolve_deps(const char *src) Link Here
388
                        break;
388
                        break;
389
                }
389
                }
390
390
391
		/* musl ldd */
392
		if (strstr(buf, "Not a valid dynamic program"))
393
			break;
394
395
		/* glibc */
391
                if (strstr(buf, "not a dynamic executable"))
396
                if (strstr(buf, "not a dynamic executable"))
392
                        break;
397
                        break;
393
398

Return to bug 550204