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

[Patch] Network booting failed due to /conf/parm.conf not read



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Daniel,
Live-boot 3.0~a38 fails to do PXE booting due to the output file
/conf/param.conf of function "Select_eth_device" is not read. Therefore
"${DEVICE}" is empty in function "do_netsetup".
Attached please find the patch for live-boot-3.0~a38-1.
My 2 cents.

Steven.

- -- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAd0AsACgkQCLPj15didVoJKgCePXPpqns6GuqRs1Ul0OsL41H7
GnYAn2yqKeNadPTLX+Y9IZT4pY6FbIGG
=G3sN
-----END PGP SIGNATURE-----

--- 9990-main.sh.orig	2012-07-25 23:26:49.000000000 +0800
+++ 9990-main.sh.new	2012-08-05 09:19:13.000000000 +0800
@@ -26,6 +26,10 @@
 	Read_only
 
 	Select_eth_device
+	if [ -e /conf/param.conf ]
+	then
+		. /conf/param.conf
+	fi
 
 	# Needed here too because some things (*cough* udev *cough*)
 	# changes the timeout

Reply to: