Commit Graph

3124 Commits

Author SHA1 Message Date
CvH
4de1c8befd Merge pull request #3193 from HiassofT/le9-v4l-utils-fix-udev-rule
v4l-utils: simplify 70-infrared.rules and fix kernel 4.20 issues
2018-12-30 22:47:12 +01:00
MilhouseVH
97db4b4af1 packages: fix more references to setup_toolchain vars 2018-12-28 03:57:00 +00:00
Matthias Reichl
37dc6ef716 v4l-utils: simplify 70-infrared.rules and fix kernel 4.20 issues
Using $id to get the rcX device name from the SUBSYSTEMS match,
as used by the upstrem v4l-utils udev rule, is easier and more
stable than using IMPORT{parent}, which needs to transmit info across
two levels (rcX->inputY->eventZ) and breaks with kernel 4.20.

Instead of running a shell script to check for the existance of
/storage/.config/rc_maps.cfg we can use the builtin udev TEST
function.

Also it's better to use ENV variables prefixed with a dot as
they are used only locally in the udev rule file and don't need
to be persisted in the udev database or exported to external tools.

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-12-28 01:26:34 +01:00
MilhouseVH
c1a650c862 packages: set [HOST|INIT|TARGET|BOOTSTRAP]_[CONFIGURE|CMAKE|MESON]_OPTS in pre_configure_$TARGET()
Because we set these variables unconditionally in scripts/build
2018-12-18 20:24:43 +00:00
MilhouseVH
c19a3ff780 packages: setup_toolchain $TARGET only called after package is sourced
Packages referencing variables defined in setup_toolchain such as CC, CXX,
AR, CFLAGS, LDFLAGS, HOST_CC etc. etc. must only reference these variables in
pre_build()/pre_configure()/pre_make() etc. functions, as the variables will not
be available when the package is sourced, but will be available after the call
to setup_toolchain() from scripts/build.
2018-12-18 03:43:28 +00:00
MilhouseVH
23b57735c9 Merge pull request #3165 from HiassofT/le9-udevil-permissions
udevil: don't change permissions of mounted filesystems
2018-12-16 16:22:01 +00:00
Matthias Reichl
23cc2e1b9b kernel-overlays-setup: fix ls error in journal if .config/firmware doesn't exist
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-12-15 14:28:47 +01:00
Matthias Reichl
e9e33e48eb udevil: don't change permissions of mounted filesystems
Setting mount_point_mode results in permanent changes of filesystem
permissions, trashing permissions users may have manually set up.

Udisks2 doesn't do that either so drop that option.

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-12-13 11:23:20 +01:00
CvH
c73c2c6a27 Merge pull request #3141 from HiassofT/le9-firmware-fix
fix .config/firmware handling
2018-12-04 09:30:17 +01:00
DaVukovic
19fd886d34 [busybox] Fixed 'getedid delete' section 2018-12-02 16:02:10 +01:00
Matthias Reichl
315421e634 linux: move .config/firmware handling to kernel overlay system
Creating an updates symlink to /storage/.config/firmware in the
kernel firmware directory makes it impossible to add firmware
overlays with an updates folder.

Furthermore bluez/hciattach only looks for firmware files directly in
the /lib/firmware directory and ignores the /lib/firmware/updates
directory. So adding BT firmware via .config/firmware didn't work.

Solve this by adding files from /storage/.config/firmware as the
last step in kernel overlays setup so firmware files from there
will show up directly under /lib/firmware and override other firmware
files installed by the system and kernel overlays.

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-12-01 18:27:17 +01:00
Dag Wieers
3a5af7a498 eventlircd: Fix OSMC Remote ContextMenu mapping
Without this fix, the context-menu key on the OSMC remote will fail to work, and maps to the EPG (TV channel guide).
This is discussed in https://github.com/osmc/osmc/issues/478
2018-11-22 23:25:58 +01:00
Matthias Reichl
74bcd5d36e busybox: enable dmesg and less in init
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-11-20 10:33:17 +01:00
Matthias Reichl
ec0e7fb3a2 eventlircd: prevent race with libinput / kodi
Currently both eventlircd and kodi try to grab input devices
which leads to a nasty race. If kodi wins the race eventlircd
can't do the keycode to lirc translation and users are left
with non-working buttons like OK.

Setting the LIBINPUT_IGNORE_DEVICE udev property for input
devices handled by eventlircd prevents the race as libinput
will then ignore these devices and kodi won't try to grab them.

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-11-04 11:15:25 +01:00
MilhouseVH
1f7d6fee4a Merge pull request #2993 from mglae/le9_fsresize
Improve fs-resize, fix delay and simplify
2018-11-04 02:36:02 +00:00
Mario Krupa
25732b0247 Fixed typo in order to make "delete" work again
"getedid delete" did not work because of the use of the wrong $gpu variable output "intel" which should read "intel/amd"
2018-10-26 13:33:14 +02:00
mglae
7c9ba8e7dc gptfdisk: bump 1.0.4 2018-10-23 18:50:57 +02:00
mglae
3d5457202d util-linux: bump 2.32.1 (non blocking uuid_generate()) 2018-10-23 18:50:57 +02:00
mglae
2be09187dc fs-resize: simplify using parted's 3.2 'resizepart' 2018-10-23 18:50:57 +02:00
Christian Hewitt
8d22f6ce1e busybox: update to 1.29.3 (#3042) 2018-10-23 12:01:41 +02:00
MilhouseVH
67fd315747 Merge pull request #3041 from chewitt/resize-timer
busybox: quit countdown timers on keyboard input
2018-10-23 10:59:31 +01:00
CvH
85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH
a4ec8951e0 cleanup: remove redundant PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH
4cffa5fe6f cleanup: remove PKG_ARCH="any" 2018-10-22 15:06:12 +02:00
CvH
2923f2b56a cleanup: remove PKG_SOURCE_DIR 2018-10-22 15:06:11 +02:00