LE 9.2 with lvm2, luks (dm-crypt, veracrypt), ext4 encryption and some newclock5 kodi patches

  • download link sky42 LibreELEC community builds

    latest is 9.2.1 and has version number 9.2.1-#200303


    If you have any problems please install offcial LibreELEC version on which my build is based on and test again. If the problem is the same it is most likely not my build.

    If you dont use any of the following additions i made, then my images have no benefit for you and you should use the official build.


    the following was added in my community build:

    - /flash 1024MB

    - added a 2nd kernel for Generic: ported 4.19 from 9.0.2 and updated to the latest version (suffix kernel-4.19)

    - no GUI tools for the encryptiom or lvm2

    - enable kernel config for lvm2 and snapshots (no raid, no cache)

    - added lvm2 tools (config is under /storage/.config/lvm)

    - enable kernel config for dm-crypt to use cryptsetup (compatible with luks, veracrypt, truecrypt)

    - added cryptsetup to manage encrypted block devices with luks, veracrypt and some more

    - enabled /etc/crypttab support in systemd

    - enable kernel config for ext4 filesystem encryption

    - added fscryptctl to manage ext4 encryption

    - enable kernel config for more crypto modules and hardware acceleration (if existing)

    - curl: enable protocol support for scp, sftp, smb, smbs

    - added some Kodi newclock5 patches from popcornmix to all projects where they are not included (details see github source below)



    Builds are done for all project and devices that are supported by LE 9.2 at the moment (Generic, RPi, Rockchip)


    daily use by me: RPi4 and sometimes Generic

    tested booting: RPi2

    just build and never tested: all the rest



    The following links are only for people who are interested in the source code of my builds.

    You will find them in my GitHub account sky42src (sky42) · GitHub

    full source of my LE 9.2

    GitHub - sky42src/LibreELEC.tv at 9.2.1-200303

    diff of my source to LE 9.2

    Comparing LibreELEC:9.2.1...sky42src:9.2.1-200303 · LibreELEC/LibreELEC.tv · GitHub



    Have Fun

    sky42

  • reserved post for some documentation (i want to write) on how to use lvm2, cryptsetup and hopefully in a later version network bound disc encryption.

  • Thanks for your work. I'm using the LibreELEC-Generic.x86_64-sky42-9.1.501-#190907-kernel-4.19 version, since the latest versions with Linux Kernel 5.0.x fail to detect the RTS5229 built in card reader on my NUC7PJYH.

    Everything is working fine now.

  • Hi, just a wuestion about the newclock5 kodi patches are there some fixes for screen tearing for rpi4?

  • I just registered to say thank you for your work!

    Everything works great!

    Ok, setting up the encrypted stuff and have it auto mounted was not the easiest as there is no documentation, but google helped!

  • sky42 What am I doing wrong?

    Code
    1. cryptsetup --veracrypt open --type tcrypt /dev/sda1 disk1 --key-file /storage/keyfile
    2. mount /dev/mapper/disk1 /media
  • Wicher

    i use this commands

    Code
    1. cryptsetup luksOpen -d /storage/Key /storage/UCrypt Crypt
    2. mount -t ext4 /dev/mapper/Crypt /storage/.Crypt
  • Avan This is for LUKS, I'm looking for a way to mount VeraCrypt since this disk is shared with a Windows machine.


    Edit:

    I managed to make it work, I had to change the mountpoint. Now I just have to fix the automount script.


    Edit2:

    Is there a way to skip passphrase prompt? I'm currently using a keyfile only with an empty password. Is there equivalent of /tryemptypass for cryptsetup?

    Edited 2 times, last by Wicher ().

  • Hello Sky42!

    Thank you for your builds!

    Do you plan to build a generic version based on LE9.2.2?


    Regards

    Nicolas