Posts by sky42

    Edit: 2018-05-09 corrected the dependencies of cryptsetup, lvm2 (more exact libdevmapper) is needed and therefor only mdadm as pkg is optional

    I like all my systems cold secure, that means all data are fully encrypted. The one exception are my kodi boxes. I did try to get all the infos away from the kodi box, but at least the Textures13.db is on the box, when i mounted .kodi/temp as tmpfs and redirected Thumbnail to the server.

    So i build a community version (my latest) LE 8.2.5 with UHD 630 / Coffee Lake support and luks, lvm2, dm-raid and since the end of last year i also shared it in the forum.

    features tested:

    - truecrypt with "cryptsetup open --type tcrypt /dev/sda6 tcrypt-sda6 ; mount /dev/mapper/tcrypt-sda6 <your mountpoint>" created on OE 5.0 with truecrypt

    - veracrypt with "cryptsetup open --veracrypt --type tcrypt /dev/sdb6 vcrypt-sdb6 ; mount.exfat /dev/mapper/vcrypt-sdb6 <your mountpoint>" created on Windows 10 with veracypt and formated as exfat

    - cryptsetup luks i used to create and mount encrypted userdata

    I striped down all my changes to the minimum to have cryptsetup luks usable and for Generic enabled AES-NI to have it hardware accelerated. The lvm2 package is needed by cryptsetup. The kernel config also contains all to use mdadm.

    All what is needed is in cryptsetup-lvm2-dm-raid.zip and the RPi2 kernel patch should apply to other architerures without so much trouble. There are only kernel config patches for Generic and RPi2 build for 8.2.5 with a kernel 4.14 (like the LE git master at the moment).

    Sadly my script tools to mount userdata encrypted are not yet ready for the public, but i would love to see all what is needed in LE so that only a addon is needed or i patch the init to support it at boot time. For curious persons here are my scripts without any support for it from /storage/.cryptluks scripts-cryptluks.zip and it uses a backend webserver and gets all the parameter from the kernel command line.

    For boot time support i have a plan to use nework bound disc encryption (NBDE) with tang and clevis to make it totaly unattended bootup with encryption.

    Thanks for reading my proposal.

    There are 2 syslinux.cfg files, 1 for BIOS and 1 for UEFI. I do forghet that some time and edit the wrong one on my UEFI boxes. The reason i do edit them is that i have at least 2 LE versions on my box (stable, nightly) and select with the help of menu.c32 or vesamenu.c32.

    My solution is the UEFI one just includes the BIOS one.

    /flash/syslinux.cfg normal as ever

    /flash/EFI/BOOT/syslinux.cfg only with one line "INCLUDE /syslinux.cfg"

    That works perfect for me. But at least in packages/sysutils/busybox/scripts/init and the getedid tool the syslinux.cfg is manipulated and copied.

    Thanks for reading my proposal

    That would be very sad to dont use it. It is very usefull to me for some years to boot more than 1 OpenELEC/LibreELEC version on one box (after enlaging /flash of course). For me there are at least 3 version on my box: the stable one, the nightly and since 8.2 a patched version with Xin1 playback, which is not very stable.

    The BOOT_IMAGE is set by syslinux because of a kernel line with /kern-82. I set the SYSTEM_IMAGE in the kernel command line.

    It is very practicle to have multiple LibreELEC versions on one box (each one with its own /storage) and to use the automatic update within. I do select them with the help of menu.c32 or vesamenu.c32 and some rewritten syslinux.cfg.

    I can rewrite my patch to only act on the Generic version (if i can find out in the init script which one is booting). Or should i make a feature request of it? If not i can live with only using .tar for updates.

    Sorry i am not a developer. I just gather information, patches, new software versions and try to build them.

    If i had to guess i would say the plugin.video.quasar ist the problem, but i am just guessing. The other thing that looks probably problematic is the cec.

    You have a lot of plugins. For me it is just kodi + tvheadend client + unpause jumpback. That is pretty stable for me (so far).

    What you want does already exist in tvheadend and it is quit good. I use tvheadend some years. For me it is running on my server. For you it is a addon of your kodi box (if i understand you correct).

    Go to http://<ip or name of your kodi box>:9981/ e.g. 192.168.178.57:9981 or whatever the ip or name of your kodi box is.

    The klick "Digital Video Recorder" now "Autorecs" and there are the rules for automatic recordings.

    If there is already a rule klick on it and then klick edit and select "Duplicate handling" as you like.

    You dont need kodi to setup new Autorecs. You can do it entirely in the tvheadend Webinterface and still see the recordings in kodi. The most simple one for me is: Select something in the tvheadend Webinterface EPG -> klick Info Icon -> klick Autorec -> goto Autorecs and edit it for duplicate handling.

    Hope that helps

    You can have that if you buy a kaby lake NUC or a Coffee Lake (when they are out). For me it reads that Intel decided that we dont get HDR in a Atom NUC.

    HDMI2.0a is needed for HDR, but that does not mean it is also the other way around.

    At the moment you can selekt any Kaby Lake NUC like Box. But be carefull there are some out there without HDMI 2.0. Than you need at least a DisplayPort 1.2 and a Adapter like Club 3D CAC-1070.

    And also you end up all the time with a LSPCon like the Club 3D CAC-1070 or a on board LSPCon as in the Intel NUCs with Kaby Lake and HDMI 2.0a. The only native Intel HDMI 2.0 GPU so far is the Gemini Lake and that one does not HDR. For LSPCon to work you need the lastest Firmware in the LSPCon and a linux kernel 4.14 or later. Yes these active adapter or the on board LSPCons have a firmware and it is only updateble with windows (so far).

    Hardware that has the capability with DP 1.2 + active Adapter or HDMI 2.0a on board:

    ASRock BeeBox with any Core i3/i5/i7 with a number of 7000 or 8000 (but look for 4k@60Hz)

    Intel NUC7I3DNKE / NUC7I5DNKE with 2x HDMI2.0a

    MSI Cubi 3 Silent with any Core i3/i5/i7 with a number of 7000 or 8000 (but look for 4k@60Hz)

    I use a

    Streacom FC8 Evo + MH1 Heat Pipes

    ASRock B360M itx (on board HDMI 1.4a, DP 1.2)

    Intel i3-8100

    Club 3D CAC-1070

    I am looking nearly a year for the right hardware. But i had one more chanllange. My AVR is not capable of 4k, so i need a HDMI 1.4 for audio connected to the AVR and a HDMI 2.0a to the TV. I did send 4 boxes back to amazon because of my complicated setup.

    If the kernel name is not KERNEL the update process fails on Generic x86_64 version 8.2.5, when the update file is a .img.gz. With .tar files as update all is fine.

    The problem is in packages/sysutils/busybox/scripts/init. The update process says "kern-82 or SYSTEM is missing". For me it looks like the UPDATE_KERNEL variable is wrong and the patch init_patch.txt fixed it for me, but i dont know if there is any impact on other architectures than x86_64. I commented out 5 line, because i could not figure out what theyshould do and they change UPDATE_KERNEL and that seems to be the problem.

    kernel command line

    kodi7:~ # cat /proc/cmdline

    root=/dev/ram0 rdinit=/init usbcore.autosuspend=-1 ip=dhcp boot=/dev/sda1 SYSTEM_IMAGE=sys-82 disk=/dev/sda5 ssh quiet BOOT_IMAGE=/kern-82


    Hardware:

    Asrock B360m itx with 8GB, 300GB, i3-8100 und uefi only mode

    NUC D34010WYK with 8GB, 250GB