Go to file
Marko Ratkaj 73c745f64f functions.sh: fix default_postinst function
When we run "opkg install" on a package that installs an uci-defaults
script, functions.sh will fail to evaluate that script in its
default_postinst function.

This happens because there is no "./" present and it searches for the
file in paths specified by the PATH variable. This would work on bash,
but it will not work on ash and some other shells like sh, zsh. This
applys to the ". filename" directive used in this case.

This patch will make the path relative to the /etc/uci-defaults
directory.

Fixes: FS#1021

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-11-08 23:18:22 +01:00
.github github: include pull request template 2017-03-12 17:38:31 +01:00
config mpc85xx: Enable initramfs for p1020 subtarget 2017-10-14 01:19:35 +02:00
include build: fix module symbol collection if build_dir is a symlink 2017-11-07 22:58:46 +01:00
package functions.sh: fix default_postinst function 2017-11-08 23:18:22 +01:00
scripts scripts/config: add qconf files to .gitignore 2017-11-02 15:58:45 +01:00
target generic: make mtdsplit-tplink.c honor rootfs offset 2017-11-08 23:18:22 +01:00
toolchain gcc: remove support for libgcj/java 2017-11-02 15:58:45 +01:00
tools tools/firmware-utils: mktplinkfw* fix rootfs offset 2017-11-08 23:18:22 +01: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: add /overlay 2017-01-15 18:16:29 +01:00
BSDmakefile add missing copyright header 2007-02-26 01:05:09 +00:00
Config.in branding: add LEDE branding 2016-03-24 22:40:13 +01:00
LICENSE finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00
Makefile build: prepare config.seed before package compilation 2017-03-18 12:08:04 +01:00
README README: Update project README 2016-05-12 03:29:36 +02:00
feeds.conf.default Add video feed to feeds.conf.default 2017-01-25 16:04:39 +01:00
rules.mk rukes.mk: this patch broken grub2 builds 2017-09-01 10:17:22 +02:00

README

This is the buildsystem for the LEDE Linux distribution.

Please use "make menuconfig" to choose your preferred
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl, make,
find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.

Run "./scripts/feeds update -a" to get all the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install -a" to install symlinks of all of them 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.

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 LEDE Community
	http://www.lede-project.org