Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 615898

Summary: =sys-kernel/dracut-045 version bump
Product: Gentoo Linux Reporter: Manuel Rüger (RETIRED) <mrueg>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal CC: aidecoe, alexander, floppym, fturco, poncho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/dracutdevs/dracut/blob/master/NEWS
Whiteboard:
Package list:
Runtime testing required: ---

Description Manuel Rüger (RETIRED) gentoo-dev 2017-04-17 21:55:41 UTC
Please add it to the repository
Comment 1 Mike Gilbert gentoo-dev 2017-06-24 13:01:19 UTC
I have an ebuild in my personal overlay. I also put some work into cleaning it the ebuild code.

https://bitbucket.org/floppym/floppym-overlay

Unless there is an objection, I would like to add myself to maintainers and move it to the gentoo repo.
Comment 2 Patrick McLean gentoo-dev 2017-06-28 17:43:57 UTC
Sure, go ahead and add yourself as maintainer and bump the ebuild, I haven't had much time to poke around with dracut lately (bumping this has been on my to do list for awhile).

Looking at the ebuild in the overlay, I have a couple of things I noticed.

One thing we should do for the 045 bump is allow usage of the new openrc pid 1 support so perhaps >=sys-apps/openrc-0.27 could be added to the || with init 
systems.

It looks like the systemd-related modules are now installed unconditionally, I am not sure that this is what we want, we don't want a bunch of warnings on systems without systemd.
Comment 3 Mike Gilbert gentoo-dev 2017-06-28 18:17:03 UTC
> It looks like the systemd-related modules are now installed unconditionally, I am not sure that this is what we want, we don't want a bunch of warnings on systems without systemd.

dracut is really designed to do feature detection at runtime. I don't expect any "warnings", but I can test it on an OpenRC container to verify.
Comment 4 Mike Gilbert gentoo-dev 2017-07-02 20:33:47 UTC
> One thing we should do for the 045 bump is allow usage of the new openrc pid 1 support so perhaps >=sys-apps/openrc-0.27 could be added to the || with init 
systems.

I'm not sure why dracut would need special support for that. It's just another init value that may be set on the kernel command line.
Comment 5 Mike Gilbert gentoo-dev 2017-07-02 23:12:32 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90bb5611b5aa9279ff3b0d4f5c25240bf4b0f9db

commit 90bb5611b5aa9279ff3b0d4f5c25240bf4b0f9db
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Jul 2 19:06:08 2017 -0400

    sys-kernel/dracut: bump to 045
    
    - Clean up ebuild code in general
    - Remove unnecessary version setting
    - Simplify gentoo.conf config file
    - Depend on >=sys-apps/kmod-15 for libkmod
    - Stop removing systemd and other modules
    - Drop systemd USE flag
    - Depend on sys-apps/coreutils[xattr] (bug 613516)
    
    Bug: https://bugs.gentoo.org/615898
    Bug: https://bugs.gentoo.org/613516
    Package-Manager: Portage-2.3.6_p9, Repoman-2.3.2_p77

 sys-kernel/dracut/Manifest                         |   1 +
 .../{dracut-044-r3.ebuild => dracut-045.ebuild}    | 130 ++++-----------------
 2 files changed, 24 insertions(+), 107 deletions(-)