Commit Graph

75 Commits

Author SHA1 Message Date
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
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
Carl D. Roth
672e8d656d Handle dict values in kernel and dtb 2016-05-02 13:00:02 -07:00
Steven Noble
90f0218b57 Update REPO directories to match standard APT names binary-arch 2016-04-19 14:53:58 -07:00
Jeffrey Townsend
d9db525297 Merge pull request #67 from carlroth/master
Initial rollup of installer WIP
2016-04-13 14:25:03 -07:00
Carl D. Roth
d9ba34c606 Eanble verbose build 2016-04-13 13:52:19 -07:00
Jeffrey Townsend
67c67470d2 Add a post-merge githook to invalidate the local module manifest.
The Builder module manifest is generated once from the local tree if its missing.
When new code is merged from a remote the manifest must be regenerated in order to
reference and build the new libraries.

At setup time a post-merge hook is now added to the local repository to clear the
module manifest after merging.
2016-04-11 17:14:57 +00:00
Jeffrey Townsend
8ad581763e New code module generation script for ONL.
Run as $ONL/tools/newmodule.py <modulename> <module_description>
The new module is placed in the current working directory.
2016-04-06 23:49:27 +00:00
Jeffrey Townsend
4e2130a0e7 The package cache should be instanced per-distro.
The package caches contain paths relative to the distro name (from the $BUILD_DIR variable).
As such the cache can become invalid when switching in-place between distro containers.
Keeping the cache instanced per-container makes sure they don't contaminate each other.
2016-04-05 17:02:52 -07:00
Jeffrey Townsend
5bed1d63b5 Use latest version of onlbuilder for the autobuild. 2016-04-05 13:08:37 -07:00
Jeffrey Townsend
11d15d216f Multiarchitecture Support
- Support both ARM and Powerpc architecture FIT images.
2016-04-04 18:04:34 +00:00
Jeffrey Townsend
90a679315f Allow script execution during patch series application. 2016-04-04 18:03:11 +00:00
Jeffrey Townsend
20020a33a5 Support ARM. 2016-03-31 13:06:23 -07:00
Jeffrey Townsend
06568c9d64 Rename properly to armel. 2016-03-30 18:28:47 -07:00