26008 Commits

Author SHA1 Message Date
MilhouseVH
e1d6e92907 systemd: fix issues after #3326
/etc/98-busybox.conf configures the prompt and TERM.

PR #3326 stopped sourcing /etc/profile, which meant the
prompt no longer includes the HOSTNAME.

Additionally, #3326 removed code which unhides the cursor.
2019-09-19 09:09:27 +02:00
Lukas Rusak
010bd5fd9d systemd: enable switch debug-tty to provide a debug console
This allows us to use the default debug-shell.service provided
by systemd and cut down on custom made services. This will also
always provide a debug shell as there is no reason we shouldn't
have access to one.
2019-09-19 09:09:27 +02:00
Matthias Reichl
707b974d76 busybox: add workaround for systemd issue 867
journald on systemd versions up to 242 don't close the persistent
journal files on shutdown which leads to a harmless but annoying
Failed unmounting message during shutdown
https://github.com/systemd/systemd/issues/867

Set LazyUnmount=yes on the persistent log mount unit as a temporary
workaround until systemd is updated to 243 or newer.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-19 09:08:20 +02:00
Matthias Reichl
78080a6a46 busybox: cleanup persistent log setup when debugging is enabled
The ancient approach of symlinking /var/log to /storage/log doesn't
play nice with systemd as it doesn't setup proper dependencies and
unmounting /storage during shutdown may fail because systemd doesn't
know that it's needed for /var/log.

Use a conditional bind mount instead so systemd can automatically
create proper dependencies and unmount filesystems in the correct order.

Also store the persistent logfiles on /storage in a .cache/log
directory instead of log to avoid confusing users - users can access
logfiles via /var/log.

Note: we can't use tmpfiles.d to create the .cache/log directory on
/storage because that would run after local-fs.target but we need
the .log directory before that so it has to be done via a one-shot
service.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-19 09:08:20 +02:00
sky42
01931c4940 busybox: init: changed upgrade to update in notes/messages 2019-09-18 23:04:50 +02:00
sky42
4ba4ba6df2 busybox: init: less mount/umount for update process 2019-09-18 23:04:43 +02:00
sky42
f44f964127 busybox: init: mount squashfs early
to have a full set of binaries in the init process as early as possible
it now mounts the squashfs direct after mounting /flash.
there is also a hook /flash/post-sysroot.sh for custom scripting.
i will use this e.g. for lvm2 and cryptsetup in the init process,
because they are very big and i dont like them in initramfs.
2019-09-18 23:00:14 +02:00
MilhouseVH
f504f8cdcf LibreELEC-settings: update to LibreELEC-settings-d9765c9 2019-09-18 21:47:01 +01:00
MilhouseVH
a06ddbdce1 kodi: add pastekodi script 2019-09-18 21:47:01 +01:00
Matthias Reichl
28ecf8f4ac
Merge pull request #3803 from MilhouseVH/le92_rpi4_firmware
RPi4: add tools for updating SPI bootloader [backport]
2019-09-18 22:42:34 +02:00
MilhouseVH
ebceed98a9
Merge pull request #3845 from CvH/9.2/kodi-heif
imagedecoder.heif addon
2019-09-18 19:51:00 +01:00
CvH
c74a96b92d imagedecoder.heif: add package 2019-09-18 18:56:06 +02:00
CvH
bd07ce9ac5 libheif: initial package 2019-09-18 18:56:06 +02:00
CvH
a559932c08 libde265: initial package 2019-09-18 18:56:06 +02:00
MilhouseVH
97c2967826
Merge pull request #3805 from HiassofT/le92-systemd-fix-fs-corruption
[le92] fix filesystem corruption on reboot/shutdown
2019-09-18 17:18:44 +01:00
MilhouseVH
a6459fe37e
Merge pull request #3838 from HiassofT/le92-init-toram
[le92] init: make copying SYSTEM to RAM opt-in
2019-09-18 17:16:33 +01:00
MilhouseVH
12495fad3f
Merge pull request #3836 from HiassofT/le92-kodi-shutdown
[le92] kodi: give kodi enough time to properly shut down
2019-09-18 17:16:01 +01:00
MilhouseVH
17827c1c71 xf86-video-nvidia: update to xf86-video-nvidia-430.50 2019-09-18 16:37:20 +01:00
5schatten
226cc4234c
Merge pull request #3824 from MilhouseVH/le92_mesa-19.1.6
mesa: update to mesa-19.1.6 [backport]
2019-09-18 17:32:57 +02:00
MilhouseVH
e807b9ca54 rpi-eeprom: update to rpi-eeprom-1923a55 2019-09-18 11:05:14 +01:00
MilhouseVH
e5236c3910 RPi: update to firmware f8e0510 2019-09-17 23:19:04 +02:00
MilhouseVH
138374b949 RPi: update to firmware 7f607df 2019-09-17 19:19:34 +02:00
Matthias Reichl
1c091618e8 linux (RPi): update to 4.19.73-2b1731f
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-17 14:15:03 +02:00
Matthias Reichl
5f778a505a init: make copying SYSTEM to RAM opt-in
Copying SYSTEM to RAM eats up precious memory that'd be better used
for kernel filesystem cache and other things and can takes quite some
time on slower storage devices like SD cards.

