Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Tanu Kaskinen <tanuk@iki.fi>
To: Maciej Borzecki <maciej.borzecki@open-rnd.pl>,
	 openembedded-core@lists.openembedded.org,
	Enrico Jorns <ejo@pengutronix.de>,
	 Roy Li <rongqing.li@windriver.com>,
	Khem Raj <raj.khem@gmail.com>,
	Christopher Larson <chris_larson@mentor.com>,
	Ross Burton <ross.burton@intel.com>
Cc: Maciek Borzecki <maciek.borzecki@gmail.com>
Subject: Re: [PATCH 1/6] systemd: move bash completion into separate package
Date: Mon, 08 Feb 2016 12:20:49 +0200	[thread overview]
Message-ID: <1454926849.4283.6.camel@iki.fi> (raw)
In-Reply-To: <1454926183-22439-2-git-send-email-maciej.borzecki@open-rnd.pl>

On Mon, 2016-02-08 at 11:09 +0100, Maciej Borzecki wrote:
> Add systemd-bash package that ships bash completion files
> 
> Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
> ---
>  meta/recipes-core/systemd/systemd_228.bb | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-core/systemd/systemd_228.bb b/meta/recipes-core/systemd/systemd_228.bb
> index a110f0cdeaac7e46b5691a89aea237974e4114b3..8e3cb6047588b286df728ff28423e469d0b0745d 100644
> --- a/meta/recipes-core/systemd/systemd_228.bb
> +++ b/meta/recipes-core/systemd/systemd_228.bb
> @@ -238,7 +238,7 @@ python populate_packages_prepend (){
>  PACKAGES_DYNAMIC += "^lib(udev|systemd).*"
>  
>  PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup ${PN}-initramfs ${PN}-analyze ${PN}-kernel-install \
> -             ${PN}-rpm-macros ${PN}-binfmt ${PN}-pam ${PN}-zsh ${PN}-xorg-xinitrc"
> +             ${PN}-rpm-macros ${PN}-binfmt ${PN}-pam ${PN}-bash ${PN}-zsh ${PN}-xorg-xinitrc"
>  
>  SYSTEMD_PACKAGES = "${PN}-binfmt"
>  SYSTEMD_SERVICE_${PN}-binfmt = "systemd-binfmt.service"
> @@ -271,6 +271,11 @@ FILES_${PN}-rpm-macros = "${exec_prefix}/lib/rpm \
>  
>  FILES_${PN}-xorg-xinitrc = "${sysconfdir}/X11/xinit/xinitrc.d/*"
>  
> +FILES_${PN}-bash = " \
> +                    ${datadir}/bash-completion \
> +                    ${sysconfdir}/bash_completion.d/ \
> +                    "

Note that we have the bash-completion class. It can be used to take
care of packaging the bash completion files. It doesn't take files from
sysconfdir, though. Does systemd really install bash completion files
under sysconfdir, or is that just unnecessary cruft originating from
older systemd versions?

-- 
Tanu


  reply	other threads:[~2016-02-08 10:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 10:09 [PATCH 0/6] systemd cleanup & package split Maciej Borzecki
2016-02-08 10:09 ` [PATCH 1/6] systemd: move bash completion into separate package Maciej Borzecki
2016-02-08 10:20   ` Tanu Kaskinen [this message]
2016-02-08 10:33     ` Maciek Borzecki
2016-02-08 10:09 ` [PATCH 2/6] systemd: realign packages list Maciej Borzecki
2016-02-08 10:09 ` [PATCH 3/6] systemd: extend PACKAGECONFIG flags Maciej Borzecki
2016-02-08 10:21   ` Andreas Müller
2016-02-08 10:44     ` Maciek Borzecki
2016-02-08 11:07       ` Andreas Müller
2016-02-08 11:10         ` Maciek Borzecki
2016-02-08 10:09 ` [PATCH 4/6] systemd: use sysusers for setting up required users/groups Maciej Borzecki
2016-02-08 10:09 ` [PATCH 5/6] systemd: move some tools into systemd-extra-utils package Maciej Borzecki
2016-02-08 10:09 ` [PATCH 6/6] systemd: remove unnecessary code Maciej Borzecki
2016-02-09 14:56   ` Randy MacLeod
2016-02-09 15:19   ` Khem Raj
2016-02-09 15:50     ` Maciek Borzecki

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=1454926849.4283.6.camel@iki.fi \
    --to=tanuk@iki.fi \
    --cc=chris_larson@mentor.com \
    --cc=ejo@pengutronix.de \
    --cc=maciej.borzecki@open-rnd.pl \
    --cc=maciek.borzecki@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    --cc=rongqing.li@windriver.com \
    --cc=ross.burton@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox