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

Fixing install script for Arch #1686

Merged
merged 1 commit into from
May 16, 2024
Merged

Fixing install script for Arch #1686

merged 1 commit into from
May 16, 2024

Conversation

RafBishopFox
Copy link
Contributor

@RafBishopFox RafBishopFox commented May 13, 2024

This PR addresses #1680. When calling pacman, the install script did not suppress the "Proceed with installation?" prompt which caused strange things to happen. To fix this, we can use the --noconfirm switch.

Tested the modified script on a fresh Arch install, and no errors:

Installing dependencies using pacman...
warning: mingw-w64-gcc-13.1.0-1 is up to date -- reinstalling
warning: mingw-w64-binutils-2.39-1 is up to date -- reinstalling
warning: mingw-w64-headers-11.0.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (3) mingw-w64-binutils-2.39-1  mingw-w64-gcc-13.1.0-1  mingw-w64-headers-11.0.0-1

Total Installed Size:  1138.08 MiB
Net Upgrade Size:         0.00 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                                                                                                                                                     [################################################################################################################] 100%
(3/3) checking package integrity                                                                                                                                                   [################################################################################################################] 100%
(3/3) loading package files                                                                                                                                                        [################################################################################################################] 100%
(3/3) checking for file conflicts                                                                                                                                                  [################################################################################################################] 100%
(3/3) checking available disk space                                                                                                                                                [################################################################################################################] 100%
:: Processing package changes...
(1/3) reinstalling mingw-w64-binutils                                                                                                                                              [################################################################################################################] 100%
(2/3) reinstalling mingw-w64-headers                                                                                                                                               [################################################################################################################] 100%
(3/3) reinstalling mingw-w64-gcc                                                                                                                                                   [################################################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Running from /root
Importing GPG key...
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 7DF912404449039C: public key "Sliver <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
Fetching latest Sliver release URLs...
Downloading https://github.com/BishopFox/sliver/releases/download/v1.5.42/sliver-client_linux
Downloading https://github.com/BishopFox/sliver/releases/download/v1.5.42/sliver-client_linux.sig
Downloading https://github.com/BishopFox/sliver/releases/download/v1.5.42/sliver-server_linux
Downloading https://github.com/BishopFox/sliver/releases/download/v1.5.42/sliver-server_linux.sig
Verifying signatures ...
gpg: Signature made Wed Feb 28 20:00:25 2024 UTC
gpg:                using RSA key 0ED3900D296CFA0283A4E4667DF912404449039C
gpg: Good signature from "Sliver <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 0ED3 900D 296C FA02 83A4  E466 7DF9 1240 4449 039C
gpg: Signature made Wed Feb 28 20:00:25 2024 UTC
gpg:                using RSA key 0ED3900D296CFA0283A4E4667DF912404449039C
gpg: Good signature from "Sliver <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 0ED3 900D 296C FA02 83A4  E466 7DF9 1240 4449 039C
Moving the Sliver server executable to /root/sliver-server...
Setting permissions for the Sliver server executable...
Unpacking the Sliver server...

Sliver  Copyright (C) 2022  Bishop Fox
This program comes with ABSOLUTELY NO WARRANTY; for details type 'licenses'.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'licenses' for details.

Unpacking assets ...
Setting permissions for the Sliver client executable...
Copying the Sliver client executable to /usr/local/bin/sliver-client...
'/root/sliver-client_linux' -> '/usr/local/bin/sliver-client'
Creating a symbolic link for sliver-client at /usr/local/bin/sliver...
Setting permissions for the symbolic link /usr/local/bin/sliver...
Configuring systemd service ...
Starting the Sliver service...
Generating local configs ...
Generating operator configs ...

@moloch-- moloch-- merged commit ffd2fa6 into master May 16, 2024
2 checks passed
@RafBishopFox RafBishopFox deleted the fix-install-script branch May 16, 2024 17:27
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

Successfully merging this pull request may close these issues.

None yet

2 participants