Commit Graph

407 Commits

Author SHA1 Message Date
Carl D. Roth
5773f5e759 Minor loader-shell breakage on ppc 2016-11-10 17:42:55 -08:00
Carl D. Roth
551435819d Fixed format test api 2016-11-10 15:26:27 -08:00
Carl D. Roth
52c96b0bea Extend U-Boot initrd support to include legacy images 2016-11-10 14:50:26 -08:00
Carl D. Roth
707279da6f Relax OS and TYPE requirements 2016-11-10 14:49:51 -08:00
Carl D. Roth
1e262f8b6f Do not parse the ONIE initrd for u-boot systems 2016-11-10 14:39:55 -08:00
Carl D. Roth
c65c0ff001 Added magic-number tester 2016-11-10 14:39:33 -08:00
Carl D. Roth
640295d3b3 Added legacy u-boot parser 2016-11-10 14:39:25 -08:00
Carl D. Roth
0585e17740 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_swl_3426 2016-11-09 15:20:50 -08:00
Jeffrey Townsend
eca7a60349 Recover default boot-config into /mnt/onl/boot. 2016-11-09 21:45:37 +00:00
Jeffrey Townsend
04658945c5 The upgrade status manifest may not be available during system upgrade. 2016-11-09 21:18:47 +00:00
Jeffrey Townsend
48689e3d98 Boot-config installation is optional. 2016-11-09 21:18:17 +00:00
Jeffrey Townsend
2ad51228d9 The system upgrade step must occur prior to mount and platform setup. 2016-11-09 21:17:10 +00:00
Carl D. Roth
a394f2b84c Unmount /mnt/onl/boot prior to invoking the installer 2016-11-09 12:38:48 -08:00
Carl D. Roth
46c8c0a0be Working for x86 2016-11-09 12:38:18 -08:00
Jeffrey Townsend
558e9f3d29 Merge pull request #121 from carlroth/master
Implement system upgrade for in-place re-partitioning
2016-11-09 09:16:48 -08:00
Steven Noble
7ea57d959b adds base-files dependency to faultd 2016-11-09 02:18:31 +00:00
Carl D. Roth
4c9c1fa745 Works for ppc, x86 probably needs a chroot 2016-11-08 16:21:58 -08:00
Jeffrey Townsend
38297a63cf Latest 2016-11-08 19:57:17 +00:00
Jeffrey Townsend
e2f9ea1fba Add Device Mapper/Crypt support. 2016-11-08 14:29:07 +00:00
Jeffrey Townsend
0508e7149c Latest 2016-11-08 14:28:57 +00:00
Carl D. Roth
1eaf262f71 Refactor to use OnieBootContext 2016-11-07 17:55:06 -08:00
Carl D. Roth
9e15479060 Refactor to use OnieBootContext 2016-11-07 17:54:50 -08:00
Carl D. Roth
c730004e2b Initial working version of OnieBootContext 2016-11-07 17:54:36 -08:00
Carl D. Roth
ad913e98c5 Minor fixes after fallout from git pull 2016-11-07 17:53:49 -08:00
Carl D. Roth
d6010dbd9c Merge branch 'master' of github.com:carlroth/OpenNetworkLinux into roth_swl_3426
Conflicts:
	packages/base/all/vendor-config-onl/src/python/onl/install/InstallUtils.py
	packages/base/all/vendor-config-onl/src/python/onl/install/ShellApp.py
2016-11-07 15:16:21 -08:00
Carl D. Roth
d11513407c Merge branch 'master' of github.com:carlroth/OpenNetworkLinux 2016-11-07 13:13:41 -08:00
Carl D. Roth
19d19ef51c Fix swiget for if SWI is missing 2016-11-07 13:12:54 -08:00
Carl D. Roth
3dd8881921 Updates for review feedback
- use built-in mount context for ONL-BOOT
- fix logger handle
- minor nit for swiget if the SWI is missing
2016-11-07 13:12:42 -08:00
Carl D. Roth
c85967e4db Handle unmount when detached 2016-11-07 10:50:17 -08:00
Carl D. Roth
001aa48a45 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py
2016-11-04 16:02:18 -07:00
Carl D. Roth
4595c3d736 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into roth_swl_3426 2016-11-04 15:45:16 -07:00
Jeffrey Townsend
1ced5a5251 Merge pull request #123 from carlroth/roth_swl_3246
Handle unformatted/corrupted partition tables, see SWL-3246
2016-11-04 13:09:23 -07:00
Carl D. Roth
a676d8ed2c Fixed exception handler and log message 2016-11-04 12:53:48 -07:00
Carl D. Roth
8979e5ebba Added fixmes 2016-11-04 12:37:05 -07:00
Carl D. Roth
cf1bfca4c0 Refactor to use fit extraction context object 2016-11-04 12:36:55 -07:00
Carl D. Roth
3f02990279 Added fit extraction context object, add attach/detach support 2016-11-04 12:36:18 -07:00
Carl D. Roth
cbd57c1005 Refactor boot loader config upgrade code 2016-11-04 12:35:50 -07:00
Carl D. Roth
6d1aaa134c Handle unformatted/corrupted partition tables, see SWL-3246
- handle more pyparted exceptions
- properly clobber the disk signature
2016-11-03 13:58:40 -07:00
Jeffrey Townsend
ac87756cda Patch CVE-2016-5195 (Dirty Cow). 2016-11-03 19:59:56 +00:00
Zi Zhou
b8669dc209 support SMBus block read 2016-11-01 15:22:20 -07:00
Carl D. Roth
515a881bb5 Oops, botched merge 2016-10-26 17:33:29 -07:00
Carl D. Roth
9be51dc6a7 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	packages/base/all/vendor-config-onl/src/etc/onl/sysconfig/00-defaults.yml
	packages/base/all/vendor-config-onl/src/python/onl/install/BaseInstall.py
2016-10-26 13:30:23 -07:00
Carl D. Roth
12b7eb52df Move upgrade scripts to make room 2016-10-26 12:39:49 -07:00
Carl D. Roth
ac3475f215 Added upgrade-system step 2016-10-26 12:39:49 -07:00
Jeffrey Townsend
820cc3d973 - DHCP Timeout support in the Loader environment
When $NETAUTO=dhcp the transaction will now timeout after $NETRETRIES attempts.
  If the system has a local install or SWI then booting can continue.

  For systems which require DHCP to be functional before booting can continue
  (for example SWIs downloaded via URL rather than locally) then NETRETRIES=infinite should be set in the boot-config.

  NETRETRIES can be set to any number of attempts, or infinite. The default value is 5 attempts.

- Wait for ma1 linkup in the loader
  A short wait has been introduced to allow ma1 to linkup prior to continuing.
2016-10-26 12:39:26 -07:00
Jeffrey Townsend
1d52f43a0b Upgrade separation and cleanup. 2016-10-26 12:39:26 -07:00
Jeffrey Townsend
222ffd2504 Fix uninstallation. 2016-10-26 12:39:26 -07:00
Jeffrey Townsend
b077ed028b Enable ONIE and Firmware Upgrade Package Support 2016-10-26 12:39:24 -07:00
Jeffrey Townsend
4a5732241c Add platform and firmware keys. 2016-10-26 12:38:34 -07:00
Jeffrey Townsend
b7879951f0 Commit the sysctl settings prior to first mount. 2016-10-26 12:38:34 -07:00