WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can I install FlatPak to get RetroArch on TinyCore?  (Read 4551 times)

Offline djcjf

  • Newbie
  • *
  • Posts: 1
Can I install FlatPak to get RetroArch on TinyCore?
« on: September 07, 2017, 03:59:34 PM »
Hi there I was wondering if its possible to install FlatPak to get RetroArch on TinyCore? Thanks! :D - djcjf

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Can I install FlatPak to get RetroArch on TinyCore?
« Reply #1 on: September 08, 2017, 08:16:30 AM »
I've got as far as this:
Code: [Select]
$ flatpak install --user flathub org.libretro.RetroArch
error: GPG signatures found, but none are in trusted keyring

..answers on a postcard...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Can I install FlatPak to get RetroArch on TinyCore?
« Reply #2 on: September 09, 2017, 06:27:22 AM »
Using gnome-session allows flatpak to run, so it must require dbus to start stuff.

However:
Code: [Select]
$ tce-load -i flatpak-gir
$ flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak install --user flathub org.libretro.RetroArch
Required runtime for org.libretro.RetroArch/x86_64/stable (org.freedesktop.Platform/x86_64/1.6) is not installed, searching...
Found in remote flathub, do you want to install it? [y/n]: y
Installing: org.freedesktop.Platform/x86_64/1.6 from flathub
[####################] 11 delta parts, 81 loose fetched; 141011 KiB transferred in 202 seconds
Installing: org.freedesktop.Platform.Locale/x86_64/1.6 from flathub
[####################] 3 metadata, 1 content objects fetched; 14 KiB transferred in 0 seconds
Installing: org.libretro.RetroArch/x86_64/stable from flathub
[####################] 4 delta parts, 33 loose fetched; 114054 KiB transferred in 163 seconds
pivot_root: Invalid argument

..and:
Code: [Select]
$ flatpak run org.libretro.RetroArch
pivot_root: Invalid argument

I don't know enough about this stuff to be sure, but a user found the following with docker:
Quote
initrd is loaded into ramdisk which is an actual file system.
initramfs is not a file system.
For initrd pivot_root is used and for initramfs switch_root is used.
You can not use pivot_root on an initramfs rootfs, you will get Invalid Argument. You can only pivot real file systems.