Only create a logfile for the previous boot if persistent journal
is being used.
Also applies some changes for shellcheck warnings:
`...` to $(...)
Verifying variable is set ${var:?} before rm'ing
Useless use of cat
Command grouping when the commands redirect to the same file
Use of == in [...]
[ test1 -a test2 ] to [ test1 ] && [ test2 ]
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
introduced in https://github.com/LibreELEC/LibreELEC.tv/pull/7386
LibreELEC:~ # udevadm hwdb --update
/usr/lib/udev/hwdb.d/70-local-keyboard.hwdb:28: Property expected, ignoring record with no properties.
introduced in https://github.com/LibreELEC/LibreELEC.tv/pull/7386
LibreELEC:~ # udevadm hwdb --update
/usr/lib/udev/hwdb.d/70-local-keyboard.hwdb:28: Property expected, ignoring record with no properties.
* libglvnd: add back exception for L4T and Ayn
* xorg-launch-helper: special case for odin
* Odin: fix retroarch assets path
* busybox: add odin-workaround to init script
* xorg-server: add rotation patch
* xorg-server: don't move libglx.so for odin
* xorg-server: remove dangling if from xorg-configure
* Initial fully buildable/bootable Odin Support
* Rework NX-Boot to FAT32 Boot for shared usage between switch and odin
* Move shared packages from switch/odin to main packages folder
With kernel 6.0 the legacy efi vars interface at /sys/firmware/efi/vars was removed
(https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?h=v6.0&id=0f5b2c69a4cbe4166ca24b76d5ada98ed2867741).
The efibootmgr tool requires now to mount the efivarfs pseudo-filesystem on
/sys/firmware/efi/efivars. Enabling upstream EFI support for systemd is the easiest way to
get it mounted on EFI systems but still having correct (non-)support for legacy boot.
No additional files are added to the image.
CONFIG_HUGETLBFS and CONFIG_HUGETLB_PAGE need to be set for
/sys/kernel/mm/hugepages to be available. Reading at
https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt
remove unused units:
- systemd[1]: systemd-journald-audit.socket was skipped because of an unmet condition check (ConditionSecurity=audit).
- systemd[1]: dev-hugepages.mount was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).