]> wimlib.net Git - wimlib/blobdiff - programs/imagex.c
Expose symlink exclusions through WIMLIB_PROGRESS_MSG_SCAN_DENTRY messages
[wimlib] / programs / imagex.c
index 5f2bd7b59c1bd141524ce39905435398859296a2..142d809163af8ea019bd22fee93a41ddc3056099 100644 (file)
@@ -1159,6 +1159,14 @@ imagex_progress_func(enum wimlib_progress_msg msg,
                        imagex_printf(T("\nWARNING: Excluding unsupported file or directory\n"
                                        "         \"%"TS"\" from capture\n"), info->scan.cur_path);
                        break;
                        imagex_printf(T("\nWARNING: Excluding unsupported file or directory\n"
                                        "         \"%"TS"\" from capture\n"), info->scan.cur_path);
                        break;
+               case WIMLIB_SCAN_DENTRY_EXCLUDED_SYMLINK:
+                       imagex_printf(T("\nWARNING: Ignoring absolute symbolic link "
+                                       "with out-of-tree target:\n"
+                                       "           \"%"TS"\" => \"%"TS"\"\n"
+                                       "           (Use --norpfix to capture "
+                                       "absolute symbolic links as-is)\n"),
+                                       info->scan.cur_path, info->scan.symlink_target);
+                       break;
                }
                break;
        case WIMLIB_PROGRESS_MSG_SCAN_END:
                }
                break;
        case WIMLIB_PROGRESS_MSG_SCAN_END: