From: zhang_cy1989 <zhang_cy1989@163.com>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: How to change the soft link in target.requires or target.wants directory
Date: Thu, 26 Dec 2019 15:17:02 +0800 (CST) [thread overview]
Message-ID: <13ed3524.9c60.16f4110e044.Coremail.zhang_cy1989@163.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 862 bytes --]
Dear All
The target.requires or target.wants contains some soft link.
Ex:
/lib/systemd/system/obmc-host-startmin@0.target.requires
lrwxrwxrwx 1 root root 31 Nov 29 2019 obmc-chassis-poweron@0.target -> ../obmc-chassis-poweron@.target
lrwxrwxrwx 1 root root 25 Nov 28 09:51 op-occ-enable@0.service -> ../op-occ-enable@.service
lrwxrwxrwx 1 root root 22 Nov 28 09:57 start_host@0.service -> ../start_host@.service
Now, I want to add or delete soft link:op-occ-enable@0.service
I can use "rm -rf ./op-occ-enable@0.service" to achieve the goal.
But,I'm not exactly sure this is formal operation. And I'm afraid this will be side effect.
Are there other tools or formal methods to do this?
Best regards
Felix
[-- Attachment #2: Type: text/html, Size: 2222 bytes --]
next reply other threads:[~2019-12-26 7:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-26 7:17 zhang_cy1989 [this message]
2019-12-26 7:36 ` How to change the soft link in target.requires or target.wants directory Lei YU
2019-12-26 7:46 ` CS20 CHLi30
2019-12-26 8:38 ` zhang_cy1989
2019-12-26 8:53 ` CS20 CHLi30
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13ed3524.9c60.16f4110e044.Coremail.zhang_cy1989@163.com \
--to=zhang_cy1989@163.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.