Jeffrey Townsend
0fcad8f65e
Use -sha256 for certificate signing.
2016-06-22 20:56:15 +00:00
Jeffrey Townsend
deb24fa9b7
Platform method updates.
2016-06-14 15:54:50 +00:00
Jeffrey Townsend
6985ec5cad
X86 Fixes.
2016-06-14 15:54:19 +00:00
Jeffrey Townsend
6957c75632
Simplify key name.
2016-06-08 21:48:47 +00:00
Jeffrey Townsend
d40845d7c9
Auto upgrade policy inherited from subclass. Needs work.
2016-06-08 21:48:05 +00:00
Jeffrey Townsend
1435153b75
The cannonical name for all ITB files is <platform>.itb.
2016-06-08 21:42:18 +00:00
Jeffrey Townsend
96a82eb880
Moved to sysconfig.
2016-06-08 11:36:51 -07:00
Jeffrey Townsend
5ac829e85f
Don't copy the local sysconfig directory.
2016-06-08 11:36:09 -07:00
Jeffrey Townsend
286a9e4872
Renamed to sysconfig.
2016-06-08 18:33:44 +00:00
Jeffrey Townsend
e6e16a5f48
Now provided by sysconfig.
2016-06-08 17:40:04 +00:00
Jeffrey Townsend
9e2ab9b853
ONL Configuration Defaults
2016-06-02 19:35:12 +00:00
Jeffrey Townsend
f34662cb60
The system configuration is now a heirarchical merge of the sorted files in /etc/onl/config.
...
The only required file is the existing 00-defaults.yml
2016-06-02 19:34:18 +00:00
Jeffrey Townsend
d2f0cf340d
Add generic dictionary merge routine.
...
- Poached from YamlUtils.
- YamlUtils should be updated to use this as the base merge routine.
2016-06-02 19:33:12 +00:00
Carl D. Roth
94ac25053b
Added stub SWI upgrade script
2016-06-01 18:49:33 -07:00
Carl D. Roth
05561cd482
Record SWI data before switchroot
...
- also update version location(s)
2016-06-01 18:49:20 -07:00
Carl D. Roth
6bd030c898
Record SWI data before booting
2016-06-01 18:48:52 -07:00
Carl D. Roth
dbc63575e7
Update swiprep version locations, add --record option
2016-06-01 18:48:35 -07:00
Carl D. Roth
35db5ffb43
Better implementation of 'latest'
...
- swi file timestamp is unreliable if clock is not set correctly
- extract build timestamp from manifest if available
- extract timestamp-ish string from 'version' file or from swi filename
2016-05-27 13:06:14 -07:00
Carl D. Roth
b21007c70a
Install manifest.json if available
...
- Hurr, fix unzip arguments
- put manifest and/or version at root level too
2016-05-27 13:02:53 -07:00
Jeffrey Townsend
b03cc37db0
Upgrade organization improvements.
2016-05-27 19:46:53 +00:00
Jeffrey Townsend
a6520e533c
- Add onlyaml to the package for use in the runtime
...
- Cleanup deprecated files
- Add default sysconfig.
2016-05-27 19:45:23 +00:00
Jeffrey Townsend
d0e96743da
PKI Now implemented as part of the OnlMountContext for ONL-CONFIG.
2016-05-27 19:44:40 +00:00
Jeffrey Townsend
96c9f612b8
- Use the new sysconfig interface for upgrade properties.
...
- Use the new OnlMountContext managers.
2016-05-27 19:42:13 +00:00
Jeffrey Townsend
a2c1a57b5e
Renamed to onl-*
2016-05-27 19:41:51 +00:00
Jeffrey Townsend
398eec8da5
Improved ONL Mount Manager
...
- Better structured.
- Clients can now use mounts in ReadOnly and ReadWrite contexts seamlessly.
2016-05-27 19:40:00 +00:00
Jeffrey Townsend
95f545bf27
- initmounts -> onl-mounts
...
- pki -> onl-pki
2016-05-27 19:39:24 +00:00
Jeffrey Townsend
09d6ba8cae
- initmounts -> onl-mounts
...
- pki -> onl-pki
2016-05-27 19:38:48 +00:00
Jeffrey Townsend
c94cc26460
Initial ONL system configuration.
2016-05-27 19:37:56 +00:00
Jeffrey Townsend
2d7ded9d0c
Onl Utility Classes.
2016-05-27 19:36:37 +00:00
Jeffrey Townsend
f170a0117c
Initial system configuration and customization interface.
2016-05-27 19:35:26 +00:00
Carl D. Roth
9194aff9da
Don't install an empty version file
2016-05-27 11:36:44 -07:00
Carl D. Roth
c4669a6dc0
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
...
Conflicts:
builds/amd64/installer/legacy/builds/Makefile
builds/any/installer/grub/builds/Makefile
builds/any/installer/legacy/fit/builds/Makefile
builds/any/installer/uboot/builds/Makefile
packages/base/all/initrds/loader-initrd-files/PKG.yml
packages/platforms-closed
2016-05-26 14:42:37 -07:00
Carl D. Roth
e17ea293e2
Refactor boot, boot1, implement directory-based installs
2016-05-26 14:06:00 -07:00
Carl D. Roth
c2e6da45a4
Factored out swi unpack/mount/overlay stuffs
2016-05-26 14:03:50 -07:00
Carl D. Roth
8041b7bf7c
Deprecate initnetdev
...
- moved to onl-vendor-config-onl
- onl-loader-initscripts is now deprecated
2016-05-25 11:48:34 -07:00
Carl D. Roth
dbb2989314
Refactor to use swiget and swimount
...
- working (almost) support for persistent installs
2016-05-25 11:13:46 -07:00
Carl D. Roth
168495e04b
Move 'latest' SWI calculation into swiget
2016-05-25 11:13:46 -07:00
Carl D. Roth
6a17f71234
Factor out the SWI retrieval and directory mounting
2016-05-25 11:13:45 -07:00
Carl D. Roth
f9b67ae99c
Added 'installed' bootmode with inspiration from @sonoble
...
- refactor to leverage /bootmodes/swi
- splice in some of the /etc muckery from /bin/boot
- added consistency checks
- put some temp files on the flash
2016-05-25 11:13:45 -07:00
Carl D. Roth
d72cfb61a0
Added HostInfo parser to help with IPv6 addresses and authentiation creds
2016-05-25 11:13:45 -07:00
Carl D. Roth
aacb668932
Don't remount the filesystem if it is the root filesystem
2016-05-25 11:13:45 -07:00
Carl D. Roth
912602b697
Set hostDir to None to skip cleanup
2016-05-25 11:13:45 -07:00
Jeffrey Townsend
c568351d91
Remove comments.
2016-05-25 11:13:45 -07:00
Carl D. Roth
87ae54e79c
loader init files depend on onl-vendor-config-onl
2016-05-25 11:13:45 -07:00
Jeffrey Townsend
6eab05f1de
initdev -> initmounts
2016-05-20 16:49:30 +00:00
Jeffrey Townsend
b78a912292
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
2016-05-20 14:55:25 +00:00
Jeffrey Townsend
5a9fe10b10
Merge pull request #83 from carlroth/master
...
Latest onl installer rollup
2016-05-20 07:53:46 -07:00
Jeffrey Townsend
9057eb80e2
Version files moved.
2016-05-20 01:25:36 +00:00
Jeffrey Townsend
dd4ebb7904
Support possible dynamic generation of the boot-config if not present.
2016-05-20 00:09:24 +00:00
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