Commit Graph

22 Commits

Author SHA1 Message Date
jow 878af3117f BB: ubox: fix segmentation fault in insmod
Fix segfault in kmodloader insmod mode due to uninitialized module
directory list.

Apply the required fix as patch for now since we don't have the
ulog infrastructure in BB (yet) required for the git head of ubox.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-26 21:29:57 +00:00
jow 11fa76da82 BB: fstools: fix build with enabled ubifs extroot support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r44538

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 18:55:39 +00:00
jow 8d49c6d438 BB: fstools: cumulative backport
- Adds support for /dev/vd* virtual io
- Adds support for overlayfs v23
- Fixes overlayfs mount on 3.18
- Make the block tool ignore case when comparing uuid strings
- Fixes sysupgrade on linux 3.18
- Support extroot/ubi
- Allows using UBIFS volume as overlay and adds support for Btrfs
- Fix exit code of uci-defaults script
- Support external overlays on non-MTD systems again
- Account for new directory structure of overlayfs partitions (additional upper/ component)
- Support executing block from either overlay or rom
- Support loading fstab from either overlay or rom
- Log extroot failures to dmesg

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42812, r42890, r43090, r43368, r43480, r43485, r43717, r43868, r44180, r44535

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 17:43:00 +00:00
jow dfcbb3563e BB: ubox: kmodloader: support loading kmods from multiple directories
This is required during early boot in the extroot setup phase to support
loading kmods from the overlay that depend on kmods on the rom partition.

The subsequent mount_root updates will use the LD_LIBRARY_PATH env
variable to pass kmod directories to kmodloader.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42813, r44533

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-25 17:42:49 +00:00
jow edefd1ad42 BB: build: improve feed handling for opkg.conf
- Consider not installed feeds as well
 - Add option to decide whether to comment disabled feeds

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42931

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-13 11:59:16 +00:00
blogic 43067a7e80 ca-certificates: update to 20141019
update to version 20141019 and
create symbolic link for certificate hashes during installation

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:01:44 +00:00
nbd 038578cac7 procd: fix initial nand sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42884

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:51:35 +00:00
nbd 0273133e34 procd: fix parsing of the has_env parameter
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42883

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-12 15:51:33 +00:00
nbd 12854c65c3 ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42594

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 11:34:40 +00:00
blogic 355a78db56 ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:35:15 +00:00
blogic bfaaa74a45 procd: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:35:09 +00:00
blogic b1e0084f76 fs-tools: dont use mips16
this causes problems on 47xx/74k

Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r42570

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 18:35:03 +00:00
nbd f4de40a189 procd: allow adding empty strings to arrays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42456

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 12:57:07 +00:00
nbd 3d2eefd4cb mtd: disable trx_check() for ar71xx, fixes a regression introduced in r42403
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42405

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 21:06:59 +00:00
nbd 955146573b mtd: Fix trx check after partition rename ("linux" to "firmware")
On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system.

I found that mtd does trx size checking only when flashing to a partition called "linux". This patch changes this to be "firmware".

This matches the following patch which changed partition name in bcm47xxpart.c driver to "firmware":

commit 86b4d5ef68ca77ff6724ebb9bddd6b93239c87fc
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date:   Sun Dec 1 16:32:32 2013 +0000

    brcm47xx: use "firmware" partition name
    ...
    Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

    Backport of r38973

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

Backport of r42403

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 17:14:24 +00:00
blogic cb8f6fa0b4 package/*: remove useless explicit set of function returncode
somebody started to set a function returncode in the validation
stuff and everybody copies it, e.g.

myfunction()
{
	fire_command

	return $?
}

a function automatically returns with the last returncode,
so we can safely remove the command 'return $?'. reference:

http://tldp.org/LDP/abs/html/exit-status.html
"The last command executed in the function or script determines the exit status."

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

Backport of r42278

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:54 +00:00
blogic d911822880 build: add new option to add disabled feeds commented out to opkg.conf
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42004

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 18:18:49 +00:00
blogic 25d149c3f0 build: introduce per feed repository support
This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r42002

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 18:18:47 +00:00
blogic 3c9fbc6e05 procd: update to the latest version, fixes parsing of /etc/openwrt_release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41891

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:39 +00:00
blogic 89e81e4f5c procd: work around some docker architecture quirks
Backport of r41867

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:33 +00:00
nbd ef4f31c01a procd: check output of "uci show" instead of raw config files in order to track uncommitted changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r41865

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 02:20:19 +00:00
nbd e345c9a277 create branch for barrier breaker (from trunk r41863)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 23:18:57 +00:00