summaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-02-13 10:20:36 -0800
committerAaron Plattner <aplattner@nvidia.com>2008-02-13 10:20:36 -0800
commitb581a5923ce164af5c8cd5634f4cba4fd098f711 (patch)
tree3a0295cdd4fa9bcdd7e1ce6308834d552fe66402 /log.c
parentf048a99526c5bad39bef29d414635ad3a5b53371 (diff)
1.0-66291.0-6629
Diffstat (limited to 'log.c')
-rw-r--r--log.c45
1 files changed, 43 insertions, 2 deletions
diff --git a/log.c b/log.c
index 84d8ef6..96a29e9 100644
--- a/log.c
+++ b/log.c
@@ -48,6 +48,15 @@ static FILE *log_file_stream;
#define STRSTR(x) ((x) ? (x) : "(not specified)")
+#define TLSSTR(x) ({ \
+ const char *__tls_str = NULL; \
+ switch (x) { \
+ case FORCE_CLASSIC_TLS: __tls_str = "classic"; break; \
+ case FORCE_NEW_TLS: __tls_str = "elf-tls"; break; \
+ default: __tls_str = "(not specified)"; \
+ } \
+ __tls_str; \
+})
/*
* log_init() - if logging is enabled, initialize the log file; if
@@ -105,14 +114,44 @@ void log_init(Options *op)
BOOLSTR(op->no_questions));
log_printf(op, TRUE, NULL, " silent : %s",
BOOLSTR(op->silent));
+ log_printf(op, TRUE, NULL, " no backup : %s",
+ BOOLSTR(op->no_backup));
+ log_printf(op, TRUE, NULL, " kernel module only : %s",
+ BOOLSTR(op->kernel_module_only));
+ log_printf(op, TRUE, NULL, " sanity : %s",
+ BOOLSTR(op->sanity));
+ log_printf(op, TRUE, NULL, " add this kernel : %s",
+ BOOLSTR(op->add_this_kernel));
+ log_printf(op, TRUE, NULL, " no runlevel check : %s",
+ BOOLSTR(op->no_runlevel_check));
+ log_printf(op, TRUE, NULL, " no network : %s",
+ BOOLSTR(op->no_network));
+ log_printf(op, TRUE, NULL, " no ABI note : %s",
+ BOOLSTR(op->no_abi_note));
+ log_printf(op, TRUE, NULL, " no RPMs : %s",
+ BOOLSTR(op->no_rpms));
+ log_printf(op, TRUE, NULL, " force tls : %s",
+ TLSSTR(op->which_tls));
+ log_printf(op, TRUE, NULL, " force compat32 tls : %s",
+ TLSSTR(op->which_tls_compat32));
log_printf(op, TRUE, NULL, " X install prefix : %s",
STRSTR(op->xfree86_prefix));
log_printf(op, TRUE, NULL, " OpenGL install prefix : %s",
STRSTR(op->opengl_prefix));
- log_printf(op, TRUE, NULL, " Installer install prefix: %s",
+ log_printf(op, TRUE, NULL, " compat32 install prefix : %s",
+ STRSTR(op->compat32_prefix));
+ log_printf(op, TRUE, NULL, " installer install prefix: %s",
STRSTR(op->installer_prefix));
+ log_printf(op, TRUE, NULL, " utility install prefix : %s",
+ STRSTR(op->utility_prefix));
+ log_printf(op, TRUE, NULL, " kernel name : %s",
+ STRSTR(op->kernel_name));
+ log_printf(op, TRUE, NULL, " kernel include path : %s",
+ STRSTR(op->kernel_include_path));
log_printf(op, TRUE, NULL, " kernel source path : %s",
STRSTR(op->kernel_source_path));
+ log_printf(op, TRUE, NULL, " kernel output path : %s",
+ STRSTR(op->kernel_output_path));
log_printf(op, TRUE, NULL, " kernel install path : %s",
STRSTR(op->kernel_module_installation_path));
log_printf(op, TRUE, NULL, " proc mount point : %s",
@@ -121,8 +160,10 @@ void log_init(Options *op)
STRSTR(op->ui_str));
log_printf(op, TRUE, NULL, " tmpdir : %s",
STRSTR(op->tmpdir));
- log_printf(op, TRUE, NULL, " ftp site : %s",
+ log_printf(op, TRUE, NULL, " ftp mirror : %s",
STRSTR(op->ftp_site));
+ log_printf(op, TRUE, NULL, " RPM file list : %s",
+ STRSTR(op->rpm_file_list));
log_printf(op, TRUE, NULL, "");