mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Seewer Philippe <philippe.seewer-omB+W0Dpw2o@public.gmane.org>
To: Jon Ander Hernandez <jonan.h-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Debian/Ubuntu patches
Date: Tue, 9 Nov 2010 10:11:07 +0100	[thread overview]
Message-ID: <4CD9102B.7030702@bfh.ch> (raw)
In-Reply-To: <AANLkTikEPsCQzMSJbhwuO95Br+7aYJPw9zbVRd4Y8vOC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi Jon,

On 11/08/2010 07:50 PM, Jon Ander Hernandez wrote:
> Hello,
>
> I post the patches as I promised :-)

I repeat Maximilian's comment: Please post patches inline.

>
> - When a new kernel is installed or uninstalled dracut based initramfs
> is not automatically created/deleted. Ubuntu's kernel package's post
> script executes update-initramfs directly, and the update-initramfs
> trigger is never fired.
> Another solution is to install a postinst and a postrm script under
> /etc/kernel/{postrm.d,prerm.d}.
>
> http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/Src/dracut/debian_kernel_prerm_postinst.diff

>
>
> - Postinst script can be executed when installing first time dracut,
> or when we are upgrading Dracut. Check if it should create a new
> initramfs or if it should upgrade it.
>
> http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/Src/dracut/debian_postinst.diff
>
>
> - Add xsltproc and docbook-xsl as dependencies to the source package,
> since they are required for building the man files.
>
> http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/Src/dracut/debian_control.diff
>
>
> - Create the man files when building the package.
>
> http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/Src/dracut/debian_rules.diff

Personal comment on the debian/* stuff: It's horribly outdated. Due do 
workload and private reasons I haven't been able to work on them for 
months.

As for these patches, they look sensible. But question: have you tried 
them on debian testing/unstable?

> - rpc.idmapd requires rpc_pipefs to be mounted. On Fedora when the
> sunrpc module is loaded, modprobe mounts the rpc_pipefs, while this is
> not the case on Debian/Ubuntu.
>
> http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/Src/dracut/nfsroot_mount_rpc_pipefs.diff

Good one! Please post inline patch.

> I imagine that these should be version specific patches :
>
> - Ubuntu Maverick ships dhclient 3, which doesn't support the "-4" flag.
>
> http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/Src/dracut/debian_fix_dhclient_3.diff
This is a debian/ubuntu specific fix and should not go in just like 
that. We need a version check to decide if -[46] can be passed or not, 
since newer version of dhclient should be supplied with it.

>
> - Ubuntu's Maverick arping seems to be broken (a least for me).
>
> http://kestrelhpc.svn.sourceforge.net/viewvc/kestrelhpc/Kestrelhpc/Src/dracut/debian_fix_remove_arping.diff

We need iputils-arping and not the standard arping. Mind checking if you 
are using the correct package?

Thanks && Regards,
Philippe

  parent reply	other threads:[~2010-11-09  9:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-08 18:50 Debian/Ubuntu patches Jon Ander Hernandez
     [not found] ` <AANLkTikEPsCQzMSJbhwuO95Br+7aYJPw9zbVRd4Y8vOC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-08 21:27   ` maximilian attems
2010-11-09  9:11   ` Seewer Philippe [this message]
     [not found]     ` <4CD9102B.7030702-omB+W0Dpw2o@public.gmane.org>
2010-11-09 11:11       ` Jon Ander Hernandez
     [not found]         ` <AANLkTi=EkL7ivKKj6ck3w6RuOOq++cGwtP_pX0HHhVWu-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-09 12:58           ` maximilian attems
     [not found]             ` <AANLkTinfZNiQ14XD3OAC8WasnGXi6bcD9WJipvKS0f1S@mail.gmail.com>
     [not found]               ` <AANLkTinfZNiQ14XD3OAC8WasnGXi6bcD9WJipvKS0f1S-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-09 14:00                 ` maximilian attems
     [not found]                   ` <20101109140028.GP19612-VJknIhvjf2Ov8OlOgJ4AIV6hYfS7NtTn@public.gmane.org>
2010-11-10 16:21                     ` Jon Ander Hernandez
     [not found]                       ` <AANLkTi=Mc4qBA7yhExb2VCCGyMNCXq+k9BZ=JhZpN4GE-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-10 16:32                         ` maximilian attems
     [not found]             ` <20101109125820.GO19612-VJknIhvjf2Ov8OlOgJ4AIV6hYfS7NtTn@public.gmane.org>
2010-11-09 13:53               ` Jon Ander Hernandez
2010-11-09 13:56               ` Jon Ander Hernandez
2010-11-09 22:13               ` Jon Ander Hernandez
     [not found]                 ` <AANLkTimfYTDFkUgk3x0ry6Z1Q_COYyij5CKMs_50t9MK-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-10 19:44                   ` Jon Ander Hernandez
     [not found]                     ` <AANLkTikGCZofdYvX78vw+Rj_XmKyY1FmVcp_NT=_B_fF-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-10 19:58                       ` maximilian attems
     [not found]                         ` <20101110195826.GA8486-VJknIhvjf2Ov8OlOgJ4AIV6hYfS7NtTn@public.gmane.org>
2010-11-10 21:18                           ` Jon Ander Hernandez
     [not found]                             ` <AANLkTi=MCfaK5K-ZV3gvrFCzezJdjAMf-WY_VgM64dHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-11 20:30                               ` maximilian attems
     [not found]                                 ` <20101111203031.GB3336-U9r9yeDMy7A@public.gmane.org>
2010-11-12 20:54                                   ` Jon Ander Hernandez
2010-11-09 11:19       ` Jon Ander Hernandez
     [not found]         ` <AANLkTi=N9QZZ0tKzBab78kuZ=X7nOThC5DKpss40XBze-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-09 12:07           ` Seewer Philippe

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=4CD9102B.7030702@bfh.ch \
    --to=philippe.seewer-omb+w0dpw2o@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=jonan.h-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox