Go to file
Trent Piepho 71c75a5ea0 system: Fix for NFS booting with interface config via DHCP
Configuring the network interface with DHCP via
/etc/network/interfaces generally does not work when NFS booting.  The
DHCP configuration will initially bring the interface down and system
then hangs at that point as the root filesystem is no longer
accessable.

This adds a script to be run via a pre-up line in
/etc/network/interfaces.  It checks for a NFS root filesystem and if
the interface to be configured is used for access to the NFS server.
If this is the case, then it returns a failure code so that ifup will
not configure the interface.  This works for DHCP and another config
methods (static, bootp, etc.).  This system does detect if the
interface to be configured isn't the one used for NFS and doesn't skip
it when that is the case.

NFS filesystems that aren't the root fs aren't considered.

Fixes bug .

Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-11-18 22:14:56 +01:00
arch arch/arm: VFP and Thumb1 are not compatible 2015-11-03 23:50:01 +01:00
board board: readme.txt for Intel Galileo Gen 1/2 2015-11-18 21:55:38 +01:00
boot barebox: bump to version 2015.11.0 2015-11-12 22:21:22 +01:00
configs board: add support for Intel Galileo Gen 2 2015-11-17 23:24:32 +01:00
docs Update for 2015.11-rc1 2015-11-07 22:43:57 +01:00
fs fs/ext2: add options for extra space and extra inodes 2015-10-31 15:56:56 +01:00
linux linux: bump default version to 4.3 2015-11-02 20:56:43 +01:00
package system: Fix for NFS booting with interface config via DHCP 2015-11-18 22:14:56 +01:00
support Makefile: Remove 'quiet' variable 2015-10-29 00:04:05 +01:00
system readline: install configuration file from package recipe 2015-11-17 22:19:15 +01:00
toolchain toolchain/external: fix gdbserver install with Linaro 2015.08 2015-11-05 23:21:38 +01:00
.defconfig arch: kill avr32 2015-02-14 17:39:50 +01:00
.gitignore
CHANGES Update for 2015.11-rc1 2015-11-07 22:43:57 +01:00
Config.in ccache: support changing the output directory 2015-10-04 18:22:21 +02:00
Config.in.legacy gst1-plugins-bad: update configure options 2015-10-21 23:36:37 +02:00
COPYING
Makefile Kickoff 2016.02 cycle 2015-11-09 21:27:13 +01:00
Makefile.legacy Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG 2014-02-11 08:14:57 +01:00
README README: mention 'make list-defconfigs' 2015-04-04 15:19:43 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.