aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
Commit message (Collapse)AuthorAgeFilesLines
* procd: more nand takeover fixesJohn Crispin2014-12-031-8/+12
| | | | | | | | if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43513
* procd: firstboot nand/ubi takeover supportJohn Crispin2014-12-032-0/+31
| | | | | | | | it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43505
* procd: drop the zram dependencies, theu caused a recursive deps warningJohn Crispin2014-12-021-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43492
* procd: reintroduce /sys/fs/cgroup mountJohn Crispin2014-12-021-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43490
* procd: add support for zram compressed /tmpJohn Crispin2014-12-021-6/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43489
* 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
* procd: update to the latest version, fixes ubus service listFelix Fietkau2014-11-191-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43327
* procd: update to latest git HEADJohn Crispin2014-11-141-2/+2
| | | | | | | | make sure /sys/fs/cgroup is mounted on boot Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43257
* procd: update to the latest version, fixes job control on the console shellFelix Fietkau2014-11-081-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43220
* procd: update to latest gitJohn Crispin2014-11-061-2/+2
| | | | | | | | | setsid is called fixing the pgrp issue trigger the wdt while modules are being inserted Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43193
* procd: fix kernel command-line argument parsingSteven Barth2014-11-051-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43184
* procd: Make askconsole work again when no tty is specified in inittabSteven Barth2014-11-041-2/+2
| | | | | | | | Thanks to Michel Stam Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43179
* procd: fix serial console login (#18278)Steven Barth2014-11-041-2/+2
| | | | | | | | Many thanks to Michel Stam for his work. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43178
* license info - revert r43155John Crispin2014-11-031-1/+1
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-1/+1
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43155
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* procd: revert some changes breaking console on UMLSteven Barth2014-11-011-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43147
* procd: Allow boot messages to be sent to consoleJohn Crispin2014-10-301-2/+19
| | | | | | | | update to latest git HEAD, adds "log to console" Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43118
* procd: update to latest gitJohn Crispin2014-10-141-2/+2
| | | | | | | | this adds the remaining patches that Michel Stam sent Signed-off-by: Michel Stam <m.stam@fugro.nl> SVN-Revision: 42918
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-142-3/+3
| | | | | | | | | | | | | | [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
* procd: handle hotplug events for the usbmisc subsystemJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42831
* procd: r42814 added a bad git versionJohn Crispin2014-10-061-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42826
* procd: update to latest git HEADJohn Crispin2014-10-061-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42814
* procd: update to latest git HEADJohn Crispin2014-09-151-2/+2
| | | | | | | | fixed timeout on shutdown and cmdline param parsing Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42545
* procd: update to latest gitJohn Crispin2014-09-112-2/+6
| | | | | | | | add support for starting services as !root Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42471
* procd: allow adding empty strings to arraysFelix Fietkau2014-09-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42456
* procd: run the mdns register outside the sub shell containerJohn Crispin2014-08-291-3/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42327
* procd: update to latest git HEADJohn Crispin2014-08-292-2/+46
| | | | | | | | this adds a interafce.update trigger and mdns service registration helpers Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42324
* procd: update to the latest version, fixes parsing of /etc/openwrt_releaseFelix Fietkau2014-07-301-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41891
* procd: work around some docker architecture quirksSteven Barth2014-07-291-2/+2
| | | | SVN-Revision: 41867
* procd: check output of "uci show" instead of raw config files in order to ↵Felix Fietkau2014-07-291-1/+8
| | | | | | | | track uncommitted changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41865
* procd: update to the latest version, fixes hotplug firmware loading issuesFelix Fietkau2014-07-181-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41735
* 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: add a shell helper function to emit a config.change eventFelix Fietkau2014-07-021-0/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41482
* procd: add shell functions to add instance dataFelix Fietkau2014-07-021-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41481
* procd: update to the latest version, adds support for dumping per-instance ↵Felix Fietkau2014-07-021-2/+2
| | | | | | | | | | service data with an optional type filter also fixes a crash on stopping a service with triggers after reloading it Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41478
* procd: fix uci_validationJohn Crispin2014-06-302-2/+10
| | | | | | | | | | Regardles of the return code from validate_data _error variable will be 0 due to 'local' command in the previous line. With this patch we are able to catch the return code from validate_data tool. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41414
* 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: update to latest git headJohn Crispin2014-06-191-4/+4
| | | | | | | | this fixes the upgraded linking issue on arm. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41279
* procd: various improvements to nand.shJohn Crispin2014-06-191-7/+33
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41278
* procd: forgot to update the git id in the last commitJohn Crispin2014-06-171-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41239
* procd: make upgarded depend on mips, the static linking on arm failsJohn Crispin2014-06-171-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41238
* 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