GithubHelp home page GithubHelp logo

Comments (7)

sebble avatar sebble commented on September 26, 2024 1

Thank you for the information, I'll see if I can reproduce this.

from 1password-sysext-steam-deck.

sebble avatar sebble commented on September 26, 2024 1

Hi @ExIlIsT,

I have made a few relatively small changes and have a few more questions/answers.

  1. I've added my versions to the README, are yours similar?
  2. I was already on v8, so unlikely related.
  3. My README incorrectly stated full Firefox integration (this has been inconsistent, issue updated #11)
  4. I see you've got the symlink inside symlink, I have added a test to install to avoid this, should not be causing any issues
  5. I have been more explicit with folders in my scripts
  6. Clarified not to rely on Make, nor build within a Flatpak.

Please check

❯ ls -al /var/lib/extensions
lrwxrwxrwx 1 root root 21 Jan 14 13:03 /var/lib/extensions -> /home/deck/extensions
❯ ls -al /home/deck/extensions/
total 147028
drwxr-xr-x  2 deck deck      4096 Mar 18 14:00 .
drwx------ 49 deck deck      4096 Mar 18 14:00 ..
-rw-r--r--  1 deck deck 150544384 Mar 18 13:45 1password.raw

Your issue about Failed to read metadata for image 1password might actually be the 1password/usr/lib/extension-release.d/extension-release.1password file, perhaps it is missing?

❯ tree 1password/usr/
1password/usr/
|-- bin
|   |-- 1password -> ../../opt/1Password/1password
|   `-- op
|-- lib
|   `-- extension-release.d
|       `-- extension-release.1password
`-- share
    |-- applications
    |   `-- 1password.desktop
    |-- bin
    |-- doc
    |   `-- 1password
    |       `-- examples
    |           `-- custom_allowed_browsers
    `-- polkit-1
        `-- actions
            `-- com.1password.1Password.policy

11 directories, 6 files

Lastly, you are using Make, do you remember how you installed that tool? I have it inside my VS Code Flatpak, but not on the host system. Almost all of the scripts (build and install) must be run on the host system, not in a Flatpak.

from 1password-sysext-steam-deck.

ExIlIsT avatar ExIlIsT commented on September 26, 2024

after digging deeper,
i replaced the download.sh from mv to rsync and moved on....
make did finally work (have to look up all the changes i made)....

it did run in the end.... but make install got stuck

`(255)(deck@steamdeck 1password-sysext-steam-deck)$ make install
./scripts/install.sh

  • getent group onepassword-cli
    onepassword-cli:x:1001:
  • mkdir -p /home/deck/extensions
  • sudo ln -sf /home/deck/extensions /var/lib/extensions
  • mv 1password.raw /home/deck/extensions/1password.raw
  • sudo systemctl enable systemd-sysext
    Created symlink /etc/systemd/system/sysinit.target.wants/systemd-sysext.service → /usr/lib/systemd/system/systemd-sysext.service.
  • sudo systemctl start systemd-sysext
    Job for systemd-sysext.service failed because the control process exited with error code.
    See "systemctl status systemd-sysext.service" and "journalctl -xeu systemd-sysext.service" for details.
    make: *** [Makefile:12: install] Error 1
    `

service does not run

from 1password-sysext-steam-deck.

ExIlIsT avatar ExIlIsT commented on September 26, 2024

i did try to fix it/adapt, so far system daemon still not running, but at least all your scripts did run

from 1password-sysext-steam-deck.

ExIlIsT avatar ExIlIsT commented on September 26, 2024

`(deck@steamdeck 1password-sysext-steam-deck)$ make install
./scripts/install.sh

  • getent group onepassword-cli
    onepassword-cli:x:1001:
  • mkdir -p /home/deck/extensions
  • sudo ln -sf /home/deck/extensions /var/lib/extensions
  • mv 1password.raw /home/deck/extensions/1password.raw
  • sudo systemctl enable systemd-sysext
  • sudo systemctl start systemd-sysext
    Job for systemd-sysext.service failed because the control process exited with error code.
    See "systemctl status systemd-sysext.service" and "journalctl -xeu systemd-sysext.service" for details.
    make: *** [Makefile:12: install] Error 1
    `

from 1password-sysext-steam-deck.

ExIlIsT avatar ExIlIsT commented on September 26, 2024

if it helps:

(deck@steamdeck 1password-sysext-steam-deck)$ ls -al /home/deck/extensions/ total 101040 drwxr-xr-x 2 deck deck 4096 Mar 16 12:07 . drwx------ 23 deck deck 4096 Mar 16 12:15 .. -rw-r--r-- 1 deck deck 103456768 Mar 16 12:07 1password.raw lrwxrwxrwx 1 root root 21 Mar 16 12:07 extensions -> /home/deck/extensions

from 1password-sysext-steam-deck.

ExIlIsT avatar ExIlIsT commented on September 26, 2024

hm,
seems like the image file is still not complete

-rw-r--r-- 1 deck deck 103456768 Mar 16 12:07 /home/deck/extensions/1password.raw
(deck@steamdeck ~)$ rm -rf /home/deck/extensions/extensions
(deck@steamdeck ~)$ sudo systemd-sysext merge
Failed to read metadata for image 1password: No medium found
(1)(deck@steamdeck ~)$ sudo systemd-sysext list
NAME      TYPE PATH                                TIME                       
1password raw  /home/deck/extensions/1password.raw Thu 2023-03-16 12:07:37 CET
(deck@steamdeck ~)$ sudo systemd-sysext refresh
Failed to read metadata for image 1password: No medium found
(1)(deck@steamdeck ~)$ sudo systemd-sysext ststus
Unknown command verb ststus.
(1)(deck@steamdeck ~)$ sudo systemd-sysext status
HIERARCHY EXTENSIONS SINCE
/opt      none       -    
/usr      none       - 

from 1password-sysext-steam-deck.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.