Files
poky/meta/recipes-devtools/mtools/mtools/disable-hardcoded-configs.patch
Wang Mingyu d685ecf9ef mtools: upgrade 4.0.41 -> 4.0.42
disable-hardcoded-configs.patch
refreshed for new version.

Changelog:
==========
- Added postcmd attribute in drive description to allow to
  execute "device release" code automatically at end of
  command
- Code cleanup (unneeded functions, initializations, added
  comments to unobvious code, obsolete stuff in Makefile)
- signedness cleanup about directory entries

(From OE-Core rev: 7e7abbe7743f16e0524c9a1d6990fb304f648a56)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-07 14:32:42 +00:00

33 lines
971 B
Diff

From 2ef9b371a5cc44e730143e694d71665831fac216 Mon Sep 17 00:00:00 2001
From: Ed Bartosh <ed.bartosh@linux.intel.com>
Date: Tue, 13 Jun 2017 14:55:52 +0300
Subject: [PATCH] Disabled reading host configs.
Upstream-Status: Inappropriate [native]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
config.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/config.c b/config.c
index 2f6a297..3181ed7 100644
--- a/config.c
+++ b/config.c
@@ -844,14 +844,6 @@ void read_config(void)
memcpy(devices, const_devices,
nr_const_devices*sizeof(struct device));
- (void) ((parse(CONF_FILE,1) |
- parse(LOCAL_CONF_FILE,1) |
- parse(SYS_CONF_FILE,1)) ||
- (parse(OLD_CONF_FILE,1) |
- parse(OLD_LOCAL_CONF_FILE,1)));
- /* the old-name configuration files only get executed if none of the
- * new-name config files were used */
-
homedir = get_homedir();
if ( homedir ){
strncpy(conf_file, homedir, MAXPATHLEN );