Commit Graph

56 Commits

Author SHA1 Message Date
Jeffrey Townsend
95997e7983 Use the system boot-config from /mnt/onl/boot/boot-config if present.
If not, use system default /etc/onl/boot-config-default if present.
2016-05-20 00:08:16 +00:00
Jeffrey Townsend
647e9d3bef Mount ONL-BOOT read-write by default. 2016-05-20 00:07:26 +00:00
Jeffrey Townsend
80d06bec5a Remove comments. 2016-05-17 12:46:18 -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
e11a5bd0cd Propagate the '--force' flag properly 2016-05-13 11:53:57 -07:00
Carl D. Roth
082789b012 Back out onlyaml rewrite to another branch 2016-05-13 10:20:46 -07:00
Carl D. Roth
19a8e75036 Optionally mount tmpfs within the loader
- XXX DANGER @jnealtowns be advised
2016-05-11 13:57:22 -07:00
Carl D. Roth
bb1c556cc4 Better error handling for failed connections
Export debug and verbosity settings
2016-05-11 13:47:32 -07:00
Carl D. Roth
5e35ea9192 Installer updates
- initial support for self-updating within ONL via a URL
- lazy unpack support
2016-05-10 18:28:16 -07:00
Carl D. Roth
7166dce5c6 Updated chroot utils
- Set up /run properly
- copy in /etc/onl files for self-update
2016-05-10 18:25:20 -07:00
Carl D. Roth
1f4a489421 Better error reporting for missing tools 2016-05-10 12:03:10 -07:00
Carl D. Roth
c640ddb751 Handle install from within ONL 2016-05-10 12:02:56 -07:00
Carl D. Roth
51550a194e Make sure onl directories are unmounted 2016-05-10 12:02:45 -07:00
Carl D. Roth
0cf41fd6d9 Re-write shell functions to use OnlPlatform data 2016-05-06 11:27:26 -07:00
Carl D. Roth
9c383236bb Update/refactor, u-boot install is now a thing 2016-05-06 11:26:54 -07:00
Carl D. Roth
089f5be4d9 Added mkfs commands 2016-05-06 11:13:49 -07:00
Carl D. Roth
07e68fe666 Working powerpc template, also include arm 2016-05-06 11:09:57 -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
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
Jeffrey Townsend
2640aec6d8 ONL-CONFIG datastore and PKI infrastructure. 2016-04-21 01:00:04 +00:00
Jeffrey Townsend
16284d277f Run pki --init 2016-04-21 00:58:55 +00:00
Jeffrey Townsend
889d8d7282 The ONL-CONFIG partition should not be mounted. 2016-04-21 00:58:05 +00:00
Jeffrey Townsend
6c471976bc Move the onl-mibs package to 'all'. 2016-04-15 19:45:56 +00:00
Jeffrey Townsend
d837ea6d6e Mount quiet with status. 2016-04-13 18:50:08 -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
4003168bed Commonize FIT-based upgrade logic. 2016-04-05 18:28:32 +00:00
Jeffrey Townsend
5e9e0e40e9 Improve error. 2016-04-04 20:16:44 +00:00
Jeffrey Townsend
124f2ced6c Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	sm/infra
2016-04-04 11:14:19 -07:00
Jeffrey Townsend
6f5e6fdce8 Add armel. 2016-04-03 15:44:10 -07:00
Jeffrey Townsend
686624abab - Clean up architecture handling.
- Add ARM support.
2016-04-03 15:43:33 -07:00
Jeffrey Townsend
c4a20ba4fb PPC Upgrade fixes. 2016-03-29 20:14:32 +00:00
Jeffrey Townsend
00a64af331 Load the platform-config yaml file at init time. 2016-03-29 20:03:30 +00:00
Jeffrey Townsend
95a32c5c6c Generic comments. 2016-03-29 20:02:58 +00:00
Jeffrey Townsend
d0b968a561 Increase delay. 2016-03-29 20:02:32 +00:00
Jeffrey Townsend
dc1cb439b0 Initial ONIE and Loader upgrade support. 2016-03-29 18:26:02 +00:00
Jeffrey Townsend
2c8bf4fa69 Upgrade infrastructure. 2016-03-29 18:24:24 +00:00
Jeffrey Townsend
e66f04f816 Short console flush prior to executing rcS 2016-03-29 18:23:43 +00:00
Jeffrey Townsend
d9ea7acf5d Remove log msg. 2016-03-29 16:06:51 +00:00
Jeffrey Townsend
7f5305327a Renamed. 2016-03-29 16:04:45 +00:00
Jeffrey Townsend
0be3bf3708 New boot.d early init sequence.
There is a new init sequence that is executed prior to all concurrent
init.d services.

Placing ordered services in /etc/boot.d allows you to interpose upgrade,
verification, and special handling prior to execution of the normal SYSV init.

This system can be accessed by placing ordered scripts directly in
/etc/boot.d from your package.

This infra is used to perform early loader and partition upgrade checks, onie upgrades,
cpld upgrades, and the like.

Normal filesystem mounts are performed at priority 50.
Platform initialization is performated at priority 51.

TODO: Integrate upgrade sequence.
2016-03-29 14:58:35 +00:00