Commit Graph

130 Commits

Author SHA1 Message Date
Carl D. Roth
551eb28d33 Re-introduce code that identifies already-mounted rootfs 2016-07-22 13:39:13 -07:00
Carl D. Roth
b1b0b218fd Updates for large disks
- report logical and physical sector sizes
- be less strict about sector sizes
- align partitions on physical sector size
2016-07-22 13:33:00 -07:00
Carl D. Roth
ac6f246291 Remount onie-boot if necessary 2016-07-22 13:27:58 -07: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
b19ec20227 Boot-time package installation option.
Packages present and listed in /mnt/onl/data/install-debs/list will be installed.
This faciliates development and boot-patching of existing systems.
2016-07-19 14:35:32 +00:00
Jeffrey Townsend
705fd2f3cd Set default logger. 2016-07-19 14:35:03 +00:00
Jeffrey Townsend
80822e7f66 Return the current environmental data. 2016-07-14 17:40:29 +00:00
Jeffrey Townsend
1d878e046d Return current environmental data in JSON 2016-07-14 17:38:43 +00:00
Jeffrey Townsend
c575a267dc Make the upgrade status accessible. 2016-07-14 17:20:38 +00:00
Jeffrey Townsend
a3b8906db3 Clarify platform OID methods. 2016-07-14 17:19:06 +00:00
Jeffrey Townsend
6ef54b1986 Improve context management. 2016-07-14 17:18:47 +00:00
Jeffrey Townsend
3eea17f7a9 Add new versions class interface. 2016-07-13 22:58:00 +00:00
Jeffrey Townsend
b044cf78a0 - Use the sysconfig interface for customization.
- Assume the existance of the initrd [This needs to be fixed later].
2016-07-11 19:42:21 +00:00
Jeffrey Townsend
997565c6bd Add default installer strings. 2016-07-11 19:42:00 +00:00
Jeffrey Townsend
418bdf3a5a The initrd is not longer a part of the platform configuration. This is an integration setting. 2016-07-11 19:41:09 +00:00
Jeffrey Townsend
4918fee87b If any rc.boot scripts are present in mounted partitions they will be executed at boot time. 2016-07-05 22:46:06 +00:00
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