07-17-2020, 10:26 PM
(07-16-2020, 01:26 AM)@appelgriebsch I do like this idea, too. I tried it out, but get an error message concerning ChromeOs. Wrote:Do you know how to solve this?Code:Directory /var/lib/machines/chromium_widevine doesn't look like it has an OS tree. Refusing.
Code:Löse Unterschiede auf: 100% (109/109), Fertig.
-> Downloading ChromeOS image...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 976M 100 976M 0 0 1793k 0 0:09:17 0:09:17 --:--:-- 3314k
-> Mounting local ChromeOS image...
-> Setting up environment in systemd container chromium_widevine...
Directory /var/lib/machines/chromium_widevine doesn't look like it has an OS tree. Refusing.
-> Cleaning up...
==> All done! You can use the launcher to start the Chromium Widevine application
[root@michihost Downloads]# machinectl start chromium_widevine
Invalid machine name chromium_widevine.
[root@michihost Downloads]# machinectl start chromium_widevine
Invalid machine name chromium_widevine.
[root@michihost Downloads]# ./launch_chromium_widevine.sh
non-network local connections being added to access control list
Directory /var/lib/machines/chromium_widevine doesn't look like it has an OS tree. Refusing.
[root@michihost Downloads]#
appelgriebsch
(05-28-2020, 01:58 PM)kervel Wrote: Hello,
i think it should be possible to get rid of docker completely using debootstrap.
I got google chrome running as follows:
Now inside the chroot i edited /etc/apt/sources.list to enable non-free and contrib and then i was able to do apt update && apt install chromium.Code:mkdir deb
debootstrap --arch=armhf buster deb
cp deb/lib/ld-linux-armhf.so.3 /lib
sudo chroot deb /bin/bash
Once this is done, one can launch chromium as follows:
Code:LD_LIBRARY_PATH=$PWD/lib:$PWD/usr/lib/:$PWD/usr/lib/arm-linux-gnueabihf/:\
$PWD/lib/arm-linux-gnueabihf/:$PWD/usr/lib/arm-linux-gnueabihf/pulseaudio/ \
usr/lib/chromium/chromium
this is without docker or chroot or x forwarding ..
Hey,
I just did this based on a systemd-nspawn container following the guides here:
Works pretty well and doesn't need a docker daemon running in the background. My scripts for integration in Manjaro:
- https://patrickskiba.com/sysytemd-nspawn...spawn.html
- https://patrickskiba.com/sysytemd-nspawn...spawn.html
Like this idea much better than the docker image approach...