From bee6ed83c3ce506bda616f734bc0f13f279a3fe9 Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Thu, 6 Nov 2014 06:43:42 +0100 Subject: [LIBREPORT PATCH] problem_data: make ks.cfg file editable Otherwise the GUI will not highlight the forbidden words in that file. Related to #1041558 Signed-off-by: Jakub Filak --- src/include/internal_libreport.h | 4 ++++ src/lib/problem_data.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h index f9670b0..4bce4ba 100644 --- a/src/include/internal_libreport.h +++ b/src/include/internal_libreport.h @@ -903,6 +903,10 @@ struct dump_dir *open_directory_for_writing( #define FILENAME_ABRT_VERSION "abrt_version" #define FILENAME_EXPLOITABLE "exploitable" +/* File names related to Anaconda problems + */ +#define FILENAME_KICKSTART_CFG "ks.cfg" + // Not stored as files, added "on the fly": #define CD_DUMPDIR "Directory" diff --git a/src/lib/problem_data.c b/src/lib/problem_data.c index 18d9541..777afa7 100644 --- a/src/lib/problem_data.c +++ b/src/lib/problem_data.c @@ -261,6 +261,7 @@ static const char *const editable_files[] = { //FILENAME_COUNT , //FILENAME_REPORTED_TO, //FILENAME_EVENT_LOG , + FILENAME_KICKSTART_CFG, NULL }; static bool is_editable_file(const char *file_name) -- 1.8.3.1