Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From fea8c4634469784c16211e2597411c18c72dfa4a Mon Sep 17 00:00:00 2001 |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 2 | From: Changqing Li <changqing.li@windriver.com> |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 3 | Date: Thu, 5 Mar 2020 14:36:14 +0800 |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 4 | Subject: [PATCH] xfsdump: support usrmerge |
| 5 | |
| 6 | Upstream-Status: Inappropriate [oe-specific] |
| 7 | |
| 8 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 9 | --- |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | dump/Makefile | 6 +----- |
| 11 | restore/Makefile | 6 +----- |
| 12 | 2 files changed, 2 insertions(+), 10 deletions(-) |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 13 | |
| 14 | diff --git a/dump/Makefile b/dump/Makefile |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | index 66f00d3..cc2d973 100644 |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 16 | --- a/dump/Makefile |
| 17 | +++ b/dump/Makefile |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 18 | @@ -97,12 +97,8 @@ default: depend $(LTCOMMAND) |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 19 | include $(BUILDRULES) |
| 20 | |
| 21 | install: default |
| 22 | - $(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR) |
| 23 | - $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR) |
| 24 | $(INSTALL) -m 755 -d $(PKG_SBIN_DIR) |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 25 | - # skip symlink when /sbin is alread symlinked to /usr/sbin, like on Fedora |
| 26 | - test $(PKG_ROOT_SBIN_DIR) -ef $(PKG_SBIN_DIR) || \ |
| 27 | - $(INSTALL) -S $(PKG_ROOT_SBIN_DIR)/$(LTCOMMAND) $(PKG_SBIN_DIR)/$(LTCOMMAND) |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 28 | + $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR) |
| 29 | install-dev: |
| 30 | |
| 31 | .dep: $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON) |
| 32 | diff --git a/restore/Makefile b/restore/Makefile |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 33 | index ac3f8c8..3c46394 100644 |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 34 | --- a/restore/Makefile |
| 35 | +++ b/restore/Makefile |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 36 | @@ -111,12 +111,8 @@ default: depend $(LTCOMMAND) |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 37 | include $(BUILDRULES) |
| 38 | |
| 39 | install: default |
| 40 | - $(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR) |
| 41 | - $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR) |
| 42 | $(INSTALL) -m 755 -d $(PKG_SBIN_DIR) |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 43 | - # skip symlink when /sbin is alread symlinked to /usr/sbin, like on Fedora |
| 44 | - test $(PKG_ROOT_SBIN_DIR) -ef $(PKG_SBIN_DIR) || \ |
| 45 | - $(INSTALL) -S $(PKG_ROOT_SBIN_DIR)/$(LTCOMMAND) $(PKG_SBIN_DIR)/$(LTCOMMAND) |
Brad Bishop | c1d3433 | 2019-09-09 14:56:00 -0400 | [diff] [blame] | 46 | + $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR) |
| 47 | install-dev: |
| 48 | |
| 49 | .dep: $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON) |
| 50 | -- |
| 51 | 2.7.4 |
| 52 | |