All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rongqing Li <rongqing.li@windriver.com>
To: <rongqing.li@windriver.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] systemd-compat-units: do not create runlevel command
Date: Wed, 4 Sep 2013 15:00:02 +0800	[thread overview]
Message-ID: <5226DA72.8010709@windriver.com> (raw)
In-Reply-To: <c4888f2e74ac1e1a20ea6907d982f208a0bd556d.1378276893.git.rongqing.li@windriver.com>

On 09/04/2013 02:56 PM, rongqing.li@windriver.com wrote:
> From: "Roy.Li" <rongqing.li@windriver.com>
>
> It seems strange that runlevel always returns 1, we should create
> a runlevel link to systemctl if systemd is installed.
>
> Signed-off-by: Roy.Li <rongqing.li@windriver.com>
> ---
>   meta/recipes-core/systemd/systemd-compat-units.bb |    5 -----
>   1 file changed, 5 deletions(-)
>
> diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb b/meta/recipes-core/systemd/systemd-compat-units.bb
> index 9b4a8a4..c47c14b 100644
> --- a/meta/recipes-core/systemd/systemd-compat-units.bb
> +++ b/meta/recipes-core/systemd/systemd-compat-units.bb
> @@ -21,11 +21,6 @@ do_install() {
>   	install -m 0644 ${WORKDIR}/machineid.service ${D}${systemd_unitdir}/system
>   	ln -sf ../machineid.service ${D}${systemd_unitdir}/system/sysinit.target.wants/
>   	ln -sf ../machineid.service ${D}${systemd_unitdir}/system/basic.target.wants/
> -
> -	# hack to make old style sysvinit postinsts succeed
> -	install -d ${D}${bindir}
> -	echo "echo 1" > ${D}${bindir}/runlevel
> -	chmod 0755 ${D}${bindir}/runlevel


In fact, I am not sure what they are fixing, if these codes are still using,
I will think other methods to make runlevel work

-Roy



>   }
>
>   SYSTEMD_DISABLED_SYSV_SERVICES = " \
>

-- 
Best Reagrds,
Roy | RongQing Li


  reply	other threads:[~2013-09-04  7:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04  6:56 [PATCH 0/2] make runlevel to return correct value rongqing.li
2013-09-04  6:56 ` [PATCH 1/2] systemd-compat-units: do not create runlevel command rongqing.li
2013-09-04  7:00   ` Rongqing Li [this message]
2013-09-04  6:56 ` [PATCH 2/2] systemd: link runlevel from systemctl rongqing.li
2013-09-12  0:08 ` [PATCH 0/2] make runlevel to return correct value Rongqing Li
2013-09-12 15:45   ` Saul Wold

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=5226DA72.8010709@windriver.com \
    --to=rongqing.li@windriver.com \
    --cc=openembedded-core@lists.openembedded.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.