Commit graph

361 commits

Author SHA1 Message Date
Stefan Saraev
7c35f31139 cleanup TODO in * 2015-04-07 12:08:46 +03:00
Stefan Saraev
0d847e4f13 init: add boot parameter to start in-memory live mode
.. no /storage hacks hacks, would also work with uefi boot
2015-04-05 20:34:59 +03:00
Stefan Saraev
d826fa2e44 init: storage should always be writable
fixes minor issue in installer, where some (non critical) systemd
services fail to start
2015-04-05 20:31:35 +03:00
Stefan Saraev
c482afb77f meh manual resize 2015-03-17 22:04:55 +02:00
Stefan Saraev
c33ddc5c61 init: ignore ret 8 from fsck if not force checking
when /flash or /storage is on non-persistent storage, it's not
yet available at the time fsck -a -p fires, so just skip
and force fsck only if ret=4

now, if /flash or /storage is non-persistent, users get
either non-recovered fs (just as it was before) or debug
shell if the fs is fubar (bad sb and so). nobody cares.
2015-02-23 00:05:10 +02:00
Stefan Saraev
7d0733d24f Merge pull request #3888 from stefansaraev/fsck
init: fsck -y when automatic repair fails
2015-02-21 15:35:52 +02:00
Stefan Saraev
5cc69a4531 fs-resize: do forced reboot 2015-02-21 14:45:25 +02:00
Stefan Saraev
b1c7391900 init: fsck -y when automatic repair fails 2015-02-21 14:21:29 +02:00
Stefan Saraev
01a0d5fcca init: forgot fs-resize in 208d45d 2015-01-19 20:09:22 +02:00
Stefan Saraev
208d45db46 init: there can be only one default systemd unit 2015-01-19 19:39:21 +02:00
Stefan Saraev
b793ba8c80 factory-reset: move as systemd target 2015-01-19 19:39:21 +02:00
Stefan Saraev
f1990c91db backup-restore: move as systemd target 2015-01-19 19:39:18 +02:00
Stefan Saraev
4fffa76c53 fs-resize: move as systemd target 2015-01-19 19:27:51 +02:00
Stefan Saraev
a0dee49e5d init: drop atv legacy 2015-01-17 22:42:12 +02:00
Stefan Saraev
cfc879b94f init: warn if booting from removable storage 2015-01-12 23:05:39 +02:00
Stefan Saraev
5185cd9263 Revert "disable suspend if booting from removable storage"
This reverts commit 803bc002b9.

I have to explain why it was there again and again. so f*** it
and I'll just ignore the "hey suspend is broken" bugreports
2015-01-12 21:56:40 +02:00
Stefan Saraev
ffa3ec4bd5 init: check first if fbcon/cursor_blink exists 2015-01-12 19:32:19 +02:00
Alex Deryskyba
a918376a7f Add support for executing project-specific initialization script from the init script 2014-12-17 06:14:16 +01:00
Stefan Saraev
4801044f3c scripts/createlog: more logs 2014-12-13 00:20:55 +02:00
Stefan Saraev
b741ed9f50 scripts/createlog: cosmetics. also include kodi.old.log
... and crashlog, in the future...
2014-12-12 23:40:15 +02:00
Stefan Saraev
79d8668907 init: warn on obvious KERNEL/SYSTEM mismatch
... because rpi / netboot users still cant get it
2014-11-23 19:06:19 +02:00
Stephan Raue
0900d83b9a [xbmc-rebrand] busybox: rename XBMC config dir in scripts
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-10-20 16:05:49 +02:00
Keuvie
a2cc09f564 Update apt-get
Line 25 and 26 got the word "local" at the end and start of it.
2014-10-15 16:17:45 +02:00
Michael Prankl
27c84c2cb4 apt-get: exit with exit status 1
Same as for sudo (https://github.com/OpenELEC/OpenELEC.tv/pull/3466).
2014-09-08 14:28:14 +02:00
Michael Prankl
5486f5e81d sudo: exit with exit status 1 2014-09-07 17:38:11 +02:00
Stephan Raue
26c49caf2b busybox: remove CIFS/SMB boot support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-08-17 17:49:32 +02:00
Stephan Raue
e672e6e249 busybox: remove support for initramfs.conf, disable SYSTEM-to-RAM support for RPi
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-25 07:30:19 +02:00
Stephan Raue
86944a6ea2 Revert "busybox: remove SYSTEM-to-RAM support, it dont improves much"
This reverts commit 1e12d8be3f.
2014-07-25 07:28:13 +02:00
Stephan Raue
1e12d8be3f busybox: remove SYSTEM-to-RAM support, it dont improves much
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-07-24 07:09:01 +02:00
Stephan Raue
4241180f12 busybox: fix issue with not removing *.md5 files after update
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-28 21:43:35 +02:00
Stefan Saraev
3fd8c315bb init: remove unused ssh check 2014-06-16 18:17:35 +02:00
Stefan Saraev
dcb14cb748 lsb_release: use /etc/os-release 2014-06-09 00:00:33 +02:00
Stephan Raue
9171a0678d busybox: unmount /flash and /storage on reboot in initramfs, add 'do_reboot' function and use this for all reboot calls
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-07 17:10:42 +02:00
Stephan Raue
6431768463 busybox: cosmetics
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-07 14:56:51 +02:00
Stephan Raue
6aea31a5fa busybox: add initial support for fsck /flash and /storage on boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-06-07 14:56:51 +02:00
Stephan Raue
cbfe2fa62a Revert "init: e2fsck /storage"
This reverts commit f7d87a2380.
2014-06-04 16:29:52 +02:00
Stefan Saraev
f7d87a2380 init: e2fsck /storage 2014-06-04 16:19:38 +02:00
andreasmn
8cfb7daa7b init: optimized wake-on-lan script 2014-05-01 08:35:54 +02:00
andreasmn
a080cda38e init: added wake-on-lan script 2014-04-25 15:27:50 +02:00
Stefan Saraev
803bc002b9 disable suspend if booting from removable storage 2014-03-22 16:11:28 +02:00
Stefan Saraev
d4fc0986a0 busybox: init: set rsize/wsize for nfs 2014-03-05 15:59:40 +02:00
Stefan Saraev
03e54f091a busybox: fs-resize: clean up and cosmetics 2014-02-22 14:47:40 +02:00
Stefan Saraev
0c96e95f70 busybox: init: clean up and cosmetics 2014-02-22 14:47:17 +02:00
Stephan Raue
74d7bcc068 busybox: move systemd to /usr/lib
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-02-20 17:05:22 +01:00
Christian Hewitt
dc7e0e26ca Merge pull request #2936 from chewitt/fsck_hfsplus_init
init: only fsck hfs+ when booting from hfs+
2014-02-12 20:08:02 -08:00
Christian Hewitt
db78221e4d init: only fsck hfs+ when booting from hfs+
Only fsck an HFS+ partition when we booted from an HFS+ partition. This
should only be true on AppleTV where we need to ensure the HFSX volume
is clean before mounting. It is false on other MacOS dual-boot
configurations where HFS+ partitions are present. This resolves #2929,
2014-02-13 07:57:23 +04:00
Stefan Saraev
c4ede581cd busybox: add 'sudo' 2014-02-12 20:00:22 +02:00
Stefan Saraev
328c05a1d6 createlog: make rpi even happier 2014-01-15 03:45:57 +01:00
Stefan Saraev
a4ac801fb4 createlog: make RPi happy 2014-01-15 03:45:57 +01:00
Stefan Saraev
f7515df9e6 createlog: dont run nonexistent tools
closes #2881
2014-01-15 03:45:57 +01:00