Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353577 - sys-kernel/dracut-008 version bump
Summary: sys-kernel/dracut-008 version bump
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL: http://sourceforge.net/projects/dracu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 01:46 UTC by Lucian Muresan
Modified: 2011-03-28 23:47 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
version bump ebuild with new deps (dracut-008.ebuild,4.79 KB, text/plain)
2011-02-03 01:51 UTC, Lucian Muresan
Details
dracut-008.ebuild (dracut-008.ebuild,5.35 KB, text/plain)
2011-02-26 08:24 UTC, Amadeusz Żołnowski (RETIRED)
Details
dracut-008-dm-udev-rules.patch (dracut-008-dm-udev-rules.patch,2.15 KB, patch)
2011-02-26 08:25 UTC, Amadeusz Żołnowski (RETIRED)
Details | Diff
dracut-008-i18n-config-file-parsing-in-hostonly.patch (dracut-008-i18n-config-file-parsing-in-hostonly.patch,966 bytes, patch)
2011-02-26 08:26 UTC, Amadeusz Żołnowski (RETIRED)
Details | Diff
dracut-008-multipath-udev-rules.patch (dracut-008-multipath-udev-rules.patch,852 bytes, patch)
2011-02-26 08:27 UTC, Amadeusz Żołnowski (RETIRED)
Details | Diff
dracut-008.ebuild (dracut-008.ebuild,5.37 KB, text/plain)
2011-02-26 08:50 UTC, Amadeusz Żołnowski (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucian Muresan 2011-02-03 01:46:09 UTC
Version 008 has just been made available for download

Reproducible: Always
Comment 1 Lucian Muresan 2011-02-03 01:51:52 UTC
Created attachment 261389 [details]
version bump ebuild with new deps

- app-benchmarks/bootchart seems to be no longer supported, but app-benchmarks/bootchart2 for which a bugzilla entry & ebuild already exists: http://bugs.gentoo.org/show_bug.cgi?id=345695;
- added support for sys-boot/plymouth which will soon hit portage as I heared;

Works for me with app-benchmarks/bootchart2-9999 and sys-boot/plymouth-9999 (http://bugs.gentoo.org/show_bug.cgi?id=274065 ) ebuilds which I submitted / updated respectively in the bugtracker
Comment 2 Sebastian Pipping gentoo-dev 2011-02-24 08:06:41 UTC
(In reply to comment #1)
> http://bugs.gentoo.org/show_bug.cgi?id=345695;

you can speak of either bug 345695 or bug #345695 in here - bugzilla will link it for you.


> - added support for sys-boot/plymouth which will soon hit portage as I heared;

sys-boot/plymouth-0.8.3 is in the Gentoo main tree by now.
Comment 3 Sebastian Pipping gentoo-dev 2011-02-24 08:15:23 UTC
(In reply to comment #1)
> - app-benchmarks/bootchart seems to be no longer supported, but
> app-benchmarks/bootchart2

I have looked throw the NEWS file and quick-scanned git commits past 007: I cannot find evidence for a switch to bootchart2.  How do you know?
Comment 4 Sebastian Pipping gentoo-dev 2011-02-24 08:20:44 UTC
Lance,

the genkernel team is currently discussing use of dracut by genkernel. Therefore, we have an interest in playing with dracut-008.  If you have time and will to prioritize this bug higher, that would be welcome.

Thank you!
Comment 5 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-02-24 08:26:59 UTC
(In reply to comment #4)
> Lance,
> 
> the genkernel team is currently discussing use of dracut by genkernel.
> Therefore, we have an interest in playing with dracut-008.  If you have time
> and will to prioritize this bug higher, that would be welcome.

I'm actually working with Lance on this and the delay is mostly my fault. Sorry. There are few issues with this release, as far I reviewed changes and did some tests. I didn't want to just bump without making sure it works fine. I'll try to handle it and fix today evening.
Comment 6 Sebastian Pipping gentoo-dev 2011-02-24 08:34:25 UTC
(In reply to comment #5)
> I'm actually working with Lance on this

Great!


> There are few issues with this release, as far I reviewed changes and
> did some tests.

I'd be interested in details.  If you find time, please write more, either here or at <genkernel@g.o>.


> I didn't want to just bump without making sure it works fine.
> I'll try to handle it and fix today evening.

Awesome!
Comment 7 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-02-25 01:03:48 UTC
It's in progress.

Issue with i18n fixed by latter upstream patch. There are also some issues with busybox module which I'll try to fix or else remove the module for this release.

We need to discuss new USE_EXPAND: DRACUT_MODULES. Lance and me decided to have it instead of regular IUSE.

Problem has arisen with Plymouth which doesn't have ~x86 yet. Have to either test Plymouth on x86 which will take me some time or drop Plymouth module for now and add it in -r1 soon.

And I'm still analyzing changes and testing, but need some break for sleep. ;-)
Comment 8 Xake 2011-02-26 08:18:29 UTC
(In reply to comment #3)
> I have looked throw the NEWS file and quick-scanned git commits past 007: I
> cannot find evidence for a switch to bootchart2.  How do you know?
> 

Actually, 007 already wants bootchart2. If you for example look at /usr/share/dracut/modules.d/00bootchart/install it tries to install /lib/buutchart/bootchart-collector, a binary file provided first by bootchart2.
If you then try "dracut -a bootchart "" `uname -r`", add rdinit=/sbin/bootchartd to the kernelcmd and reboots, the system will start but bootchartd will give a lot of noise in the ramdisk, and no charting will be done.
Comment 9 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-02-26 08:24:33 UTC
Created attachment 263887 [details]
dracut-008.ebuild

- modules controlled by DRACUT_MODULES USE_EXPAND instead of regular IUSE
- removed mount-boot and mkdir of /boot/dracut (warning generated when /boot cannot be mounted is more annoying than useful in this case)
- more death
- removed warning about baselayout-1 (i will have to removed it from previous ebuilds, too)
- removing biosdevname module (i will add this package later)
- removing broken busybox module (i will fix the package later)
- added plymouth (but it drops ~x86 in dracut; i'll setup x86 Gentoo and test plymouth for it)

I'll post for a moment a notice to gentoo-dev about DRACUT_MODULES addition to USE_EXPAND. Will give time to Monday (is this sufficient?) and then commit the ebuild. Until that time I hope I fix problems mentioned above.

Any suggestions to current ebuild are welcome.
Comment 10 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-02-26 08:25:33 UTC
Created attachment 263889 [details, diff]
dracut-008-dm-udev-rules.patch

Gentoo ebuild for LVM2 prior to 2.02.63-r1 doesn't install rules:

  10-dm.rules
  11-dm-lvm.rules
  13-dm-disk.rules
  95-dm-notify.rules

but provides only 64-device-mapper.rules combining more or less the
above rules files.
Comment 11 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-02-26 08:26:39 UTC
Created attachment 263891 [details, diff]
dracut-008-i18n-config-file-parsing-in-hostonly.patch

[patch by upstream] i18n: fixed config file parsing in hostonly mode

I accidently removed some parenthesis.
Comment 12 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-02-26 08:27:21 UTC
Created attachment 263893 [details, diff]
dracut-008-multipath-udev-rules.patch

90multipath: added kpartx.rules; multipath.rules - different prefix
Comment 13 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-02-26 08:50:02 UTC
Created attachment 263895 [details]
dracut-008.ebuild

just small fix; see comment #9
Comment 14 Xake 2011-02-26 09:46:46 UTC
(In reply to comment #9)
> Any suggestions to current ebuild are welcome.
> 

forgot about bug #298014?
Comment 15 Xake 2011-02-27 09:13:07 UTC
(In reply to comment #8)
> Actually, 007 already wants bootchart2.

Took another look at this, and it seems like the bootchart use-flag should be masked or removed for the time being. To be honest, it does not work at all with old bootchart, mostly because its bootscript seems to have no mechanisms to survive the switch_root when it loops in the wait_boot (or what its called in old bootchart) function. bootchart2 handles this by creating its own chroot and just lives there, waiting for the init system to kill it when it is done booting.
Comment 16 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-03-01 10:00:29 UTC
Version bumped. See ChangeLog for more info. Thank you all!

I haven't time to accomplish all goals, but I will and commit improved ebuild as 008-r1. I'm leaving it as NEW until then.
Comment 17 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-03-01 10:05:16 UTC
(In reply to comment #14)
> forgot about bug #298014?

Remember. But that's for later time.
Comment 18 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-03-07 22:51:04 UTC
(In reply to comment #9)
> - removing biosdevname module (i will add this package later)
> - removing broken busybox module (i will fix the package later)

Planned for 008-r2 and possibly 008-r3.

> - added plymouth (but it drops ~x86 in dracut; i'll setup x86 Gentoo and test
> plymouth for it)

Uff, set up x86, tested Plymouth on it and then committed as sys-boot/plymouth-0.8.3-r1 with some additional fixes. Just comitted sys-kernel/dracut-008-r1 comes with plymouth module dependend on >=sys-boot/plymouth-0.8.3-r1.
Comment 19 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-03-28 23:39:08 UTC
(In reply to comment #9)
> - removing biosdevname module (i will add this package later)

Added with 009 release, thus closing the bug.
Comment 20 Amadeusz Żołnowski (RETIRED) gentoo-dev 2011-03-28 23:47:10 UTC
(In reply to comment #9)
> - removing broken busybox module (i will fix the package later)

Busybox module present in Dracut upstream sources doesn't work as expected and it probably won't soon. Busybox needs some special handling.