32 Commits (49874a57f1db8f9bc74171935676c72ad5cef830)

Author SHA1 Message Date
Daniel Dickinson 1f69f4cf64 base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit 14 years ago
Daniel Dickinson 18b473ca9b base/block-extroot, base/block-mount: Modified preinit and block-extroot and block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done. 14 years ago
Nicolas Thill d08b2b02cf base-files: fix preinit code typos 15 years ago
Felix Fietkau 56bc02a305 add preinit modularization work by Daniel Dickinson (cshore) 15 years ago
Gabor Juhos f494bcc222 package/base-files: set state to 'preinit' before preinit.arch is used, and set state to 'failsafe' when entering failsafe mode 15 years ago
Felix Fietkau 6155fdf5d3 preinit: fix failsafe mode through ctrl+c on devices that do not provide a preinit.arch file 15 years ago
Geoff Levand 525d86686e udev: Update udev package from udev-106 to udev-142 15 years ago
Gabor Juhos 463a6f4bda base-files: update command line for the new hotplug2 16 years ago
Felix Fietkau de0332f86a rename our /bin/login script to /bin/login.sh to avoid collisions with busybox - we always use -l on telnetd anyway 16 years ago
Felix Fietkau 714ffa3260 fix failsafe mode 16 years ago
Florian Fainelli 38d1cb8cbd Fix negative calculation of the tmpfs for devices with few RAM (#3557) 16 years ago
Mike Baker 1139608784 allow ctrl-c to trigger preinit 17 years ago
Felix Fietkau aee15469df use the same hotplug2 parameters for initramfs and regular 17 years ago
Felix Fietkau 37c7e13a5f move the hotplug2 kill command from preinit to /etc/init.d/boot, so that it works for initramfs as well 17 years ago
Felix Fietkau 2c3018e0da initramfs: start one hotplug2 for coldplugging and one for handling events between coldplug and end of /init 17 years ago
Felix Fietkau 7232fe9150 use the right hotplug2 invocation for initramfs 17 years ago
Gabor Juhos 8b011c593d base-files: fix a typo 17 years ago
Felix Fietkau 0b341be6c0 This patch re-adds the udev and hotplug2 initialization fixes originally present in /init but was removed when some code was moved from /init to /etc/preinit in rev 10870. This adds udev initialization and only handles hotplug2 initialization when hotplug2 is present. 17 years ago
Matteo Croce 227af4b113 assign names to filesystems when mounting virtual ones (closes #3340) 17 years ago
Felix Fietkau 41fb282b6d remove some redundant code 17 years ago
Felix Fietkau 1e38527a52 add sysupgrade script for config preserving system upgrades. only implemented for x86-2.6 at the moment, but can be ported to other platforms easily 17 years ago
Felix Fietkau 114b9a8fb6 add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at the moment 18 years ago
Felix Fietkau 5e7cb507cd move parts of the failsafe code to the generic base-files - will be used on atheros as well as soon as i've added support for it 18 years ago
Felix Fietkau 8c41e51e92 fix failsafe on broadcom, send netlink events in diag when running linux 2.6 18 years ago
Mike Baker 40071deb7a mount_root should only mount the root 18 years ago
Mike Baker d502764953 /proc needs to be mounted before preinit.arch for failsafe 18 years ago
Florian Fainelli 5cbadc89e7 Fix set_state preinit stuff 18 years ago
Mike Baker 4a41439c46 unified preinit environment 18 years ago
Imre Kaloz da547b8ab2 move the last change to the right place 18 years ago
Imre Kaloz 40e3aaf430 set $HOME to /tmp on bootup 18 years ago
Felix Fietkau c96e173c28 add failsafe support for x86-2.6 and fix mdev support for platforms using /etc/preinit 18 years ago
Felix Fietkau 68ca8e7818 make squashfs overlay support more generic and integrate it for x86-2.6 18 years ago