Posts by pasnox
-
-
sky42 awesome.
Another issue, it seems we can't upgrade from within libreelec update interface, it seems your repo miss some metadata. can you fix that?
thanks
-
-
sky42 thank you so much for the fixes and new releases!!!!
And don't be sorry for the great work you are doing!
-
-
-
-
No I did not so I ended up writing my own.
I'm currently writing a stripped version of the retroarch addon for Kodi Matrix.
I will post update here when done.
-
I just migrated to 10.0 from 9.2 where my encrypted disks / setup was working corrrectly.
On 10.0 it does not works. For some reason, /dev/mapper is not populated.
When I check in journalctl -xe, I can see systemd-cryptsetup-generator exiting with error code 127:
Oct 03 21:28:18 LibreELEC systemd[1]: Reloading.
Oct 03 21:28:18 LibreELEC systemd[960]: /usr/lib/systemd/system-generators/systemd-cryptsetup-generator failed with exit status 127.
Oct 03 21:29:56 LibreELEC systemd[1]: dev-mapper-luks\x2d1610e63e\x2de78a\x2d48e9\x2da3f1\x2d25a073dfc0ce.device: Job dev-mapper-luks\x2d1610e63e\x2de78a\x2d48e9\x2da3f1\x2d25a073dfc0ce.device/start timed out.
Oct 03 21:29:56 LibreELEC systemd[1]: Timed out waiting for device /dev/mapper/luks-1610e63e-e78a-48e9-a3f1-25a073dfc0ce.
Oct 03 21:29:56 LibreELEC systemd[1]: Dependency failed for luks mount for Kodi 1610e63e-e78a-48e9-a3f1-25a073dfc0ce.
Doing some testing from ssh, we can spot some missing dependency in the binary (or at least, what looks like bad rpath, or /lib/systemd missing from the lib paths):
LibreELEC:~/.config/system.d # "/usr/lib/systemd/system-generators/systemd-cryptsetup-generator" --help
/usr/lib/systemd/system-generators/systemd-cryptsetup-generator: error while loading shared libraries: libsystemd-shared-247.so: cannot open shared object file: No such file or directory
LibreELEC:~/.config/system.d # find /lib/ -iname 'libsystemd*'
/lib/libsystemd-shared-242.so
/lib/libsystemd.so
/lib/libsystemd.so.0
/lib/libsystemd.so.0.30.0
/lib/systemd/libsystemd-shared-247.so
LibreELEC:~/.config/system.d # ldd /usr/lib/systemd/system-generators/systemd-cryptsetup-generator
linux-vdso.so.1 (0x7ee9a000)
/usr/lib/libarmmem-v7l.so (0x76fb5000)
libsystemd-shared-247.so => not found
libc.so.6 => /usr/lib/libc.so.6 (0x76e75000)
/lib/ld-linux-armhf.so.3 => /usr/lib/ld-linux-armhf.so.3 (0x76fca000)
If I try to add /lib/systemd path in LD_LIBRARY_PATH in my shell, then I can call the tool without an error, still the system is broken and can't show my devices.
EDIT: By the way, is it normal to have multiple version of the same lib ? libsystemd-shared[242|247].so ?
I'm running on a RPI3 device.
-
-
This can be a limitation of busybox unzip.
Try 7za after installing System Tools Addon.
Right, I had to switch to that (and fix the package which is broken in LE 9.2).
-
Since I updated to RPi4 now I have no RPi2. The problem is that if I want to update lakka cores in gamestarter repo I burn lakka image in an spare SD card and get all cores via ftp. I can still do that for RPi4 and for Generic (Using VM) but I can't do it for RPi2 anymore.
So here is my question, how can I grab core binaries from lakka image for RPi2 without a RPi2??
I tried extracting files from image file using 7zip but I get some corruption errors...
I tried mounting SD card in a Linux VM but no luck...
I tried to mount image file in Linux VM but no luck...
I tried to compile Lakka 2.3.2 in Linux VM but I get some errors and It needs about 60Gb of free storage and a full day to compile...
Any suggestions?
UPDATE:
Finally I could compile lakka 2.3.2 for Rpi2 so I get updated cores to push to gamestarter repo, but any suggestions are welcome for next times.
Now I'm trying to compile RA 1.8.4 but it seems there are some changes I need to fix in package.mk, it can take a very long time...
Can you share the retroarch build script ? I would like to upgrade retroarch to latest version but i have no idea how you built it.
-
It's MAME.zip retroarch thumbnails pack. Never spoken of video content.
-
Get the issue as ell recently. Looks like unzip is not able to open files > 2GB.
Everything lower works just fine, but a 3gb file is not.
-
If you want to auto mount your encrypted devices, you need to setup scripts like the one present on the libreelec machine at this address:
.config/system.d/cryptsetup.mount.sample
From this sample file you can define your own, it's self documented.
For a fully automated mount, you will need to register a key in plus of the passphrase in the luks partition and store it somewhere so that it can be accessed when needed to decrypt it.
This of course defeat the purpose of encrypted partition as anybody booting the machine will have access to the content.
But it's handy when the encrypted disk is not always attached to the libreelec machine.
Tokens like crypttab, luks key etc will be handy in your web searches to setup the automatic unlock of the encrypted partitions, then the systemd mount services will auto mount the luks mapper devices.
-
UPDATE: so lsblk, udisksctl, sudo and apt-get are not part of the distro (see below). So I'm out of my depth here. I do have the LibreELEC-RPi4.arm-sky42-9.2.6-#201025.img.gz image running on my Pi4 now and I have SSH'd into the box. But found that I do not have a clue how to try and mount my encrypted SSD from the command line (having tried and failed with the commands above). Any pointers on how to decrypt and mount my SSD would be appreciated?
Also, what distro is LE based on?
END UPDATE
Hi, I'm trying to get LE running on a RaspberryPi 4 (RPi4) with the ability to mount an external encrypted (LUKS) SSD. I'd be grateful if someone can advise if the image: LibreELEC-RPi4.arm-sky42-9.2.6-#201025.img.gz, at the following link, is the correct/best/most current image to use for my purposes: sky42 LibreELEC community builds ?Also, if the above image does support LUKS, I would be grateful if someone can tell me if I am on the right track with the following commands to decrypt and mount my SSD?:
Code
Display More#List drives sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL #Decrypt drive udisksctl unlock -b /dev/sdb5 #(where "/dev/sdb5" is the output from command lsblk above) #If an error is reported it could be due to a missing package as a dependency, libblockdev-crypto2. Installing that package and restarting udisks allows it to work correctly: sudo apt install libblockdev-crypto2 systemctl restart udisks2.service #Mount drive ls -la /dev/mapper udisksctl unmount -b /dev/mapper/luks-xxx-etc #(Where luks-xxx-etc is the output from command above: ls -la /dev/mapper)
As said in the documentation (can't remember where), the approach is to define systemd mount services files for each disk/mount point you want to automate.
If you really just want to do manual mounting, the way to go is:
- Open the encrypted partition with the luks open tool (this will provide new devices in /dev/mapper/luks-xyz)
- Mount as usual those luks devices
-
Hey Sky42,
Any reason the releases.json file is now missing on sky42 LibreELEC community builds ?
This prevent usage of the custom url updater in libreelec and is quite annoying.
-