- May 19, 2015
-
-
Jonas Gorski authored
Instead of stripping everything after the first dot, strip everything after the last dot. This fixes pre-/postrm actions for packages with a dot in their name, like libusb-1.0. Fixes #19668. Signed-off-by:
Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45702
-
- May 03, 2015
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45600
-
- Apr 18, 2015
-
-
Felix Fietkau authored
base-files: make the generic sysinfo script run earlier to allow the mount_root script to pick up the board name Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45496
-
- Apr 16, 2015
-
-
Felix Fietkau authored
Depending on configuration, disable the LED before writing the trigger and enable it after writing it. Fixes LEDs where the value defaults to 1 Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45463
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45462
-
- Apr 10, 2015
-
-
John Crispin authored
Fixes ticket #19352. Signed-off-by:
Yousong Zhou <yszhou4tech@gmail.com> Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 45367
-
- Apr 09, 2015
-
-
John Crispin authored
Current NAND sysupgrade process is a bit hard to follow due to the way of triggering stage1. Currently this is done by leaving a /mark/ in the form of /tmp/sysupgrade-nand-path during nand_do_platform_check. Existence of this mark stops standard sysupgrade process (as the result of sysupgrade_pre_upgrade exit). This may be a bit misleading. Proposed solution adds a new function that will allow platform.sh trigger NAND sysupgrade consciously. This will also allow cleaning nand_do_platform_check limiting it to just checking the image. Signed-off-by:
Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45338
-
- Apr 06, 2015
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45286
-
- Apr 03, 2015
-
-
Nicolas Thill authored
Signed-off-by:
Nicolas Thill <nico@openwrt.org> SVN-Revision: 45250
-
- Apr 02, 2015
-
-
Nicolas Thill authored
Signed-off-by:
Nicolas Thill <nico@openwrt.org> SVN-Revision: 45244
-
- Mar 26, 2015
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 45009
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 45008
-
- Mar 22, 2015
-
-
Felix Fietkau authored
Use xattr to store the filesystem initialization state of the overlay. As long as the filesystem is not marked as initialized yet (happens in /etc/init.d/done), all overlay data (except for sysupgrade.tgz) will be discarded before the system is allowed to boot Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44942
-
Felix Fietkau authored
This makes interrupted boots after sysupgrade more reliable Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44941
-
- Mar 17, 2015
-
-
Felix Fietkau authored
kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44873
-
- Mar 10, 2015
-
-
Luka Perkov authored
This brings back old behavior. Signed-off-by:
Luka Perkov <luka@openwrt.org> SVN-Revision: 44651
-
- Feb 14, 2015
-
-
John Crispin authored
Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44446
-
- Feb 11, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44409
-
- Feb 04, 2015
-
-
John Crispin authored
The name variable contains at first the package name, and after the last group name. This patch fixes /etc/rc.d symlink creation (at least). Change name in pkgname, change the other name in ugname (user group name), and id in ugid (user group id) Signed-off-by:
Etienne CHAMPETIER <champetier.etienne@gmail.com> SVN-Revision: 44253
-
- Jan 23, 2015
-
-
Jo-Philipp Wich authored
Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44091
-
John Crispin authored
this is based on http://patchwork.ozlabs.org/patch/424451/ Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 44087
-
- Jan 20, 2015
-
-
John Crispin authored
This restores normal pre-r43715 200ms blink-period for the System LED we're all accustomed to see while our OpenWrt routers are booting. Failsafe possibility will now be signalled with a new 100ms blinking, which is easily recognizable from the normal 200ms booting. So no existing user will be scared by a new 500ms LED pattern, since such a slow pattern could easily be mistaken for something wrong... I was like "ok why my router is collapsing now, is this a bad flash, a kernel panic, or what else" when I've seen it for the first time ;) Sorry for not having explained myself better in v1 of this patch. Original: Preinit, failsafe is possible: 200ms Preinit, failsafe not possible anymore, booting normally: 200ms Failsafe entered: 50ms Now (after preinit_regular has been introduced): Preinit, failsafe is possible: 200ms Preinit, failsafe not possible anymore, booting normally: 500ms *here is the "offending" change* Failsafe entered: 50ms With my proposed patch: Preinit, failsafe is possible: 100ms *indicate this condition with a new timing, that prompts the user to press the key if they want to start failsafe* Preinit, failsafe not possible anymore, booting normally: 200ms *keep this as before* Failsafe entered: 50ms Signed-off-by:
Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 44056
-
- Jan 17, 2015
-
-
John Crispin authored
Signed-off-by:
Gerald Kerma <dreagle@doukki.net> SVN-Revision: 44000
-
- Jan 08, 2015
-
-
John Crispin authored
The enable and reset settings need to be added even when they're false. This is true at least for 'enable', that seems to default to true otherwise. Signed-off-by:
Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 43887
-
Jo-Philipp Wich authored
Change the kconfig default for the repository url template to use "%s" instead of "%T" as well. Also complete the kconfig help text do cover the recently introduced manufacturer, product and hwrev options. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43872
-
Jo-Philipp Wich authored
This commit introduces a new option CONFIG_VERSION_FILENAMES which causes OpenWrt to embed the version number in generated image files, SDK- and ImageBuilder archives. The option is enabled by default if CONFIG_VERSIONOPT is set. Signed-off-by:
Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43869
-
- Dec 15, 2014
-
-
John Crispin authored
This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by:
Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43715
-
- Dec 07, 2014
-
-
John Crispin authored
Signed-off-by:
Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 43542
-
- Dec 01, 2014
-
-
John Crispin authored
create user:group before running postinst-pkg. the postinst hook might require the user:group to already exist. Signed-off-by:
Christian Schoenebeck <christian.schoenebeck@gmail.com> SVN-Revision: 43472
-
- Nov 24, 2014
-
-
Imre Kaloz authored
Signed-off-by:
Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43365
-
- Nov 19, 2014
-
-
Jonas Gorski authored
ldd might be called for shell scrips during sysupgrade, causing it to complain that they are not a dynamic executables. This is a harmless error, so supress it to avoid confusing about them being serious ones. Signed-off-by:
Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43315
-
- Nov 18, 2014
-
-
Jonas Gorski authored
r36107 ("base-files: sysupgrade fail with eglibc") tried to fix sysupgrade by changing the ld-soname to what is expected, but only fixed MIPS while breaking ARM. The underlying issue is that the ld.so name varies widely across different architectures for eglibc: eglibc-2.19-r25243$ grep -r "ld-soname :=" . | awk '{ print $3 }' | sort -u ld64.so.1 ld64.so.2 ld-linux-aarch64_be.so.1 ld-linux-aarch64.so.1 ld-linux-armhf.so.3 ld-linux-mipsn8.so.1 ld-linux.so.2 ld-linux.so.3 ld-linux-x32.so.2 ld-linux-x86-64.so.2 ld.so.1 Instead of adding each different soname to check for and copy it, replace the awk script with a sed script to extract it properly and drop the hardcoded so-name. Signed-off-by:
Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43295
-
- Nov 06, 2014
-
-
Nicolas Thill authored
Signed-off-by:
Nicolas Thill <nico@openwrt.org> SVN-Revision: 43205
-
- Nov 03, 2014
-
-
John Crispin authored
turns out that r43155 adds duplicate info. Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 43167
-
John Crispin authored
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
-
- Nov 02, 2014
-
-
Steven Barth authored
Signed-off-by:
Steven Barth <steven@midlink.org> SVN-Revision: 43151
-
- Oct 27, 2014
-
-
John Crispin authored
Signed-off-by:
John Crispin <blogic@openwrt.org> SVN-Revision: 43088
-
- Oct 25, 2014
-
-
Felix Fietkau authored
Based on bug #18206 sysupgrade can lead to loss of password information in certain situations. Most likely all users who will upgrade from versions r43017-43040, will lose their current passwords. :-( https://dev.openwrt.org/ticket/18206 Currently /etc/shadow is defined as a conffile in base-files: https://dev.openwrt.org/browser/trunk/package/base-files/Makefile#L37 But it is not defined in the default list of essential files to keep in sysupgrade: https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/keep.d/base-files-essential If exporting conffiles info fails, /etc/shadow can get lost. Shadow passwords are now the default, so saying that preserving /etc/passwd is essential while /etc/shadow is not, makes no sense. The attached patch adds /etc/shadow to the list of essential files. Signed-off-by:
Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 43061
-
- Oct 20, 2014
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43006
-
John Crispin authored
[base-files] failsafe-mode: print short help on commandline Like mentioned in ticket https://dev.openwrt.org/ticket/11911 this should make the IRC much quieter. Failsafe is somehow special and even experienced users are helpless, because they are not used to this seldom situation. Also: likely you have no internet access in this mode, so you cannot use the wiki. a failsafe-session now looks like this: first we see from 'package/base-files/files/bin/login.sh' the hint: === IMPORTANT ============================ Use 'passwd' to set your login password this will disable telnet and enable SSH ------------------------------------------ after this the /etc/banner ("OpenWrt - wireless freedom") and then the new text: ================= FAILSAFE MODE active ================ special commands: * firstboot reset settings to factory defaults * mount_root mount root-partition with config files after mount_root: * passwd change root's password * /etc/config directory with config files for more help see: http://wiki.openwrt.org/doc/howto/generic.failsafe ======================================================= this supersedes the old patches: http://patchwork.openwrt.org/patch/3337/ http://patchwork.openwrt.org/patch/3553/ Signed-off-by:
Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42985
-