Instead of having two options to define a minimum RAM size (below
which SYSTEM won't be copied) and the "noram" option (which disables
copying completely) reverse the logic and use a single "toram" option
which users can set on kernel command line if they want SYSTEM copied
to RAM.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-16 21:35:22 +02:00
Matthias Reichl
7cfe729d29 kodi: give kodi enough time to properly shut down
The current stop timeout of 5 seconds is way too low and
leads to systemd frequently killing kodi while it's still
shutting down. This is really bad since it can potentially
lead to corrupted files or databases and should be avoided
at all costs.

eg plain kodi 18.4 setup with only pvr.hts installed takes
about 6 seconds to stop on RPi4.

Increase the stop timeout to 30 seconds to allow proper shutdown
on slower systems.

While that is still a lot lower than the 90 seconds
systemd default it should both be enough for very slow systems
and also for us and users to notice kodi issues - in which case
those issues have to be investigated.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-16 14:34:32 +02:00
MilhouseVH
1c3da1e645 RPi: update to firmware a2778bf 2019-09-16 12:25:04 +02:00
CvH
536a2d0014
Merge pull request #3809 from HiassofT/le92-hyperion
[le92] hyperion: Update to version 2019-08-19
2019-09-15 18:58:53 +02:00
Matthias Reichl
dd198bf0b4 systemd: prevent unmounting flash via umount.target
add drop-in to set DefaultDependencies=no on /flash mount. This
removes the Conflicts=umount.target and /flash won't be unmounted
by systemd. systemd-shutdown will then later remount it ro and
try to unmount it.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-13 23:50:26 +02:00
MilhouseVH
9ee80a21b7 mesa: update to mesa-19.1.6 2019-09-13 15:42:33 +01:00
Matthias Reichl
07f8b9418e linux (RPi): update to 4.19.71-bd3452c
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-12 15:09:51 +02:00
Matthias Reichl
c04a6f4759 ffmpeg: update RPi4 HEVC patch to 18.4-Leia-9e6b24c
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-12 13:34:02 +02:00
Matthias Reichl
74afcc236f kodi (RPi4): update to 18.4-Leia-9e6b24c
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-12 13:34:00 +02:00
MilhouseVH
2129e29c22 [le92] libretro-mame: fix PKG_SHA256 2019-09-11 17:28:39 +01:00
Matthias Reichl
c042c433f6 hyperion: Update to version 2019-08-19
Fix resuming from paused in kodi 18

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-10 20:36:15 +02:00
MilhouseVH
2fd8ed32ce
Merge pull request #3801 from Kwiboo/rockchip-update-9.2
Rockchip: update rkmpp and sync linux config
2019-09-09 21:51:55 +01:00
MilhouseVH
d6367beef7 RPi: update to firmware 3bba190 2019-09-09 22:42:57 +02:00
Matthias Reichl
87e293535a systemd: drop patch that causes filesystem corruption on reboot/shutdown
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-09 10:45:05 +02:00
Jernej Škrabec
55bb46103b
Merge pull request #3795 from MilhouseVH/le92_samba-4.9.13
samba: update to samba-4.9.13 [backport]
2019-09-09 00:35:35 +02:00
MilhouseVH
6000b5c87b LibreELEC-settings: update to LibreELEC-settings-a8481d9 2019-09-08 20:23:02 +01:00
MilhouseVH
438198dcd6 init: cleanup flash; execute real script not wrapper 2019-09-08 20:22:52 +01:00
MilhouseVH
9e79363e78 rpi-eeprom: use wrapper to ensure /flash is writeable 2019-09-08 20:22:52 +01:00
MilhouseVH
505df7c788 LibreELEC-settings: update to LibreELEC-settings-edbb35f 2019-09-08 20:22:52 +01:00
MilhouseVH
72e19ccae8 init: add rpi-flash-firmware service 2019-09-08 20:22:52 +01:00
MilhouseVH
da11d70f7d rpi-eeprom: new package 2019-09-08 20:22:52 +01:00
MilhouseVH
c1cd2e5c73 flashrom: new package 2019-09-08 20:22:52 +01:00
MilhouseVH
6e05ca4a69 bcm2835-driver: /opt/vc/bin/vcmailbox (needed by rpi-eeprom-update) 2019-09-08 20:22:52 +01:00
MilhouseVH
bdeb0ccd4f binutils: build strings for target (needed by rpi-eeprom-update) 2019-09-08 20:22:52 +01:00
Jonas Karlman
749b9b2068 ffmpeg: update rkmpp patches 2019-09-08 18:16:59 +00:00
Jonas Karlman
2a5b368872 rkmpp: update to 451ae59 2019-09-08 18:16:59 +00:00
Matthias Reichl
329dbc22f2 binary addons: update to latest Leia versions
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-06 23:59:01 +02:00