Commit Graph

3258 Commits

Author SHA1 Message Date
Matthias Reichl
954f0c9ec5 Merge pull request #3818 from pretoriano80/eventlircd-new-rule
eventlircd: adding new rule for iMON Panel, Knob and Mouse(15c2:ffdc)
2019-10-09 21:12:35 +02:00
MilhouseVH
39f0f8023c Merge pull request #3856 from mglae/le10_fsck
init: fsck: wait for devices and unhide messages
2019-09-24 20:49:33 +01:00
MilhouseVH
bb51497898 Merge pull request #3843 from HiassofT/le10-debug-shell
systemd: use upstream method to enable and configure debug shell
2019-09-24 20:44:17 +01:00
MilhouseVH
2bcc7304b0 Merge pull request #3831 from HiassofT/le10-persistent-logging
busybox: cleanup persistent log setup when debugging is enabled
2019-09-24 20:43:04 +01:00
MilhouseVH
bf9d3db27b Merge pull request #3825 from sky42src/le10-early-squashfs
busybox: init: mount squashfs early
2019-09-24 20:37:25 +01:00
MilhouseVH
993ac53944 init: add fix for RPi4 serial numbers 2019-09-23 17:17:52 +01:00
mglae
27672027c7 init: fsck: wait for devices and unhide messages 2019-09-19 23:46:25 +02:00
Sascha Kuehndel (InuSasha)
8903d66bb6 meson: use TARGET_x 2019-09-19 11:14:43 +02:00
sky42
a76b173d7d busybox: init: changed upgrade to update in notes/messages 2019-09-18 20:46:55 +02:00
MilhouseVH
a404c441a0 Merge pull request #3804 from HiassofT/le10-systemd-fix-fs-corruption
fix filesystem corruption on reboot/shutdown
2019-09-18 19:43:35 +01:00
sky42
a62877a484 busybox: init: less mount/umount for update process 2019-09-18 20:37:51 +02:00
sky42
824ed7c281 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 20:37:50 +02:00
MilhouseVH
64ecfa4e15 Merge pull request #3820 from HiassofT/le10-init-toram
init: make copying SYSTEM to RAM opt-in
2019-09-18 19:11:36 +01:00
Matthias Reichl
dd2694fc74 systemd: use upstream method to enable and configure debug shell
With systemd-debug-generator installed we can use the standard
"systemd.debug_shell" kernel command line parameter to enable the debug
shell. Since systemd 243 the tty can also be changed by appending
"=ttyXYZ" to that parameter.

Use this method instead of enabling the debug shell on all systems
by default.

Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-18 15:28:18 +02:00
Matthias Reichl
d85c804c75 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-16 18:57:58 +02:00
Matthias Reichl
dac78e7c65 Merge pull request #3794 from MilhouseVH/le10_systemd-243
systemd: update to systemd-243
2019-09-15 12:48:10 +02:00
Matthias Reichl
74de7b2aca 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:44:19 +02:00
CvH
1e1e695073 Merge pull request #3703 from chewitt/amlogic-master
update Amlogic to 5.3.x and various other cleanups
2019-09-13 13:16:45 +02:00
Matthias Reichl
ed840db477 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-13 10:28:56 +02:00
pretoriano80
be3748d89b eventlircd: adding new rule for iMON Panel, Knob and Mouse(15c2:ffdc)
- enables eventlircd for Imon UltraBay (front panel buttons)
- this will fix the issue with some front panel buttons not being
detected by Kodi (if keycode value is higher than 255)

Signed-off-by: pretoriano80 <viusflag@libero.it>
2019-09-12 19:59:27 +03:00
chewitt
da9d8fcb8b busybox: fix dtfile helper script 2019-09-10 16:53:08 +00:00
Matthias Reichl
8d9dd9ec67 systemd: drop patch that causes filesystem corruption on reboot/shutdown
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-09-08 23:53:08 +02:00
Matthias Reichl
6f407993d2 Merge pull request #3729 from MilhouseVH/le10_rpi4_firmware
RPi4: add tools for updating SPI bootloader
2019-09-08 20:21:42 +02:00
MilhouseVH
5d01dc4f1d init: cleanup flash; execute real script not wrapper 2019-09-08 18:30:23 +01:00
MilhouseVH
05184d1d23 init: add rpi-flash-firmware service 2019-09-06 19:30:13 +01:00