This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins or for reporting issues. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git. All issues should be reported at: https://bugs.openwrt.org
 
 
 
 
 
 
Go to file
Jo-Philipp Wich 6e419fbdeb Fix extroot by UUID
Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

SVN-Revision: 32567
2012-07-01 11:06:32 +00:00
docs kamikaze has been released long ago 2011-02-11 14:04:00 +00:00
include toolchain: fix up lib64 symlink to lib before copying the initial prefix dir to avoid errors on copying 2012-06-30 21:43:59 +00:00
package Fix extroot by UUID 2012-07-01 11:06:32 +00:00
scripts scripts/feeds: redirect stderr of the which call to /dev/null to avoid potentially confusing error messages on some systems 2012-06-25 00:27:03 +00:00
target fix watchdog and rng drivers section mismatch (#11767) 2012-06-29 09:07:54 +00:00
toolchain uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam 2012-06-30 21:44:09 +00:00
tools tools: sdcc depends on bison 2012-06-29 00:32:43 +00:00
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 2012-05-08 13:30:49 +00:00
.gitignore .gitignore: Ignore Emacs editor generated files 2011-10-31 09:37:59 +00:00
BSDmakefile add missing copyright header 2007-02-26 01:05:09 +00:00
Config.in config: tag parallel build options with high build breakage probability with a BROKEN dependency to discourage users from spamming us with tickets about them 2012-06-30 21:44:12 +00:00
LICENSE finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00
Makefile abort built in prereq target if there is no site config file for the current target 2012-01-19 12:19:28 +00:00
README trying to make README file a bit more helpful 2012-01-21 01:15:24 +00:00
feeds.conf.default Add xorg feed to feeds.conf.default 2011-11-16 16:05:23 +00:00
rules.mk add and export HOSTCC_NOCACHE 2012-06-20 07:48:47 +00:00

README

This is the buildsystem for the OpenWrt Linux distribution.

Please use "make menuconfig" to configure your appreciated
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, patch, bzip2, flex,
make, gettext, pkg-config, unzip, libz-dev and libc headers.

Run "./scripts/feeds update" to get the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install" to install symlinks into "package/feeds/*".

Use "make menuconfig" to configure your image.

Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

You can use "scripts/flashing/flash.sh" for remotely updating your embedded
system via tftp.

The OpenWrt system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type "make -C docs/" to build it.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.


Sunshine!
	Your OpenWrt Project
	http://openwrt.org