Patchwork [1/1] systemd: Upgrade to 199

login
register
mail settings
Submitter Erik Botö
Date April 2, 2013, 10:58 a.m.
Message ID <CA+AhUGyzFN2PTZUg5BESHKYdMi7gsj0V2bdJAGCd0rg9147NTQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/47269/
State New
Headers show

Comments

Erik Botö - April 2, 2013, 10:58 a.m.
Hi,

On Thu, Mar 28, 2013 at 8:48 AM, Khem Raj <raj.khem@gmail.com> wrote:
> udevadm is now moved from /usr/bin to /bin so account for that
> bash completions for udevadm should be packages with udev-utils
> since thats where udevadm itself is, they were in systemd package
> which is not correct location for it

It looks like systemd-analyze installs into /usr/bin and therefore
isn't picked up in PACKAGE systemd-analyze. This should fix it:

 RDEPENDS_${PN}-initramfs = "${PN}"

Cheers,
Erik
Khem Raj - April 2, 2013, 2:08 p.m.
Erik

Thanks, Yes this should fix it.


On Apr 2, 2013, at 3:58 AM, Erik Botö <erik.boto@pelagicore.com> wrote:

> Hi,
> 
> On Thu, Mar 28, 2013 at 8:48 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> udevadm is now moved from /usr/bin to /bin so account for that
>> bash completions for udevadm should be packages with udev-utils
>> since thats where udevadm itself is, they were in systemd package
>> which is not correct location for it
> 
> It looks like systemd-analyze installs into /usr/bin and therefore
> isn't picked up in PACKAGE systemd-analyze. This should fix it:
> 
> diff --git a/meta/recipes-core/systemd/systemd_199.bb
> b/meta/recipes-core/systemd/systemd_199.bb
> index ba1d133..f896187 100644
> --- a/meta/recipes-core/systemd/systemd_199.bb
> +++ b/meta/recipes-core/systemd/systemd_199.bb
> @@ -119,7 +119,7 @@ PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup
> ${PN}-initramfs ${PN}-analyze ${PN}-
> USERADD_PACKAGES = "${PN}"
> GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal"
> 
> -FILES_${PN}-analyze = "${base_bindir}/systemd-analyze"
> +FILES_${PN}-analyze = "${bindir}/systemd-analyze"
> 
> FILES_${PN}-initramfs = "/init"
> RDEPENDS_${PN}-initramfs = "${PN}"
> 
> Cheers,
> Erik

Patch

diff --git a/meta/recipes-core/systemd/systemd_199.bb
b/meta/recipes-core/systemd/systemd_199.bb
index ba1d133..f896187 100644
--- a/meta/recipes-core/systemd/systemd_199.bb
+++ b/meta/recipes-core/systemd/systemd_199.bb
@@ -119,7 +119,7 @@  PACKAGES =+ "${PN}-gui ${PN}-vconsole-setup
${PN}-initramfs ${PN}-analyze ${PN}-
 USERADD_PACKAGES = "${PN}"
 GROUPADD_PARAM_${PN} = "-r lock; -r systemd-journal"

-FILES_${PN}-analyze = "${base_bindir}/systemd-analyze"
+FILES_${PN}-analyze = "${bindir}/systemd-analyze"

 FILES_${PN}-initramfs = "/init"