This is distribution creator editorial choice, not a user choice.
Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
submit-url=http://kojibuild7.jf.intel.com/crash_submit/
#
-# Location for the distribution's build release file
-#
-
-release-info=/etc/os-release
-
-#
# Location to store coredumps after they are processed
#
}
}
}
- c = strstr(line, "release-info");
- if (c) {
- c += 11;
- if (c < line_end) {
- c = strstr(c, "/");
- if (c)
- build_release = strdup(c);
- }
- }
c = strstr(line, "core-folder");
if (c) {
c += 11;
fclose(file);
free(line);
- if (!build_release)
- build_release = strdup("/etc/os-release");
if (!url_count) {
submit_url[url_count] = strdup("http://kojibuild7.jf.intel.com/crash_submit/");
if (!submit_url[url_count])
}
if (!core_folder)
core_folder = strdup("/var/lib/corewatcher/");
+
+ /* Distribution editorial choice, not end-user choice: */
+ build_release = strdup("/etc/os-release");
}