Commit graph

337 commits

Author SHA1 Message Date
kszaq
9e9ca25cb3 init: Fix updating from img.gz when kernel resides on block device
This fixes updating LE from img.gz when installed on WeTek internal memory.
2016-07-04 20:56:35 +02:00
MilhouseVH
c2ed75d138 init: Enable oem native resolution support, and debug info 2016-06-03 09:20:04 +01:00
MilhouseVH
4809df9715 init: Parse resolution after splash.conf 2016-06-01 20:01:54 +01:00
MilhouseVH
bcd6d7462a splash: Select splash image based on native resolution 2016-05-22 20:08:06 +01:00
Joerg Felser
cbe327e07e changed libreelec URLs in (mainly) descriptions to https://libreelec.tv
changed libreelec URLs in (mainly) descriptions to https://libreelec.tv

fixup
2016-04-27 11:36:31 +02:00
longchair
bb10e9d103 scripts : remove some hardcoded LibreELEC distro name
Allows a distro to have it's name appear in installer and busybox scripts
2016-04-13 17:20:22 +02:00
MilhouseVH
80b4c5b75d Merge pull request #61 from chewitt/installer-cosmetic
installer: not all computers are computers
2016-03-31 05:35:58 +01:00
chewitt
826b819303 installer: text cosmetics for update/fs-resize 2016-03-31 08:31:20 +04:00
Peter Vicman
3145e182f1 init: remove warning when loop node already exist (wetek projects with CONFIG_BLK_DEV_LOOP_MIN_COUNT >0) 2016-03-30 10:24:49 +02:00
Christian Hewitt
dd08a682bb Merge pull request #44 from MilhouseVH/init_progress
Thanks :)
2016-03-25 19:37:15 +04:00
MilhouseVH
245651567e fs-resize: use progress meters for long running tasks 2016-03-23 19:43:28 +00:00
MilhouseVH
4a66245618 init: move common functions to separate file 2016-03-23 19:43:27 +00:00
MilhouseVH
0af94509f7 init: Add progress indicators during long running updates 2016-03-23 19:43:20 +00:00
MilhouseVH
262ee4a16a rebrand: A few more fix-ups 2016-03-23 19:36:54 +00:00
MilhouseVH
2f1b279177 Merge pull request #27 from vpeter4/img_update1
init: allow update also with .img.gz or .img besides to .tar
2016-03-21 07:19:18 +00:00
MilhouseVH
93d814c471 Revert "init: Add progress indicators during long running updates"
This reverts commit e45ba7e298.
2016-03-20 21:36:53 +00:00
MilhouseVH
e45ba7e298 init: Add progress indicators during long running updates 2016-03-20 21:32:59 +00:00
Christian Hewitt
b92f86cc24 Merge pull request #41 from CvH/rename
Thanks :)
2016-03-20 19:44:18 +04:00
CvH
0e90095152 busybox: rebrand sripts 2016-03-20 16:42:33 +01:00
Stephan Raue
6c2e5ce1c2 busybox: load cpu firmwares in initramfs
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2016-03-19 12:52:40 -07:00
Peter Vicman
0a8df76e5e init: allow update also with .img.gz or .img besides to .tar
needs double space on storage partition for extracted .img file
KERNEL/SYSTEM files are copied directly from mounted partition to /flash
tested on imx6 project
size of initramfs/kernel increased by ~40kB
if downgrade with image without included .md5 files
user needs to create file .nocheck (there is no integrity
checks done in this case - can be unsafe)

### Checking for updates ###
Found new .tar archive. extracting...
Checking KERNEL.md5...
/storage/.update/KERNEL: OK
Checking SYSTEM.md5...
/storage/.update/SYSTEM: OK
Checking size: OK
### mount filesystem /flash/SYSTEM ... ###
### mount filesystem /storage/.update/SYSTEM ... ###
updating Kernel...
updating System...
### mount filesystem /flash/SYSTEM ... ###
updating Bootloader...
*** updating Device Tree Blob: imx6q-udoo.dtb ...
.................................................
*** updating u-boot image: /flash/u-boot.img ...
*** updating u-boot SPL Blob on: /dev/mmcblk0 ...
35+0 records in
35+0 records out
35840 bytes (35.0KB) copied, 0.050510 seconds, 692.9KB/s
System reboots now...

### Checking for updates ###
Found new .img.gz archive. extracting...
Mounting system partition...
Checking KERNEL.md5...
/storage/.update/.tmp/mnt/KERNEL: OK
Checking SYSTEM.md5...
/storage/.update/.tmp/mnt/SYSTEM: OK
Checking size: OK
updating Kernel...
updating System...
### mount filesystem /flash/SYSTEM ... ###
updating Bootloader...
*** updating Device Tree Blob: imx6dl-cubox-i.dtb ...
.....................................................
*** updating u-boot image: /flash/u-boot.img ...
*** updating u-boot SPL Blob on: /dev/mmcblk0 ...
35+0 records in
35+0 records out
35840 bytes (35.0KB) copied, 0.050320 seconds, 695.5KB/s
System reboots now...

### Checking for updates ###
Found new .img file...
Mounting system partition...
Checking KERNEL.md5...
/storage/.update/.tmp/mnt/KERNEL: OK
Checking SYSTEM.md5...
/storage/.update/.tmp/mnt/SYSTEM: OK
Checking size: OK
updating Kernel...
updating System...
### mount filesystem /flash/SYSTEM ... ###
updating Bootloader...
*** updating Device Tree Blob: imx6dl-cubox-i.dtb ...
.....................................................
*** updating u-boot image: /flash/u-boot.img ...
*** updating u-boot SPL Blob on: /dev/mmcblk0 ...
35+0 records in
35+0 records out
35840 bytes (35.0KB) copied, 0.050320 seconds, 695.5KB/s
System reboots now...
2016-03-18 12:08:03 +01:00
Alex Deryskyba
68754ae925 packages/sysutils/busybox/scripts/init: Add the ability to update the kernel that resides on a block device, such as NAND partition 2016-01-15 14:41:18 +01:00
Stefan Saraev
b9adb2d9f9 move 'set ondemand threshold' to init 2015-06-17 10:46:11 +03:00
Alex Deryskyba
0c973c9b62 WeTek_Play: Add support for installing OE into NAND memory 2015-05-04 19:19:29 +03:00
Stephan Raue
98994fe324 Revert "WeTek_Play: Add support for installing OE into NAND memory"
This reverts commit 06e5bdcf78.
2015-05-03 19:20:30 +02:00
Alex Deryskyba
06e5bdcf78 WeTek_Play: Add support for installing OE into NAND memory 2015-05-02 17:45:49 +02:00
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