diff options
author | MyoungJune Park <mj2004.park@samsung.com> | 2016-01-04 16:38:02 +0900 |
---|---|---|
committer | MyoungJune Park <mj2004.park@samsung.com> | 2016-01-20 08:50:37 +0900 |
commit | 860690ff657c690d603d0ef6ad3c684e6772cd62 (patch) | |
tree | 02ef52eb55e707daa80bda7549c70659f3502695 /Makefile | |
parent | fbb17af802906791f508040fd8741dc37e3a4e1a (diff) | |
download | dracut-860690ff657c690d603d0ef6ad3c684e6772cd62.tar.gz dracut-860690ff657c690d603d0ef6ad3c684e6772cd62.tar.bz2 dracut-860690ff657c690d603d0ef6ad3c684e6772cd62.zip |
modify ln --relative with cd & lntizen_4.0.m1_releasesubmit/tizen_unified/20170313.032716submit/tizen_common/20160121.091645submit/tizen_4.0/20170828.100005submit/tizen_4.0/20170811.094300submit/tizen_3.0_common/20161104.104000accepted/tizen/unified/20170313.043811accepted/tizen/common/20160121.111232accepted/tizen/4.0/unified/20170828.222225accepted/tizen/4.0/unified/20170816.011254accepted/tizen/3.0/common/20161114.110532tizen_4.0tizen_3.0.m2accepted/tizen_unifiedaccepted/tizen_commonaccepted/tizen_4.0_unifiedaccepted/tizen_3.0_common
Change-Id: Id99f4c30b97aee49a6f0372ad569fa946b79e23f
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -112,7 +112,7 @@ ifneq ($(enable_documentation),no) endif if [ -n "$(systemdsystemunitdir)" ]; then \ mkdir -p $(DESTDIR)$(systemdsystemunitdir); \ - ln -srf $(DESTDIR)$(pkglibdir)/modules.d/98systemd/dracut-shutdown.service $(DESTDIR)$(systemdsystemunitdir)/dracut-shutdown.service; \ + cd $(DESTDIR) && ln -sf ./$(pkglibdir)/modules.d/98systemd/dracut-shutdown.service ./$(systemdsystemunitdir)/dracut-shutdown.service && cd - ; \ mkdir -p $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants; \ ln -s ../dracut-shutdown.service \ $(DESTDIR)$(systemdsystemunitdir)/shutdown.target.wants/dracut-shutdown.service; \ @@ -126,7 +126,7 @@ endif dracut-pre-trigger.service \ dracut-pre-udev.service \ ; do \ - ln -srf $(DESTDIR)$(pkglibdir)/modules.d/98systemd/$$i $(DESTDIR)$(systemdsystemunitdir); \ + cd $(DESTDIR) && ln -sf ./$(pkglibdir)/modules.d/98systemd/$$i ./$(systemdsystemunitdir) && cd -; \ ln -s ../$$i \ $(DESTDIR)$(systemdsystemunitdir)/initrd.target.wants/$$i; \ done \ |