Commit graph

361 commits

Author SHA1 Message Date
DaVukovic
e766b0bac5 updated getedid script because of an issue 2017-09-09 19:39:22 +02:00
MilhouseVH
52479d65d6 init: fix error handling during get_project_arch 2017-08-09 16:20:31 +01:00
MilhouseVH
c023719429 Merge pull request #1764 from chrisnovakovic/initramfs-enable-dns
initramfs: enable DNS if network is up
2017-07-12 04:39:36 +01:00
MilhouseVH
ea0f3f7096 init: make break after behaviour really break after 2017-07-10 05:15:49 +01:00
Alex Deryskyba
7e57ef4eee busybox: init: do not use dd option conv=fsync when updating kernel on a block device
Makes updates much faster for NAND installations on Amlogic-based devices.
2017-07-09 21:44:55 +02:00
Chris Novakovic
aeab02f728 initramfs: enable DNS if network is up
In certain situations, it is desirable for hostnames to be resolvable in
the initramfs (e.g., when a hostname is specified as the NFS server in
the "boot" or "disk" kernel parameters). If the network is up when the
init script is executed (e.g., when the "ip" kernel parameter is
specified) and a DNS server is known, write it to /etc/resolv.conf so it
can be used for DNS requests.
2017-07-09 00:31:52 +01:00
Lukas Rusak
c9a5cdefc3
busybox: use cttyhack 2017-07-07 13:37:11 -07:00
MilhouseVH
1729b9b201 createlog: bring sanity to kodi log order 2017-04-27 23:06:08 +01:00
mglae
d481e13108 busybox: fix fs-resize by using sgdisk 2017-02-19 17:56:21 +01:00
DaVukovic
7d91f2e126 busybox: cleanup getedid script 2017-02-05 08:38:22 +04:00
DaVukovic
cce01587e7 busybox: add getedid script 2016-12-18 20:00:49 +04:00
Lukas Rusak
725ea4f977
busybox: use unified /usr 2016-12-04 13:23:45 -08:00
MilhouseVH
fb1ac439cf openssh: UsePrivilegeSeparation/StrictModes not needed 2016-10-16 14:44:03 +01:00
MilhouseVH
213b65931c init: make sure /storage permissions are correct 2016-10-06 22:09:53 +01:00
MilhouseVH
cbb002240b init: synchronise UEFI and legacy syslinux.cfg updates 2016-09-28 18:27:28 +01:00
Lukas Rusak
a4cdd9345c Merge pull request #738 from MilhouseVH/gpt_fsresize
scripts/mkimage: Add run mode, remember default selection, resize gpt…
2016-09-20 13:12:21 -07:00
MilhouseVH
7353f15dd3 scripts/mkimage: Add run mode, remember default selection, resize gpt partitions 2016-09-15 23:25:13 +01:00
MilhouseVH
fdcf909dcf init: make sure /storage is owned by root 2016-09-10 00:56:25 +01:00
Christian Hewitt
d416dad6d1 Merge pull request #535 from MilhouseVH/init_protection
init: Add upgrade check to avoid incompatible upgrades [RFC,WIP]
2016-09-01 09:43:44 +04:00
MilhouseVH
dc41c0580c init: Add upgrade check to avoid incompatible upgrades [RFC,WIP] 2016-09-01 05:06:24 +01:00
MilhouseVH
692a1f979d logfiles: Add CPU governor details to 03_Hardware.log 2016-08-29 03:39:52 +01:00
MilhouseVH
a0e3207846 init: mount per-client boot/disk if available & configured (#621) 2016-08-26 20:14:35 +04:00
MilhouseVH
e90a2358af init: Report out of space when unable to extract archive/compressed image 2016-08-05 21:07:45 +01:00
Peter Vicman
490df59b36 installer: fix typo for update/fs-resize 2016-07-30 16:31:48 +02:00
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