From: Maarten Vanraes <maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: patches
Date: Wed, 14 Jul 2010 02:05:35 +0200 [thread overview]
Message-ID: <201007140205.35944.maarten.vanraes@gmail.com> (raw)
[-- Attachment #1: Type: Text/Plain, Size: 183 bytes --]
Hi,
Here are some patches, some that were used as patches in the mandriva builds,
and a first one from me, to fix nfs hostonly on chrooted installs.
Kind regards,
Maarten Vanraes
[-- Attachment #2: 0001-conffile-before-confdir.patch --]
[-- Type: text/x-patch, Size: 1188 bytes --]
From 25419eb164e842499d391bb396f71ddede9ad0ed Mon Sep 17 00:00:00 2001
From: Andrey Borzenkov <arvidjaar-JGs/UdohzUI@public.gmane.org>
Date: Wed, 14 Jul 2010 01:30:16 +0200
Subject: [PATCH 1/3] conffile before confdir
conffile should be sourced before confdir
Signed-off-by: Maarten Vanraes <maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
dracut | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dracut b/dracut
index 6b590f5..d21736b 100755
--- a/dracut
+++ b/dracut
@@ -130,6 +130,9 @@ if [[ ! -d $confdir ]]; then
[[ $allowlocal ]] && confdir="$dracutbasedir/dracut.conf.d"
fi
+# source our config file
+[[ -f $conffile ]] && . "$conffile"
+
# source our config dir
if [ "$confdir" ] && [ -d "$confdir" ]; then
for f in "$confdir"/*.conf; do
@@ -137,9 +140,6 @@ if [ "$confdir" ] && [ -d "$confdir" ]; then
done
fi
-# source our config file
-[[ -f $conffile ]] && . "$conffile"
-
# these optins add to the stuff in the config file
[[ $add_dracutmodules_l ]] && add_dracutmodules+=" $add_dracutmodules_l"
[[ $add_drivers_l ]] && add_drivers+=" $add_drivers_l"
--
1.6.4.4
[-- Attachment #3: 0002-bootchartd-support.patch --]
[-- Type: text/x-patch, Size: 1425 bytes --]
From 325eac162cb35d76e50633796b086ab3a0dcd475 Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat-4qZELD6FgxhWk0Htik3J/w@public.gmane.org>
Date: Wed, 14 Jul 2010 01:50:55 +0200
Subject: [PATCH 2/3] bootchartd support
add preliminary bootchard support
Signed-off-by: Maarten Vanraes <maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
modules.d/00bootchartd/check | 2 ++
modules.d/00bootchartd/install | 15 +++++++++++++++
2 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 modules.d/00bootchartd/check
create mode 100644 modules.d/00bootchartd/install
diff --git a/modules.d/00bootchartd/check b/modules.d/00bootchartd/check
new file mode 100644
index 0000000..b691465
--- /dev/null
+++ b/modules.d/00bootchartd/check
@@ -0,0 +1,2 @@
+#!/bin/sh
+[ -x /sbin/bootchartd ]
diff --git a/modules.d/00bootchartd/install b/modules.d/00bootchartd/install
new file mode 100644
index 0000000..ff29de0
--- /dev/null
+++ b/modules.d/00bootchartd/install
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+inst /sbin/bootchartd
+inst /bin/bash
+ln -s /init "${initdir}/sbin/init"
+mkdir -p /lib/bootchart/
+inst /lib/bootchart/bootchart-collector
+inst /etc/bootchartd.conf
+inst /sbin/accton
+inst /usr/bin/pkill /bin/pkill
+inst /bin/echo
+inst /bin/grep
+inst /bin/usleep
+inst /usr/bin/[ /bin/[
+mknod -m 0666 "${initdir}/dev/null" c 1 3
--
1.6.4.4
[-- Attachment #4: 0003-fix-hostonly-check.patch --]
[-- Type: text/x-patch, Size: 1045 bytes --]
From 4a364127faed338ac74e169a077373bd28eb3b41 Mon Sep 17 00:00:00 2001
From: Maarten Vanraes <maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Wed, 14 Jul 2010 01:57:19 +0200
Subject: [PATCH 3/3] fix hostonly check
this bugfix fixes chrooted hostonly check by checking fstab instead of
mount
Signed-off-by: Maarten Vanraes <maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
modules.d/95nfs/check | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules.d/95nfs/check b/modules.d/95nfs/check
index f72aaae..3dad486 100755
--- a/modules.d/95nfs/check
+++ b/modules.d/95nfs/check
@@ -4,7 +4,7 @@
# If hostonly was requested, fail the check if we are not actually
# booting from root.
-[ "$1" = "-h" ] && ! egrep -q '/ nfs[34 ]' /proc/mounts && exit 1
+[ "$1" = "-h" ] && ! egrep -q '\s/\s+nfs[34]?\s' /etc/fstab && exit 1
# If our prerequisites are not met, fail anyways.
which rpcbind >/dev/null 2>&1 || which portmap >/dev/null 2>&1 || exit 1
--
1.6.4.4
next reply other threads:[~2010-07-14 0:05 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-14 0:05 Maarten Vanraes [this message]
[not found] ` <201007140205.35944.maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-07-21 11:33 ` patches Harald Hoyer
[not found] ` <4C46DAF1.1090603-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-21 15:18 ` patches Maarten Vanraes
[not found] ` <201007211718.28574.maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-07-26 7:42 ` patches Maarten Vanraes
2010-07-21 11:41 ` patches Harald Hoyer
[not found] ` <4C46DCD0.3020608-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-21 15:03 ` patches Maarten Vanraes
[not found] ` <201007211703.36797.maarten.vanraes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-07-21 15:13 ` patches Harald Hoyer
[not found] ` <4C470EAD.705-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-21 15:20 ` patches Maarten Vanraes
2011-01-08 6:41 ` [PATCH] load dracut.conf.d before dracut.conf (was: Re: patches) Anssi Hannula
[not found] ` <4D280724.8050405-4qZELD6Fgxhg9hUCZPvPmw@public.gmane.org>
2011-02-18 10:15 ` [PATCH] load dracut.conf.d before dracut.conf Harald Hoyer
[not found] ` <4D5E46DC.4020303-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-02-20 17:29 ` Anssi Hannula
[not found] ` <4D614F8D.10505-4qZELD6Fgxhg9hUCZPvPmw@public.gmane.org>
2011-02-25 12:43 ` Harald Hoyer
-- strict thread matches above, loose matches on Subject: below --
2025-04-02 6:43 patches Julia Lawall
2025-04-02 7:00 ` patches Samuel Abraham
2025-04-02 7:22 ` patches Julia Lawall
2025-04-02 7:30 ` patches Samuel Abraham
2025-04-02 7:15 ` patches Erick Karanja
2025-04-02 7:38 ` patches Julia Lawall
2025-03-21 13:35 patches Julia Lawall
[not found] ` <CAK=KnqQ4HmEVjWQZiv2xzVhLEwJMZxtWfKb51XyhVyBQOziYEg@mail.gmail.com>
[not found] ` <7a7648c5-2731-dc20-224-d5bb639b1c58@inria.fr>
[not found] ` <95e69530e3b03f56f4218b8c03a2ca520a0ae6bf.camel@gmail.com>
[not found] ` <8e95cbac-6b5d-f6fa-e0f5-4c4b42321cd2@inria.fr>
[not found] ` <CAK=KnqRsZdAq5FAJo4S0gQbs_PFAm0YrXdBwc-jA7-K1QJhGNg@mail.gmail.com>
[not found] ` <617cbba7-67a6-8ebd-bde8-e5e39a786d2@inria.fr>
[not found] ` <CAK=KnqS_PC-zKp0yjq4SBFicv+j+PYnpAkCRjpjeKb5OXjNeHQ@mail.gmail.com>
[not found] ` <721cf04a-5ef1-1829-54ca-96d07f498422@inria.fr>
[not found] ` <CAK=KnqRnHK=fma-s63ppm=vZEYhe7SWhKSB6H0cb8i69pUW7FA@mail.gmail.com>
[not found] ` <CAK=KnqTbWps0B6B+XgP9gY+Jy8ATJqz0Qb8kPMvyHb0wDkNSKA@mail.gmail.com>
2025-03-25 6:24 ` patches Julia Lawall
2025-03-25 6:27 ` patches erick karanja
2013-06-23 21:57 patches Peter Meerwald
2013-03-07 10:02 Patches Miles Rout
2013-03-07 12:07 ` Patches Daniel Mack
2012-06-14 18:12 Patches Peter Senna Tschudin
2012-06-14 21:27 ` Patches Rodney Baker
2012-06-14 21:43 ` Patches Randy Dunlap
2012-06-15 0:23 ` Patches Peter Senna Tschudin
2012-06-15 11:15 ` Patches Ezequiel Garcia
2012-06-15 16:15 ` Patches Randy Dunlap
2011-10-13 14:58 patches Sascha Hauer
2010-07-26 7:58 patches Maarten Vanraes
2009-10-22 21:39 Patches David Lanzendörfer
2009-10-22 21:44 ` Patches David Lanzendörfer
2009-11-05 19:59 ` Patches Michael 'Mickey' Lauer
2009-11-05 21:33 ` Patches Koen Kooi
2009-11-05 22:09 ` Patches Marcin Juszkiewicz
2009-11-05 22:42 ` Patches Michael 'Mickey' Lauer
2009-11-07 16:30 ` Patches Klaus 'mrmoku' Kurzmann
2009-11-08 12:13 ` Patches Michael 'Mickey' Lauer
2009-10-22 21:35 Patches David Lanzendörfer
2009-11-05 19:55 ` Patches Michael 'Mickey' Lauer
2008-08-08 19:03 Patches Morey Roof
2008-01-23 12:35 Patches Marco Gerards
2008-01-23 13:11 ` Patches Robert Millan
2007-11-26 2:27 patches J. Bruce Fields
2007-04-23 7:05 patches Gerrit Renker
2006-10-20 17:00 patches Michael Labuschke
2006-10-23 4:19 ` patches Neil Brown
2006-09-12 20:47 Patches Thomas Koeller
2006-09-13 12:27 ` Patches Ralf Baechle
2006-09-13 13:02 ` Patches Franck Bui-Huu
2005-09-05 23:24 patches Patrick Mauritz
2005-09-08 2:06 ` patches Junio C Hamano
2005-09-08 10:11 ` patches Patrick Mauritz
2005-09-09 22:25 ` patches Jason Riedy
2004-07-30 1:19 patches David S. Miller
2004-07-30 1:24 ` patches Herbert Xu
2004-07-30 2:20 ` patches David S. Miller
2004-07-30 2:22 ` patches Herbert Xu
2004-07-30 1:26 ` patches Herbert Xu
2004-07-30 2:30 ` patches David S. Miller
2004-05-10 14:46 patches amine.baina
2004-05-10 9:21 Depend on CONFIG_AUDIT? Thomas Bleher
2004-05-10 12:10 ` Stephen Smalley
2004-05-10 14:56 ` patches amine.baina
2004-05-03 16:56 [patch] Add devnull initial SID to policy Stephen Smalley
2004-05-10 14:59 ` patches maxence.bernard
2004-05-10 14:39 ` patches Stephen Smalley
2004-01-19 16:23 patches Peter Gerbrandt
2002-08-30 21:38 Patches Russell King
2001-01-25 6:11 Patches Alan Cox
2001-01-25 10:08 ` Patches David Woodhouse
2001-01-25 14:59 ` Patches Mike A. Harris
2001-01-25 10:23 ` Patches David Woodhouse
2001-01-25 13:31 ` Patches Daniel Phillips
2001-01-25 13:41 ` Patches Chris Wedgwood
2001-01-25 20:22 ` Patches Thunder from the hill
2001-01-26 18:22 ` Patches Marc Mutz
2001-01-29 14:41 ` Patches Thunder from the hill
2001-01-25 13:42 ` Patches Jeff Garzik
2001-01-18 6:34 Patches Alan Cox
2000-07-08 0:17 Patches Ralf Baechle
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=201007140205.35944.maarten.vanraes@gmail.com \
--to=maarten.vanraes-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.