From 8e71bb045ade2b04ce845cc357326ab21a1d8af1 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Fri, 6 Jul 2012 00:17:32 -0400 Subject: [PATCH] don't use --prefix with dracut anymore systemd in F18 doesn't work with --prefix anymore, so drop it. (patch from haraldh - thanks Harald!) --- src/pylorax/treebuilder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pylorax/treebuilder.py b/src/pylorax/treebuilder.py index 10b18c70..64ef3b92 100644 --- a/src/pylorax/treebuilder.py +++ b/src/pylorax/treebuilder.py @@ -195,8 +195,7 @@ class TreeBuilder(object): '''Rebuild all the initrds in the tree. If backup is specified, each initrd will be renamed with backup as a suffix before rebuilding. If backup is empty, the existing initrd files will be overwritten.''' - dracut = ["dracut", "--prefix=/run/initramfs", - "--nomdadmconf", "--nolvmconf"] + add_args + dracut = ["dracut", "--nomdadmconf", "--nolvmconf"] + add_args if not backup: dracut.append("--force")