[PATCH rhel6-branch master] Include /etc/netconfig in the initrd for NFS (#557704).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This file is required to make sure NFS works when it attempts to fall back
to protocol v3.  The mount command looks for it when mounting as v4 fails.
---
 scripts/mk-images    |    1 +
 scripts/upd-instroot |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 011621d..846e16e 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -663,6 +663,7 @@ makeinitrd() {
     install -m 644 $MYLANGTABLE $MBD_DIR/etc/lang-table
     install -m 644 $IMGPATH/etc/passwd $MBD_DIR/etc/passwd
     install -m 644 $IMGPATH/etc/group $MBD_DIR/etc/group
+    install -m 644 $IMGPATH/etc/netconfig $MBD_DIR/etc/netconfig
     install -m 644 $IMGPATH/etc/nsswitch.conf $MBD_DIR/etc/nsswitch.conf
     install -m 644 $IMGPATH/etc/hosts $MBD_DIR/etc/hosts
     mkdir -p $MBD_DIR/usr/lib/locale
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index e0c0615..4dda623 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -176,7 +176,7 @@ PACKAGES="GConf2 NetworkManager ORBit2 acl anaconda
     libbonobo libcurl libfontenc libidn libgcc
     libglade2 libgnomecanvas libgcrypt libgpg-error libjpeg libnl
     libpng libselinux libselinux-python libsemanage
-    libsemanage-python libsepol libssh2 libstdc++ libthai libuser
+    libsemanage-python libsepol libssh2 libstdc++ libthai libtirpc libuser
     libuser-python libvolume_id libxcb libxkbfile libxml2 lklug-fonts 
     lohit-assamese-fonts lohit-bengali-fonts lohit-gujarati-fonts lohit-hindi-fonts
     lohit-kashmiri-fonts lohit-kannada-fonts lohit-maithili-fonts lohit-marathi-fonts
@@ -367,6 +367,7 @@ etc/imrc
 etc/iscsid.conf
 etc/man.config
 etc/mke2fs.conf
+etc/netconfig
 etc/nsswitch.conf
 etc/pam.d/other
 etc/pam.d/sshd
-- 
1.6.5.1

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux