aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files/nand.sh
Commit message (Collapse)AuthorAgeFilesLines
* procd: add helper for starting NAND sysupgradeJohn Crispin2015-04-091-0/+9
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45339
* procd: fix typo in nand.sh s/TRX/TAR/Rafał Miłecki2014-11-281-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43423
* procd: fix/clean some conditions in nand.shJohn Crispin2014-11-241-5/+7
| | | | | | | | | | | 1) nand_upgrade_tar: use a simpler condition that matches if () { } logic and fix check of $kernel_length variable 2) nand_do_upgrade_stage2: use case, otherwise one could believe we always call nand_upgrade_tar Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43373
* procd: document nand.sh a bitJohn Crispin2014-11-241-0/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43372
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-141-2/+2
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
* procd: fix initial nand sysupgradeFelix Fietkau2014-10-121-0/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42884
* procd: fix parsing of the has_env parameterFelix Fietkau2014-10-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42883
* allow overriding the kernel partition's nameImre Kaloz2014-07-141-2/+5
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41646
* we already have a get_magic_long() in common.sh for sysupgrade, don't break itImre Kaloz2014-07-131-2/+2
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41628
* procd: correctly identify ubifs in tar fileJohn Crispin2014-07-101-2/+2
| | | | | | | | | | | A missing path prevents the rootfs type contained in a SysupgradeNAND tar file from being determined correctly. This fixes it, and also corrects a minor spelling mistake. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 41564
* procd: fix nand.sh kernel_length typoJohn Crispin2014-06-241-2/+2
| | | | | | | | | | sysupgrade otherwise skips kernel part on devices which got kernel in ubi due to kern_length being undefined, kernel_length is being used instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41327
* procd: various improvements to nand.shJohn Crispin2014-06-191-7/+33
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41278
* procd: some cleanup for SysupgradeNANDJohn Crispin2014-06-171-6/+3
| | | | | | | | | | Removed unused ubi file file from template as ubinized images are passed directly and not inside the tarball. Also removed left-over white-space. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41237
* procd: various cleanups to /lib/upgrade/nand.shJohn Crispin2014-06-161-126/+120
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41222
* procd: update to latest git HEADJohn Crispin2014-06-111-0/+303
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41129