Commit Graph

87 Commits

Author SHA1 Message Date
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
Jeffrey Townsend
a707bec39a 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-25 18:07:26 +00:00
Jeffrey Townsend
6095635ce5 Convert /etc/os-release to /etc/os-release.json. 2016-10-06 16:30:05 +00:00
Jeffrey Townsend
c4d3eab661 Add the ability to add custom data to manifest files. 2016-10-03 19:30:53 +00:00
Jeffrey Townsend
2d3475b97f Enhance variable processing.
Variable elements are now allowed to be dicts or arbitrary lists of dicts.
2016-09-08 15:43:34 +00:00
Jeffrey Townsend
060958edd0 Option to add additional custom files. 2016-08-28 18:44:23 +00:00
Jeffrey Townsend
e74b124329 Option to allow additional custom files to be added to the image. 2016-08-27 15:06:59 +00:00
Jeffrey Townsend
6e85a367f8 The patch series file is now a parameter. 2016-08-18 13:19:38 -07:00
Shengzhou Liu
1ed3041b9d Add arm64 support for build and installer 2016-08-17 00:57:01 +08:00
Jeffrey Townsend
665641c75a The SSH PermitRootLogin setting is now an RFS option. 2016-08-15 19:07:45 +00:00
Jeffrey Townsend
a71c786f47 Modified to support absolute paths. 2016-08-12 20:55:33 +00:00
Jeffrey Townsend
e508a8160b Add option to include directory contents in the installer image. 2016-08-12 19:02:13 +00:00
Carl D. Roth
50f43798e9 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	builds/any/installer/grub/builds/Makefile
	builds/any/installer/uboot/builds/Makefile
	packages/base/all/initrds/loader-initrd-files/src/lib/boot1
	packages/base/all/vendor-config-onl/PKG.yml
	packages/base/all/vendor-config-onl/src/python/onl/mounts/__init__.py
2016-07-21 12:39:10 -07:00
Jeffrey Townsend
e87e30a31e Fix user uid and gid generation. 2016-07-19 14:38:12 +00:00
Jeffrey Townsend
147e638f7d Fix filesystem clean option. 2016-07-15 08:02:04 -07:00
Jeffrey Townsend
14dd72b0ed mkinstaller
New script to automate the installer generation and inputs for different build configurations.
2016-07-11 21:54:50 +00:00
Jeffrey Townsend
3d21d491e0 The submodule post-update hooks are now specified via environment variables. 2016-07-07 17:20:02 +00:00
Jeffrey Townsend
7366c0427f Spelling. 2016-06-29 16:09:53 -07:00
Jeffrey Townsend
69cc9ebd98 Add user sudo option. 2016-06-22 16:44:47 -07:00
Jeffrey Townsend
e7456386f7 Fix useradd/userdel. 2016-06-22 20:56:55 +00:00
Jeffrey Townsend
6adf798d6f Add argparse with help. 2016-06-14 15:55:31 +00:00
Jeffrey Townsend
58e03edf42 - Support custom /etc/issue[.net]
- Support generic file operations.
2016-06-08 18:34:24 +00:00
Jeffrey Townsend
2afb37ce01 Custom file and /etc/issue* generation. 2016-06-02 01:22:05 +00:00
Jeffrey Townsend
a56e721cad Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-06-01 14:48:42 -07:00
Carl D. Roth
c7ae9a68c3 Use time module to compute timestamps 2016-05-27 12:41:17 -07:00
Jeffrey Townsend
7a10269fb8 Customized RFS manifest. 2016-05-27 19:27:59 +00:00
Steven Noble
58ec3fadbf updated install.sh to reference new location of version files (#84) 2016-05-23 12:05:40 -07:00
Jeffrey Townsend
3174eb6db1 Make the RELEASE directory customizable. 2016-05-20 14:53:45 +00:00
Jeffrey Townsend
1cd5a85fd9 Add YAML output files. 2016-05-20 00:02:59 +00:00
Jeffrey Townsend
0477d8d90d Init at INFO. 2016-05-17 12:47:28 -07:00
Jeffrey Townsend
76ed0a772c Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	builds/any/rootfs/jessie/common/common-packages.yml
	builds/any/rootfs/wheezy/common/common-packages.yml
2016-05-16 14:18:18 -07:00
Carl D. Roth
d2c7fc536a Updates for loader-based and onl-based installs
- allow some SFX settings to be overridden
- refactor checksum validation
- support --inplace padding fixups to economize on disk space
2016-05-11 13:49:50 -07:00
Carl D. Roth
7a1a873985 Fixed whitespace in command args 2016-05-06 16:37:10 -07:00
Carl D. Roth
0c7b466bcd Refactor to use onlpm as a module 2016-05-06 11:08:29 -07:00
Carl D. Roth
c5a8d943b2 Support dtb and itb extraction 2016-05-06 11:08:06 -07:00
Carl D. Roth
71e0cc65c2 Added list_platforms api call 2016-05-06 11:07:54 -07:00
Carl D. Roth
7c2bb91b7c Clean up onlpm and make it embeddable 2016-05-02 13:00:55 -07:00
Carl D. Roth
9fefb7955d Helper script to pull out kernel/initrd/vendor 2016-05-02 13:00:23 -07:00