Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Add the cms module when building the initrd (#782146) (http://www.linux-archive.org/debian-user/658194-add-cms-module-when-building-initrd-782146-a.html)

Jesse Keating 04-20-2012 11:26 PM

Add the cms module when building the initrd (#782146)
 
This is useful for s390 systems and doesn't run on other systems.
---
src/pylorax/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py
index ef0a1c0..2bd0215 100644
--- a/src/pylorax/__init__.py
+++ b/src/pylorax/__init__.py
@@ -249,7 +249,7 @@ class Lorax(BaseLoraxClass):

logger.info("rebuilding initramfs images")
dracut_args=["--xz", "--add", "anaconda", "--omit", "plymouth",
- "--install", "/.buildstamp"]
+ "--add", "cms", "--install", "/.buildstamp"]
treebuilder.rebuild_initrds(add_args=dracut_args)

logger.info("populating output tree and building boot images")
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Will Woods 04-23-2012 03:34 PM

Add the cms module when building the initrd (#782146)
 
On Fri, 2012-04-20 at 19:26 -0400, Jesse Keating wrote:
> This is useful for s390 systems and doesn't run on other systems.

NAK; I think if anaconda startup requires other dracut modules, the
anaconda-dracut module should reflect that. I'd add "cms" to the list
emitted by the "depends()" function in dracut/module-setup.sh instead.

-w

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 12:38 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.