Skip to content

Commit db0ab17

Browse files
Land #222, Add upgrade guide
2 parents 3e30801 + 0a6cfa6 commit db0ab17

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

README.md

+25-6
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,36 @@
11
metasploit-framework Omnibus project
22
==========================
33
This project creates full-stack platform-specific packages for
4-
`metasploit-framework`. This is not the same as the Metasploit Community
5-
edition. It only contains the framework command-line interface and the
4+
`metasploit-framework`. This is not the same as Metasploit Pro.
5+
It only contains the framework command-line interface and the
66
associated tools and modules.
77

8-
Installing the package
9-
------------
8+
# Installing the package
109

1110
If you just want to install this package, we provide a number of pre-built binaries for Metasploit that are rebuilt every night. See https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers for installation information.
1211

13-
Building the package
14-
------------
12+
# Developer Upgrade Guide
13+
14+
If you are updating software dependencies you will need to:
15+
16+
1. Verify if the software has been updated upstream https://github.com/chef/omnibus-software
17+
1. Download the build artifacts and merge into the artifact cache https://github.com/rapid7/metasploit-omnibus-cache
18+
1. Update the git submodule within as a [prerequisite][#Prerequisites]
19+
1. Modify the `default_version` and `SHA` for your software
20+
1. Apply any additional changes required to build your software using chef/omnibus-software as a baseline were appropriate
21+
1. Verify that the build works locally following the build steps below. If there are issues, cross-reference the Github actions configuration as an indicator for how to build locally
22+
1. Verify that the update works on CI
23+
24+
If you are updating omnibus itself:
25+
26+
1. Clone the latest Rapid7 fork and branch from https://github.com/rapid7/omnibus/branches/all which will be referenced in the `Gemfile` ([example](https://github.com/rapid7/metasploit-omnibus/blob/3e30801521fb50291708b2e93c0940afdd11df37/Gemfile#L5))
27+
1. Verify the latest available code from https://github.com/chef/omnibus
28+
1. Create a new R7 custom branch with the additional R7 custom patches applied
29+
1. Update the `Gemfile` to use your new branch - [example](https://github.com/rapid7/metasploit-omnibus/blame/master/Gemfile#L5)
30+
1. Apply any DSL changes to the software config files in the metasploit-omnibus repo, similar to steps required update software dependencies steps above
31+
1. Ensure CI passes
32+
33+
# Building the package
1534

1635
## Prerequisites
1736

0 commit comments

Comments
 (0)