David Huff
2009-Jun-18 14:59 UTC
[Ovirt-devel] [PATCH node-image] Keep nls_utf8.ko module on node-image
resolves: rhbz:504741 - nls utf8 kmod missing causes
error messages during firstboot configuration
---
common-blacklist.ks | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/common-blacklist.ks b/common-blacklist.ks
index 48f30a6..eb59014 100644
--- a/common-blacklist.ks
+++ b/common-blacklist.ks
@@ -49,14 +49,16 @@ done
# the following are lists of kernel modules we are pretty sure we won't
need;
# note that these can be single files or whole directories. They are specified
-# starting at $MODULES; so if you want to remove the NLS stuff from the
-# fs subdir, your mods entry would be "fs/nls"
-fs_mods="fs/nls fs/9p fs/affs fs/autofs fs/autofs4 fs/befs fs/bfs fs/cifs
\
+# starting at $MODULES; so if you want to remove the 9p stuff from the
+# fs subdir, your mods entry would be "fs/9p"
+fs_mods="fs/9p fs/affs fs/autofs fs/autofs4 fs/befs fs/bfs fs/cifs \
fs/coda fs/cramfs fs/dlm fs/ecryptfs fs/efs fs/exportfs fs/ext4 \
fs/freevxfs fs/fuse fs/gfs2 fs/hfs fs/hfsplus fs/jbd2 fs/jffs \
fs/jffs2 fs/jfs fs/minix fs/ncpfs fs/ocfs2 fs/qnx4 fs/reiserfs \
fs/romfs fs/sysv fs/udf fs/ufs fs/xfs"
+nls_mods="fs/nls/nls_cp* fs/nls/nls_iso* fs/nls/nls_ko*
fs/nls/nls_euc*"
+
net_mods="net/9p net/appletalk net/atm net/ax25 \
net/bluetooth net/dccp net/decnet net/ieee80211 net/ipx net/irda \
net/mac80211 net/netrom net/rfkill net/rose net/sched net/tipc \
@@ -83,7 +85,7 @@ echo "Removing excess kernel modules"
MODULES="/lib/modules/*/kernel"
RM="rm -rf"
-for mods in $fs_mods $net_mods $misc_mods $driver_mods ; do
+for mods in $fs_mods $nls_mods $net_mods $misc_mods $driver_mods ; do
$RM $MODULES/$mods
done
--
1.6.0.6
Alan Pevec
2009-Jun-18 15:41 UTC
[Ovirt-devel] [PATCH node-image] Keep nls_utf8.ko module on node-image
NAK, common-blacklist should be re-written to use image-minimizer where possible, for this example keep directive is exactly what's needed. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090618/75918ff7/attachment.htm>
Darryl L. Pierce
2009-Jun-18 15:58 UTC
[Ovirt-devel] [PATCH node-image] Keep nls_utf8.ko module on node-image
On Thu, Jun 18, 2009 at 10:59:20AM -0400, David Huff wrote:> resolves: rhbz:504741 - nls utf8 kmod missing causes > error messages during firstboot configuration > ---After building, _installing_ the RPM and then testing, I was able to find the nls_utf8.ko module in the right location. ACK. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Virtual Machine Management - http://www.ovirt.org/ Is fearr Gaeilge bhriste n? B?arla cliste. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20090618/5a5df1d9/attachment.sig>