Commit Graph

429 Commits

Author SHA1 Message Date
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
161b8e48d8 Revert dumb python path hack 2016-05-06 11:07:10 -07:00
Carl D. Roth
9127a94cf5 Add python compatibility path for debian-derived installs 2016-05-06 11:05:37 -07:00
Carl D. Roth
a6c36afee2 Relax arch rules for powerpc and arm installer 2016-05-06 11:04:54 -07:00
Carl D. Roth
08a3f3b5fc Added arm support 2016-05-06 11:02:51 -07:00
Carl D. Roth
8c138c6e4d Update ignore rules 2016-05-02 14:00:13 -07:00
Carl D. Roth
760c3c7792 x64 build of the new installer 2016-05-02 13:30:29 -07:00
Carl D. Roth
5f12eb0f1e New installer common files 2016-05-02 13:07:28 -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
Carl D. Roth
a5e443274f Platform configs for x86-64 systems 2016-05-02 12:58:47 -07:00
Carl D. Roth
87fbe5d56f Sample templates for platform configs 2016-05-02 12:56:59 -07:00
Carl D. Roth
2a1bb49f18 Helper shell code for new installer 2016-05-02 12:55:53 -07:00
Carl D. Roth
a780c0b5eb Userland tools for new installer 2016-05-02 12:55:05 -07:00
Carl D. Roth
15c7af3999 Platform config updates
- get the platform type from /etc/machine.conf if run from ONIE
2016-05-02 12:53:33 -07:00
Carl D. Roth
972f2cdf6f Update the YAML loader for platform configs 2016-05-02 12:53:01 -07:00
Carl D. Roth
90a45eff50 Yaml helper module
- util for loading the mongrel YAML platform definitons
2016-05-02 12:52:13 -07:00
Carl D. Roth
dc0178c984 Initial checkin of pythonic installer library
- u-boot is currently broken
2016-05-02 12:42:37 -07:00
Carl D. Roth
58cf4e5036 Updated install template for vendor-config-onl
- Include stub shell file for new installer
- put Python files in a proper site install location
2016-05-02 12:41:21 -07:00
Carl D. Roth
40a6020f27 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-04-14 12:59:43 -07:00
Carl D. Roth
f9b34e1ef8 Add onl-vendor-config-onl to initrd 2016-04-14 11:19:45 -07:00
Jeffrey Townsend
d79158cdcf Merge pull request #68 from jnealtowns/new_partitions
New Partition and Mount Management
2016-04-13 19:45:49 -07:00
Jeffrey Townsend
ded0768f6b Mount policies for SWI runtimes. 2016-04-13 18:56:09 -07:00
Jeffrey Townsend
ba8dfdbf1d New Standard Partition Layout
- ONL-BOOT   : Loader/kernels/boot-config
- ONL-CONFIG : System Configuration. Persistant across upgrades.
- ONL-IMAGES : Switch Image Store
- ONL-DATA   : Runtime data store (SWI mode) or root filesystem partition (normal install mode).
2016-04-13 18:54:21 -07:00
Jeffrey Townsend
bcfbeda74b Latest 2016-04-13 18:53:43 -07:00
Jeffrey Townsend
0df7559793 - All boot partitions are now ext2.
- All installer configurations updated for new partition system.
2016-04-13 18:51:57 -07:00
Jeffrey Townsend
937c8b4e60 - All boot partitions are now ext2.
- All installer configurations updated for new partition system.
2016-04-13 18:50:43 -07:00
Jeffrey Townsend
d837ea6d6e Mount quiet with status. 2016-04-13 18:50:08 -07:00
Jeffrey Townsend
7ac989d678 Latest 2016-04-13 18:38:45 -07:00
Jeffrey Townsend
f94bbcc35e The loader version of the vendor-config-onl package is now required. 2016-04-13 18:37:59 -07:00
Jeffrey Townsend
c9ba39388d Updates for new partition layout and mount management. 2016-04-13 18:37:24 -07:00
Jeffrey Townsend
a920b9ae63 Loader mount policies. 2016-04-13 18:36:54 -07:00
Jeffrey Townsend
9f2f912366 New Mount Management.
Data mounts are now handled exclusively by the new OnlMountManager.
This is now included in both SWI, Loader, and standard root installation images.

The initmounts script is now used by all components to effect filesystem checks,
deployment-specific mount and recovery policies.
2016-04-13 18:30:15 -07:00
Jeffrey Townsend
66a78e3acc Latest 2016-04-14 01:28:02 +00:00
Jeffrey Townsend
6933dc57e2 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into new_partitions 2016-04-13 15:24:32 -07:00
Jeffrey Townsend
0fc6a22a19 New ONL Partition Format 2016-04-13 15:23:53 -07:00
Jeffrey Townsend
bd5e374e32 Update with latest package configurations. 2016-04-13 15:20:54 -07:00
Jeffrey Townsend
718e21517f The download directory must be created prior to the setup stage. 2016-04-13 14:50:36 -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
25fb90d1f8 Added python-yaml and python-parted to base ONL build 2016-04-13 14:17:22 -07:00
Carl D. Roth
9816606a0c Fixed Makefile includes 2016-04-13 13:53:27 -07:00
Carl D. Roth
d9ba34c606 Eanble verbose build 2016-04-13 13:52:19 -07:00
Carl D. Roth
b0ad23c944 Added pyparted 2016-04-13 13:50:10 -07:00
Carl D. Roth
24649caaee Back out pyblkid 2016-04-13 13:49:56 -07:00
Jeffrey Townsend
553e9a2a10 Add support for reading the BCM temperature domain socket. 2016-04-12 18:50:04 +00:00
Jeffrey Townsend
b2d6ebf6aa Allow operations on domain sockets. 2016-04-12 18:00:58 +00: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