aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* failsafe-mode: print short help on commandlineJohn Crispin2014-10-202-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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
* kernel: add another missing symbol for 3.14John Crispin2014-10-201-0/+1
| | | | | | | | SENSORS_VEXPRESS is masked by HWMON Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 42984
* ramips: add support for Nexx WT3020 devicesJohn Crispin2014-10-209-0/+532
| | | | SVN-Revision: 42983
* ramips: sort boards in upgrade/platform.sh alphabeticallyJohn Crispin2014-10-201-18/+18
| | | | SVN-Revision: 42982
* iproute2: fix musl buildFelix Fietkau2014-10-192-0/+399
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42981
* authsae: fix musl buildFelix Fietkau2014-10-191-0/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42980
* gdb: update to version 7.8, fix musl buildFelix Fietkau2014-10-193-6/+34
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42979
* valgrind: update to the latest version, fix musl supportFelix Fietkau2014-10-194-15/+50
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42978
* toolchain: mark musl as non-brokenFelix Fietkau2014-10-191-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42977
* base-files: fix ldd definition if /usr/bin/ldd existsFelix Fietkau2014-10-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42976
* toolchain: drop the mips softfloat symlink hackFelix Fietkau2014-10-191-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42975
* toolchain: when using musl, install a symlink from ld-musl-*.so to /usr/bin/lddFelix Fietkau2014-10-191-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42974
* gcc: do not assume that the Mac OS X filesystem is case insensitiveFelix Fietkau2014-10-192-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42973
* mountd: explicitly link libubox (needed by libuci)Felix Fietkau2014-10-191-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42972
* musl: update to version 1.1.5Felix Fietkau2014-10-192-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42971
* gcc: update, split and rework 4.9 musl patchesFelix Fietkau2014-10-1916-355/+531
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42970
* gcc: update, split and rework 4.8 musl patchesFelix Fietkau2014-10-1918-373/+638
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42969
* x86_64: fix invoking sysupgrade on PARTUUID mounted systemJo-Philipp Wich2014-10-192-57/+49
| | | | | | | | | | | | Fix sysupgrade to determine the correct boot block device to use if /proc/cmdline contains a PARTUUID root. Change the preinit move_config() hook to use the UUID scanning code from sysupgrade in order to avoid code duplication. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42968
* x86_64: unbreak squashfs imagesJo-Philipp Wich2014-10-191-2/+5
| | | | | | | | | Enable the required squashfs and block2mtd support in the kernel in order to be able to actually boot them. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42967
* x86_64: use default block2mtd timeout of 5sJo-Philipp Wich2014-10-191-3/+3
| | | | | | | | | | If the underlying block device is a USB device it might require some time to settle, observed when booting a squashfs image from sd card on an Alix APU board. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42966
* x86_64: sysupgrade: consider hdX and vdX devices as wellJo-Philipp Wich2014-10-191-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42965
* openssl: add ABI_VERSION to fix package rebuild issues (fixes #18169)Felix Fietkau2014-10-191-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42963
* gcc: backport an upstream fix for extern vars with local weak definitionsFelix Fietkau2014-10-191-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42962
* polarssl: do not build the unused programsFelix Fietkau2014-10-191-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42960
* rpcd: update to the latest version, fixes build after libubox updateFelix Fietkau2014-10-191-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42959
* ramips: fix usercfg partition offset for WHR-1166DFelix Fietkau2014-10-191-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42958
* ar71xx: disable irq on reboot to fix hang issues (fixes #17839)Felix Fietkau2014-10-182-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42955
* toolchain: fix binutils broken symlinkFelix Fietkau2014-10-181-1/+1
| | | | | | | | | | The Makefile for binutils creates a broken symlink to "binutils-linaro" in "trunk/build_dir/toolchain-<target>_gcc-4.9-linaro_uClibc-0.9.33.2". Modify the Makefile to point the symlink to the correct directory. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 42954
* mac80211: add a maintenance script for upstream backport commitsFelix Fietkau2014-10-181-0/+109
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42953
* mac80211: update to 2014-10-08Felix Fietkau2014-10-1859-1456/+2266
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42952
* odhcpd: fix regression in dhcpv6 t1 and t2 calculationSteven Barth2014-10-181-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42951
* polarssl: add missing version bumpFelix Fietkau2014-10-181-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42949
* polarssl: disable SSLv3 support, fixes CVE-2014-3566 (POODLE)Felix Fietkau2014-10-181-0/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42947
* x86_64: support sysupgrade config restore on PARTUUID mounted disksJo-Philipp Wich2014-10-171-14/+37
| | | | | | | | | Fix the move_config() procedure to properly find the corresponding disk if the rootfs was mounted by PARTUUID instead of a device node. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42946
* x86_64: add kmod-r8169 to the default packagesJo-Philipp Wich2014-10-171-1/+1
| | | | | | | | | This kmod is required by the Alix APU 1D4 to be reachable after installing an x86-64 image. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42945
* odhcpd: multiple fixesSteven Barth2014-10-171-2/+2
| | | | | | | | | | | * Rewrite ndp proxy using kernel proxying * Aid flash-renumbering in hybrid DHCPv6-mode * Unicast RAs to RS senders * Add support for router address Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42944
* hostapd: CVE-2014-3686 fixesSteven Barth2014-10-179-11/+229
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42942
* bcm53xx: image: switch Netgear and Buffalo devices to UBIRafał Miłecki2014-10-161-4/+8
| | | | | | | | | We still don't have a smart sysupgrade method, but at least we can use UBI which provides some protection for rootfs (SquashFS). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42941
* bcm53xx: hack UBI to erase all dirty blocks left by CFERafał Miłecki2014-10-161-0/+39
| | | | | | | | | | | UBI requires PEBs to be formatted (with a valid UBI header) or empty (0xFF), however CFE doesn't clear blocks after flashing the image. To workaround this problem, teach UBI to recognize EOF mark in a similar way JFFS2 handles that in OpenWrt. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42940
* bcm53xx: enable UBI and UBIFSRafał Miłecki2014-10-161-0/+19
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42939
* bcm53xx: image: build UBI partition imageRafał Miłecki2014-10-162-0/+28
| | | | | | | | This could be used on NAND devices once we get UBI working. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42938
* bcm53xx: image: specify flash type for all devicesRafał Miłecki2014-10-161-13/+22
| | | | | | | | This will allow us to add proper support for NAND one day. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42937
* x86_64: initial support for PARTUUIDJo-Philipp Wich2014-10-162-2/+4
| | | | | | | | | This change configures grub to mount the rootfs by PARTUUID instead of the device path if CONFIG_TARGET_ROOTFS_PARTNAME is unset. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42936
* sdk: improve feed setupJo-Philipp Wich2014-10-161-7/+12
| | | | | | | | | - Add current buildroot scm url as base feed to feeds.conf - Prefer feeds.conf over feeds.conf.default when generating the SDK feeds.conf.default Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42935
* firmware-utils: allow passing a specific MBR signature to ptgenJo-Philipp Wich2014-10-161-4/+15
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42934
* build: improve feed handling for opkg.confJo-Philipp Wich2014-10-163-4/+13
| | | | | | | | | - Consider not installed feeds as well - Add option to decide whether to comment disabled feeds Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42931
* openssl: update to v1.0.1j (CVE-2014-3513, CVE-2014-3567, CVE-2014-3568)Jo-Philipp Wich2014-10-163-13/+13
| | | | | | | | Also refresh patches and bump copyright year in Makefile. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42929
* default_postinst() fix wrong call of group_addJohn Crispin2014-10-151-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | [base-files] default_postinst() fix wrong call of group_add after 12bae65d07d29854204715cebc1ef1eae237fd9b group_add is always called. shell scripting can be tricky... wrong call: [ -n "$gid" ] && group_exists $name || group_add $name $gid this leads to a call of 'group_add' when $gid is emtpy, proof: root@box:~ functionA() { echo A; } root@box:~ functionB() { echo B; } root@box:~ VAR= root@box:~ [ -n "$VAR" ] && functionA || functionB B root@box:~ # functionB was called, but VAR is not filled root@box:~ VAR=filled root@box:~ [ -n "$VAR" ] && functionA || functionB A Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42926
* bcm53xx: add support for Buffalo WZR-600DHP2Rafał Miłecki2014-10-152-2/+108
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42925
* bcm53xx: fix Asus RT-N18U supportRafał Miłecki2014-10-151-9/+24
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42924