Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First run on nixos doesn't seem to work, probably due to entrypoint.sh #168

Open
goodboy opened this issue Nov 1, 2023 · 1 comment
Open

Comments

@goodboy
Copy link

goodboy commented Nov 1, 2023

Local OS (where xxh is installed): archlinux
Destination host OS: nixos
xxh version: xxh/0.8.12
xxh-plugins installed: none

Steps to Reproduce

>>> xxh mini +s xonsh
Enter passphrase for key '/home/goodboy/.ssh/smbz_ed25519':
mini.duneden:/home/lord_fomo/.xxh/.xxh/shells/xxh-shell-xonsh not found. Install xxh-shell-xonsh? [Y/n]
Install xxh-shell-xonsh to mini.duneden:/home/lord_fomo/.xxh
Enter passphrase for key '/home/goodboy/.ssh/smbz_ed25519':
Enter passphrase for key '/home/goodboy/.ssh/smbz_ed25519':
First time upload using rsync (this will be omitted on the next connections)
Enter passphrase for key '/home/goodboy/.ssh/smbz_ed25519':
First run xxh-shell-xonsh on mini.duneden
Enter passphrase for key '/home/goodboy/.ssh/smbz_ed25519':
Enter passphrase for key '/home/goodboy/.ssh/smbz_ed25519':
bash: line 1: /home/lord_fomo/.xxh/.xxh/shells/xxh-shell-xonsh/build/entrypoint.sh: cannot execute: required file not found

For community:
⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

@goodboy
Copy link
Author

goodboy commented Nov 1, 2023

Updating the shebang line in entrypoint.sh to /user/bin/env bash then gives:

 >>> xxh mini +s xonsh
Enter passphrase for key '/home/goodboy/.ssh/smbz_ed25519':
Enter passphrase for key '/home/goodboy/.ssh/smbz_ed25519':
/home/lord_fomo/.xxh/.xxh/shells/xxh-shell-xonsh/build/entrypoint.sh: line 119: ./xonsh: cannot execute: required file not found
mv: cannot stat 'squashfs-root': No such file or directory
ln: failed to create symbolic link 'xonsh': File exists
/home/lord_fomo/.xxh/.xxh/shells/xxh-shell-xonsh/build/entrypoint.sh: line 135: /home/lord_fomo/.xxh/.xxh/shells/xxh-shell-xonsh/build/xonsh: cannot execute: required file not found

This still requires entering my key file pw 2x ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant