John Crispin
f0b5e7d419
x86: change /dev/console to tty to fix job control
...
Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).
This patch switches /dev/console to tty devices for ash on x86 generic target.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 37693
11 years ago
Felix Fietkau
b95bdc8ab5
kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37282
12 years ago
John Crispin
831c7ea04f
preinit: move cmdline failsafe= handling ot the generic code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36430
12 years ago
Steven Barth
4e8f7f37ed
Change default IPv6 config to enable DHCPv6-PD
...
SVN-Revision: 36384
12 years ago
Steven Barth
ea94d66b0f
Adapt default network configuration for IPv6
...
SVN-Revision: 36278
12 years ago
Mirko Vogt
439a869090
Do not overload mount-call - trying to reduce confusion
...
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh
/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.
SVN-Revision: 34792
12 years ago
Jo-Philipp Wich
f600ec5b3b
x86: allow both old and new grub signatures in sysupgrade
...
SVN-Revision: 33898
12 years ago
Felix Fietkau
95e642632a
x86: correct image magic for grub2 images
...
Sysupgrade broke on x86 when grub2 superceded grub. This patch
corrects tha magic_word to be expected in grub2 combined images.
Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 33890
12 years ago
Felix Fietkau
a1bcd25082
x86: add grub2 iso support
...
SVN-Revision: 33639
12 years ago
Vasilis Tsiligiannis
1978c07539
Fix sysupgrade for squashfs, jffs2 and ext4 images
...
* use 'fsync' with 'dd' for image writing
* save config to boot partition
SVN-Revision: 32465
13 years ago
Felix Fietkau
5571acdbd0
x86/soekris: Add defconfig for soekris net4801 and net4826
...
Add default config file for net4801 and 4826 and initial script
to copy config file like it is done for other platforms.
Patch from: kentarou matsuyama <matsuyama@thinktube.com>
SVN-Revision: 25103
14 years ago
Felix Fietkau
3d9d5cee8a
x86/soekris: Add script to detect soekris model
...
Add script to detect soekris board of net4801 and net4826.
Patch from: kentarou matsuyama <matsuyama@thinktube.com>
SVN-Revision: 25102
14 years ago
Nicolas Thill
1fc7da0306
sysupgrade: fix typo in platform_do_upgrade() on x86 ( closes : #7068 ), thanks to acinonyx
...
SVN-Revision: 20703
15 years ago
Florian Fainelli
e1a4f69cb5
sysupgrade: Get target device from kernel cmdline, patch from acinonyx
...
SVN-Revision: 20538
15 years ago
Jo-Philipp Wich
817d27bcdc
sysupgrade: Dump image to sda device instead of hda (patch by Acinonyx)
...
SVN-Revision: 20514
15 years ago
Jo-Philipp Wich
c63fd559fc
base-files: remove redundant "Press " when writing enter failsafe message
...
SVN-Revision: 20393
15 years ago
Jo-Philipp Wich
9feb2ed7c5
preinit: use grep -q where applicable
...
SVN-Revision: 19479
15 years ago
Felix Fietkau
b88fc11e2a
preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)
...
SVN-Revision: 19367
15 years ago
Felix Fietkau
56bc02a305
add preinit modularization work by Daniel Dickinson (cshore)
...
SVN-Revision: 19331
15 years ago
Jo-Philipp Wich
5231811851
sysupgrade-ext2 sync before writing image, not after Sysupgrade for ext2 currently flushes the filesystem buffers after an image is written to the disk. This should happen before the image is written.
...
SVN-Revision: 16867
16 years ago
Felix Fietkau
065306a9a8
fix small logic error in x86 sysupgrade script, which prevented upgrades from jffs2 to squashfs ( #3321 )
...
SVN-Revision: 12672
16 years ago
Felix Fietkau
f47a4a58c5
fix sysupgrade support for brcm-2.4 and brcm47xx make mtd refresh based config append optional (leave enabled on x86)
...
SVN-Revision: 12657
16 years ago
Travis Kemen
7346ef83e1
fix sysupgrade endian issues
...
SVN-Revision: 11900
17 years ago
Felix Fietkau
39a43187f3
silence a bogus preinit message
...
SVN-Revision: 9429
17 years ago
Gabor Juhos
438dfe5c6f
get rid of per-profile base-files
...
SVN-Revision: 9069
17 years ago
John Crispin
f3b9e06a14
made HOME=/root global instead of x86 specific
...
SVN-Revision: 8845
17 years ago
John Crispin
0a08fde2dc
root users folder is now in the fs and no longer /tmp
...
SVN-Revision: 8844
17 years ago
Felix Fietkau
56231056ea
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
SVN-Revision: 8653
17 years ago