Commit graph

3278 commits

Author SHA1 Message Date
Tomáš Kelemen (vudiq)
f51fc98b5c
busybox: make the .update folder world-writable
in case user wants to copy update file from a pc to a disk mounted with
user privileges, the write to this folder is not permitted and root
privileges are required. making the folder "world-writable" allows
writing to this folder also with regular user permissions.
2022-02-24 16:34:00 +01:00
Tomáš Kelemen (vudiq)
f7dce48bc5 systemd: retroarch: retroarch *.mount units: fix order of units starting/stopping, gracefull shutdown 2021-10-14 20:36:16 +02:00
by-gnome
6ac01face8
Include /dev/nvme* for automounting m.2 devices (#1438)
* Include /dev/nvme* for automounting m.2 devices

* Update packages/sysutils/udevil/udev.d/95-udevil-mount.rules

Co-Authored-By: MilhouseVH <MilhouseVH@users.noreply.github.com>

Co-authored-by: adufray <github@adufray.com>
Co-authored-by: MilhouseVH <MilhouseVH@users.noreply.github.com>
2021-07-27 23:03:45 +03:00
Tomáš Kelemen (vudiq)
f6b3d059cd busybox/createlog: fix typo 2021-06-21 19:47:18 +02:00
Tomáš Kelemen (vudiq)
7c034fe482 createlog: adapt for Lakka needs 2021-06-13 17:01:42 +02:00
GavinDarkglider
abd459a6be
Switch Build fixes, and retroarch patch for battery stats (#1360) 2021-06-01 15:07:29 +03:00
by-gnome
ca4668f8a5
busybox: fix message about undersized system partition (#1333) 2021-05-25 20:35:01 +03:00
David Lawson
4d2ef03fab
[Issue #1174] rpi: change HandlePowerKey action to poweroff (#1324) 2021-05-23 20:42:10 +03:00
GavinDarkglider
810d341599
Add support for Base L4T Platform and Nintendo Switch device (#1288)
* Add new platform: Linux4Tegra(L4T) base

* L4T: Add Nintendo Switch device to L4T Project

* L4T: Add support for Nintendo Switch bootloader package to build system

* Script Update: Extract Add support for tbz2 extension

* Package Update: Update pulseaudio to latest building version, add patches to support ucm2 as that is what lakka is shipping.

* New Package: Add rewritefs package, because we need to edit filenames on the fly, when using nintendo switch, as all data is saved to fat32 partition, where : is not a valid character in file names. eg. Bluetooth Configs

* Package Update: Linux Add support for nintendo switch l4t kernel

* Package Update: Busybox: Allow L4T device builds to just dump files in initramfs, such as firmware or new init script

* New Package: Mergerfs

* Package Update: Retroarch Bump version, and Add Nintendo Switch support, add support for X display server to retroarch start enviornment

* New Package: xf86-video-nouveau

* Package Update: libxkbcommon L4T fixes

* Dockerfile: Add needed build dependencies for L4T Platform stuff.

* Update Scripts: Add support for building L4T Switch to build_all script

* Package Update: Mupen64plus_next Add Nintendo Switch build support

* Package Update: Mame2015 Add support for building on Nintendo Switch

* Package Update: Bluez Add support for Nintendo Switch

* Package Update: libdrm remove libdrm.so.2 symlink with L4T boards, as nvidia supplies their own
2021-05-10 22:56:02 +03:00
David G. F
61d0e9d06a
Improve key handler (volume & mute keys) (#1271) 2021-04-21 14:19:01 +03:00
David Lawson
04802f0139
Install pci-utils everywhere (#1259)
This was recently enabled for all architectures but only gets install for x86. Let's install it everywhere.

Main motivation: flashing rpi-eeprom
2021-04-13 01:30:03 +03:00
David G. F
00d9a6eaa9
Add volume key support to OGA and RG351V (#1241)
* Add event service package and a systemd service for OGA

This is a service that listens for certain keys on certain devices and
injects commands to Retroarch.

* Update Retroarch and add command support
2021-04-05 21:43:52 +03:00
Tomáš Kelemen
dcc628b9dd
rpi-eeprom: drop deprecated flashrom, use pciutils (#1237) 2021-04-02 21:34:20 +03:00
Tomáš Kelemen
f9683c551d
systemd, grub, build_all minor changes (#1231)
* build_all: add RPi4.aarch64, drop noobs

* grub: not needed for 32bit Generic

* systemd: remove wait-time-sync from dep's
2021-03-31 23:44:58 +03:00
David G. F
424b1d8d8f
Adding initial support for Gameforce CHI console (#1182)
This is essentially an OGA clone with a bigger (640x480) non-rotated
screen. Requires a joypad kernel patch (a copy of OGA's + small bits) and a new
DTB.

Changed a bit the way splash screens work, now you can specify proper
resolutions (instead of just vertical res) so that it works well for
cases like rotated screens.

Tweaked Retroarch to ship both drivers (DRM + GO2 DRM) and the GO2
driver to inhibit itself in case the console has a non-rotated display.
This should work for any console as long as the resolution is reported
correctly. The regular DRM driver should have 1 frame less latency!

What's not working: Console is still rotated (minor issue) and kernel
panics on poweroff :) Debugging it, but I'll need to solder the UART for
that.
2021-02-19 17:05:46 +02:00
by-gnome
e5423832af
cleanup initramfs build, drop support for kernel modules in initramfs (#1117)
* initramfs: drop dependency on linux:init

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* linux: drop obsolete make_init and makeinstall_init functions

Signed-off-by: Matthias Reichl <hias@horus.com>

* linux: move initramfs build+installation to pre_make_target

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* drop INITRAMFS_MODULES option

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* drop UVESAFB_SUPPORT option

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* busybox: drop uvesafb module handling in init

Signed-off-by: Matthias Reichl <hias@horus.com>

* v86d: drop no longer used package

Signed-off-by: Matthias Reichl <hias@horus.com>

* linux (Generic): disable UVESA framebuffer support

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* linux: build linux image before building modules

Signed-off-by: Matthias Reichl <hias@horus.com>
Modified by: by-gnome <by-gnome@yandex.ru>

* linux: move module installation to makeinstall_target

Signed-off-by: Matthias Reichl <hias@horus.com>

Co-authored-by: Matthias Reichl <hias@horus.com>
2020-12-08 01:24:08 +02:00
David G. F
cc515dab96
Bump squashfs-tools version (#1070)
Seems it has some GCC 10 compilation issues. This cleans up the patches.
This also points to the actual repo (the kernel one seems drepecated).

See https://github.com/plougher/squashfs-tools/pull/83
2020-10-25 01:11:18 +03:00
Ntemis
791a71303f Merge branch 'libreelec-9.2' of github.com:LibreELEC/LibreELEC.tv 2020-10-19 00:27:16 +03:00
David Vukovic
16c22208da [getedid] remove kernel check 2020-10-07 00:36:41 +02:00
by-gnome
1e49ffcc12
systemd: fix bump fs.file-max (#1049) 2020-10-03 01:04:10 +03:00
Sascha Kuehndel (InuSasha)
210f07124c buildsystem: host should not depend on cross-compiler 2020-08-07 15:26:28 +02:00
Ntemis
48a2bf14ea Merge branch 'libreelec-9.2' of github.com:LibreELEC/LibreELEC.tv 2020-07-23 20:42:53 +03:00
mglae
8dca6fefa3 systemd: remove systemd-time-wait-sync and depend on wait-time-sync 2020-06-15 18:27:23 +02:00
mglae
d142c8df78 wait-time-sync: new package to reliable detect ntp synchronized system time 2020-06-15 18:27:22 +02:00
Ntemis
961e759bc3 Merge branch 'libreelec-9.2' of github.com:LibreELEC/LibreELEC.tv into lakka-9.2 2020-06-15 16:20:09 +03:00
CvH
5596ef7449
Merge pull request #4296 from mglae/le92_installer_fat16
installer: use FAT16 for Generic system partition / dosfstools: reduce fsck.fat log spam
2020-05-03 11:03:51 +02:00
Matthias Reichl
e2059c7d5a lirc: add patch to fix zotac driver
See https://sourceforge.net/p/lirc/tickets/327/

Signed-off-by: Matthias Reichl <hias@horus.com>
2020-04-10 10:18:47 +02:00
mglae
fe446d0370 dosfstools: fsck.fat: reduce log spam, no backup boot sector diff in automatic mode 2020-04-04 18:35:26 +02:00
Ntemis
94313d4599 Merge branch 'libreelec-9.2' of https://github.com/LibreELEC/LibreELEC.tv into Lakka-3.0 2020-02-06 03:29:32 +02:00
DaVukovic
751f49eec5 [busybox] getedid fixes 2020-01-28 08:46:26 +01:00
Christian Hewitt
a8b12b1052
Merge pull request #4135 from MilhouseVH/le92_dosfstools_e2fsprogs_updates
dosfstools/e2fsprogs: bump and fix [backport]
2020-01-23 17:53:25 +04:00
chewitt
cffbf60a6a systemd: add 70-local-keyboard.hwdb to systemd package 2020-01-22 07:25:28 +00:00
MilhouseVH
6f80a63266 e2fsprogs: remove unrecognized option 2020-01-21 19:05:51 +00:00
MilhouseVH
8b8fa8b2a1 e2fsprogs: disable automagic udev/systemd/crond detection 2020-01-21 19:05:51 +00:00
MilhouseVH
97a6b1e063 busybox: disable mkfs.vfat for target, use full-fat dosfstools 2020-01-21 19:05:37 +00:00
MilhouseVH
5ce2a0bf78 dosfstools: drop pre-4.0.0 build workarounds 2020-01-21 19:05:37 +00:00
MilhouseVH
d5cf40ff13 e2fsprogs: update to e2fsprogs-1.45.3 2020-01-21 19:05:37 +00:00
MilhouseVH
91b9547161 dosfstools: update to dosfstools-4.1 2020-01-21 19:05:37 +00:00
Ntemis
0c3cf59559 Merge branch 'libreelec-9.2' of https://github.com/LibreELEC/LibreELEC.tv into Lakka-3.0 2020-01-16 00:31:03 +02:00
Ian Leonard
64e85d7498 tz: update to 2019c
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-01-09 17:10:51 +01:00
Ntemis
8fe811009e Merge branch 'libreelec-9.2' of https://github.com/LibreELEC/LibreELEC.tv into Lakka-LE9.2 2019-12-24 16:02:10 +02:00
Matthias Reichl
3f0c2ebb56 lirc: add dependency on alsa-lib
This fixes missing alsa_usb plugin.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-12-09 13:45:53 +01:00
Christian Hewitt
d97ed1c987
Merge pull request #3991 from HiassofT/le92-nfs-backports
[le92] NFS / netboot backports
2019-12-09 08:01:35 +08:00
mglae
4dd199dff2 init: fsck: fix kmsg log writes 2019-11-28 00:21:37 +01:00
Matthias Reichl
29d9d08e49 init: don't mount nfs shares with soft option by default
Using the soft timeout option for NFS mounts is a really bad idea
and the nfs(5) manpage explicitly warns about it's issues:

    NB: A so-called "soft" timeout  can  cause  silent  data
    corruption  in  certain cases. As such, use the soft op‐
    tion only when client responsiveness is  more  important
    than  data  integrity.  Using NFS over TCP or increasing
    the value of the retrans option may mitigate some of the
    risks of using the soft option.

So don't enable it by default, anyone who feels keen to take the
risk can specify it manually on kernel command line.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-16 17:38:24 +01:00
Matthias Reichl
dd6f2cfe5c systemd: prevent unmounting storage via umount.target
/storage will be unmounted by systemd-shutdown, like /flash.

As the squashfs root has several symlinks to /storage it
should not be unmounted during the normal shutdown process.
This prevents the symlinked files/directories vanishing too early
and also removes the "unmount /storage failed" messages when
netbooting.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-16 17:38:24 +01:00
Matthias Reichl
092e574f57 systemd: add backport patch from PR 14040
This removes the root mount dependency on systemd-journal.socket
and fixes drop-in loading for storage.mount.

See https://github.com/systemd/systemd/pull/14040

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-16 17:38:24 +01:00
Matthias Reichl
4f5fee7653 systemd: enable systemd-timesyncd when using kernel ip configuration
connman's NTP client can't be used if it's not managing the network
interface so use systemd's timesyncd as we already build it.

timesyncd is automatically configured to use the NTP servers provided
by kernel ip config, if they are missing the default fallback NTP
servers (currently the ones from Google) are used.

Users can also provide timesyncd configuration files via
/storage/.config/timesyncd.conf.d/ eg to change the (fallback) servers.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-16 17:31:39 +01:00
Matthias Reichl
4159f97316 connman: move host and resolver configuration to separate service
Setup system hostname, /etc/resolv.conf and /etc/hosts in a service
that can be run independently of connman.

The volatile etc files are created in /run/libreelec instead of
/run/connman so they can be modified similarily to standard linux
installations with a writable /etc. Connman can then hook into
that and move resolv.conf management to /run/connman/resolv.conf when
it's started.

If kernel IP configuration is used the resolv info from the kernel
will be used to create resolv.conf. Users can also provide their
own resolv.conf file in /storage/.config/resolv.conf which takes
precedence over ther kernel info. If no resolv.conf info is present
a fallback with use the Google nameservers is created (as before).

Loopback network interface setup has been removed, this is already
set up by systemd.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-16 17:31:18 +01:00
Matthias Reichl
3be49f5d07 busybox: create marker file if kernel ip configuration is used
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-11-16 17:30:12 +01:00