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

Installer update #110

Merged
merged 6 commits into from
Aug 22, 2017
Merged

Installer update #110

merged 6 commits into from
Aug 22, 2017

Conversation

MPX4132
Copy link
Member

@MPX4132 MPX4132 commented Aug 22, 2017

What kind of change does this PR introduce?
Updates and enhancements to installer.

Summary

The updater system was a bit outdated and hadn't been brought in line with the latest version of fluxion. This update makes the installer much more flexible, systematic, and consistent with method used throughout the project.

The installer is now built into fluxion and is launched every time the script is executed. It is now capable of installing updates, or any missing dependencies, for any system with a package manager.

Package managers may now be defined within fluxion/lib/installer/managers, and are automatically loaded depending on which system is being used to execute the script.

Does this PR introduce a breaking change?

I don't think so.

Other information
The installer is much more systematic & [I believe] extensible.

Created an installer utility library.
The installer will be responsible for checking dependencies & updates.
The installer has been defined as a utility & is incorporated into fluxion.
The installer is now responsible for checking & installing updates.
The installer is now responsible for checking & installing dependencies.

Package managers can now be defined within fluxion/lib/installer/managers.
Dependencies are now flexible, and will attempt alternative installs.
@MPX4132
Copy link
Member Author

MPX4132 commented Aug 22, 2017

Any objections?

@MPX4132 MPX4132 merged commit 36a1b49 into master Aug 22, 2017
@MPX4132
Copy link
Member Author

MPX4132 commented Aug 22, 2017

If anyone's got any issues, let me know.

@MPX4132 MPX4132 deleted the installer-update branch August 22, 2017 06:40
@deltaxflux
Copy link
Member

Where is the new installer located ?

@MPX4132
Copy link
Member Author

MPX4132 commented Aug 22, 2017

It's built in, but all logic/algorithms are in lib/installer/InstallerUtils.sh It'll automatically kick in if fluxion detects missing dependencies. It'll also kick in when there's a new update.

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.

3 participants