Jeffrey Townsend
fde45aafd7
Disable ASR generation by default. Packages using ASR must be updated explicitly.
2018-04-05 17:27:21 +00:00
Jeffrey Townsend
e740ba56ab
Merge pull request #319 from carlroth/master
...
Developer optimizations for incremental rootfs builds
2018-03-19 07:23:02 -07:00
Jeffrey Townsend
e37acae2f7
Disable logfile.:
2018-03-18 16:03:46 +00:00
Jeffrey Townsend
04cc75fc76
Add profiling for ASR generation.
2018-03-16 09:08:21 -07:00
Jeffrey Townsend
21d00075c4
Rudimentary profiling and color enhancements.
2018-03-16 09:06:56 -07:00
Jeffrey Townsend
0b6da573ab
Update default versioning scheme for development and release builds.
...
- Development builds will be marked with the branch and build id.
- Release builds will contain the specific release name and
a simplified system issue string.
2018-03-14 16:31:31 +00:00
Carl D. Roth
55615155b3
Incremental update/install support
...
- also add a '--no-configure' flag
2018-02-28 17:41:46 -08:00
Carl D. Roth
7aa876cda4
Enable the --lookup feature
2018-02-28 17:41:16 -08:00
Jeffrey Townsend
316351ce1b
Use ONL relative paths.
2018-01-21 20:04:07 +00:00
Jeffrey Townsend
e129347af6
Add an option to enable root accounts after filesystem creation
...
This is a minor hack. The code should be rearranged to allow
a more natural workflow to modify filesystems post-creation.
2018-01-21 19:09:06 +00:00
Jeffrey Townsend
fafe32df3b
Add the option to configure groups.
2018-01-19 08:03:47 -08:00
Jeffrey Townsend
9cd087dcb7
Allow input from both yaml and json.
2018-01-11 20:58:53 +00:00
Jeffrey Townsend
6359a48a65
Enhancements
...
- All package build step only.
- Evironmental option to skip package scans.
2017-12-31 17:15:14 +00:00
Jeffrey Townsend
dcb4a77b8c
Base from $ONL.
2017-12-29 03:36:55 +00:00
Jeffrey Townsend
57195e97ca
All editing of an existing json file.
2017-12-27 21:55:49 +00:00
Jeffrey Townsend
8d13652eb6
- Support Debian9
...
- Deprecate Debian7
2017-08-24 03:22:53 +00:00
Andreas Rammhold
a4cefaf8f5
tools: use /usr/bin/python2 instead of /usr/bin/python
...
python3 is starting to become the default on all major distributions.
Using `/usr/bin/python2` should be safe for the near future.
2017-06-30 11:40:29 +02:00
Jeffrey Townsend
fbc38a58b5
Change extract message from warn to info.
2017-05-23 08:12:43 -07:00
Jeffrey Townsend
79a9f9b459
Add post-install update hook.
...
TODO: parameterize
2017-05-15 14:31:24 -07:00
Jeffrey Townsend
f0c01c6955
The base-files package has a known incompatible assumption about /var/run which fails to work properly when the system was built using multistrap.
...
This change patches the base-files.postinst script to fix this issue prior to calling dpkg --configure.
2017-05-02 22:52:49 +00:00
Jeffrey Townsend
48bd05aca5
Build missing packages.
2017-02-22 02:10:22 +00:00
Jeffrey Townsend
61686c5b50
Improve output.
2017-02-21 18:43:35 +00:00
Jeffrey Townsend
5b46c04e24
Allow absolute paths (relative to the package root).
2017-02-15 18:36:53 +00:00
Jeffrey Townsend
61f9268995
Allow optional files in package declarations.
...
Files listed in the new 'optional-files' key will be included if present
but will not report packaging errors if missing.
2017-02-15 15:58:31 +00:00
Jeffrey Townsend
395108618c
Add local device tree compiler to support out-of-tree DTS compilation.
2017-02-15 15:56:25 +00:00
Jeffrey Townsend
0b3dd1ba6a
Add --ky to add YAML data.
2017-02-08 15:51:06 +00:00
Jeffrey Townsend
4391aed630
Improve comment.
2017-01-08 20:12:37 +00:00
Jeffrey Townsend
f6f9cdc99a
- Allow building individual source files
...
- Allow direct specification of the kernel build tree.
2017-01-01 18:02:19 +00:00
Jeffrey Townsend
216e4f0eed
Platform Kernel Module Support
...
Per-platform kernel modules can now be built out of tree against multiple kernel mbuild packages.
2016-12-31 20:59:27 +00:00
Jeffrey Townsend
d3a1f1546d
Allow comma-separated package lists in prerequisites. Makes some templating easier.
2016-12-31 20:58:20 +00:00
Jeffrey Townsend
d332bcc21b
Spelling.
2016-12-22 18:13:20 +00:00
Jeffrey Townsend
35f6859251
- Allow comments
...
- Add patch separator
2016-12-21 22:12:39 +00:00
Jeffrey Townsend
efe66c755b
Add newline to issue.net.
2016-12-05 23:02:49 +00:00
Jeffrey Townsend
f10add085e
Plugins are optional.
2016-11-29 17:39:36 +00:00
Carl D. Roth
d7958005f3
Updated plugin api
...
- single run() method is called with a mode argument
- plugin objects are persistent (re-entrant) for the lifetime of the install
- installer grovels the filesystem and/or zip file for plugin files
2016-11-28 12:06:22 -08:00
Carl D. Roth
c50cb2da27
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_install_hook
2016-11-28 10:32:31 -08:00
Carl D. Roth
486f375b4a
mkinstaller.py now handles pre/post hooks
2016-11-16 18:57:34 -08:00
Jeffrey Townsend
ab24f9914e
Use the new module database infrastructure.
2016-11-16 20:21:04 +00:00
Jeffrey Townsend
0353c52c9d
Make boot-config files optional.
2016-11-09 22:23:16 +00:00
Carl D. Roth
001aa48a45
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
...
Conflicts:
packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py
2016-11-04 16:02:18 -07:00
Jeffrey Townsend
d3c65d04dd
Remove output.
2016-11-04 21:32:08 +00:00
Jeffrey Townsend
54e292f0ba
Factor out file delivery so it can be shared between packaging and release.
2016-11-04 21:16:03 +00:00
Jeffrey Townsend
08977b8e4c
Use new unified infra asr too.
2016-11-01 19:23:55 +00:00
Jeffrey Townsend
51f23a3c7a
Make asre generation configurable.
2016-10-31 22:10:47 +00:00
Jeffrey Townsend
b87ec658e0
Add option to generate ASRE documentation from the root filesystem.
2016-10-31 22:02:16 +00:00
Jeffrey Townsend
cd61449e52
Automatically generate ASRE documentation for each package.
2016-10-31 20:22:53 +00:00
Jeffrey Townsend
65af997801
Add support for priority, replaces, provides, conflicts, and virtual (all three).
2016-10-31 18:31:04 +00:00
Jeffrey Townsend
384f4d24b4
Support automatic service install/remove scripts.
2016-10-31 09:41:55 -07:00
Carl D. Roth
6f9d993696
the --extract option is unimplemented
2016-10-26 12:37:24 -07:00
Jeffrey Townsend
f8f2975121
New SYSTEM_COMPATIBILITY_VERSION (SCV) key
...
This key is designed to indicate the overall system compatibility between different installations.
For example, the system configuration in ONL2.0 is different from ONL 1.0 (partition scheme, loader/version management, etc) and attempting to boot a 1.0 switch image on a 2.0 system will not work properly.
This key exists to facilitate operational compatibility and upgrade steps. When a switch image is booted against a loader with an SCV different than it expects then a full re-install will need to be performed in order to upgrade the system before that image can run. If the SCV is different then an in-place loader-upgrade cannot be performed either.
The upgrade process will be updated to include an SCV check and perform a re-install.
The loader upgrade sequence will be predicated on SCV equality.
If the SCV is not equal after all upgrade operations then switch has the option of rebooting instead of continuing the init process.
This will be configured through the sysconfig interface.
2016-10-26 12:37:24 -07:00