[node-patches] Change in ovirt-node[master]: edit-node: Add isofs kernel module
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Fri Aug 30 12:35:42 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: edit-node: Add isofs kernel module
......................................................................
edit-node: Add isofs kernel module
Lately the isofs got extracted into a kmod, this now needs to be added
to the initramfs.
Additionally we need to reove isofs from the blacklisting to make it
available inside of the image - where dracut is generating the new
initramfs.
Change-Id: Ibc3d244c4594885a3a907f51a4ec580baad19b8c
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M recipe/common-minimizer.ks
M tools/edit-node
2 files changed, 5 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/21/18721/1
diff --git a/recipe/common-minimizer.ks b/recipe/common-minimizer.ks
index ff6b3db..6b64936 100644
--- a/recipe/common-minimizer.ks
+++ b/recipe/common-minimizer.ks
@@ -56,6 +56,7 @@
keep /lib/modules/*/kernel/fs/nls/nls_utf8.ko
keep /lib/modules/*/kernel/fs/configfs/configfs.ko
keep /lib/modules/*/kernel/fs/fuse
+keep /lib/modules/*/kernel/fs/isofs
# autofs4 configfs exportfs *fat *jbd mbcache.ko nls xfs
#*btrfs cramfs *ext2 *fscache *jbd2 *nfs squashfs
# cachefiles dlm *ext3 fuse jffs2 *nfs_common ubifs
diff --git a/tools/edit-node b/tools/edit-node
index a307436..84f177c 100755
--- a/tools/edit-node
+++ b/tools/edit-node
@@ -1354,10 +1354,13 @@
f.close()
def _rebuild_initramfs(self):
+ print("Creating initramfs")
# ensure dmsquash-live dracut module is included
d_conf = "%s/etc/dracut.conf" % self._instroot
dracut_conf = open(d_conf, "a")
- dracut_conf.write('add_dracutmodules+="dmsquash-live"')
+ dracut_conf.write('add_dracutmodules+="dmsquash-live"\n')
+ # ensure that isofs is included - needed to boot from a LiveCD
+ dracut_conf.write('add_drivers+="isofs"\n')
dracut_conf.close()
cmd = "rpm -q kernel"
f = subprocess.Popen(cmd, shell=True, stdout=PIPE, stderr=STDOUT,
--
To view, visit http://gerrit.ovirt.org/18721
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc3d244c4594885a3a907f51a4ec580baad19b8c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list