Carl D. Roth
a676d8ed2c
Fixed exception handler and log message
2016-11-04 12:53:48 -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
a24beac4fd
- 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-25 18:02:00 +00:00
Jeffrey Townsend
6b051c4533
Upgrade separation and cleanup.
2016-10-21 18:12:33 +00:00
Jeffrey Townsend
b3e2757b31
Fix uninstallation.
2016-10-21 16:02:32 +00:00
Jeffrey Townsend
09cb160ca6
Enable ONIE and Firmware Upgrade Package Support
2016-10-20 21:18:24 +00:00
Jeffrey Townsend
c227d90e85
Add platform and firmware keys.
2016-10-20 14:16:01 -07:00
Jeffrey Townsend
f61b2436f1
Commit the sysctl settings prior to first mount.
2016-10-20 21:15:05 +00:00
Jeffrey Townsend
23e6922e71
Add default ONIE upgrade package settings.
2016-10-19 21:36:00 +00:00
Jeffrey Townsend
6a97f85532
Onie and Loader infrastructure improvements
...
- Loader and ONIE moved to importable classes for tool usage
- OnieUpgradeBase updated.
2016-10-19 21:34:54 +00:00
Jeffrey Townsend
a6aba0a15f
Generalize to all exceptions.
2016-10-19 14:54:11 +00:00
Zi Zhou
d47fa3a5a1
Do not show CRC under System Information for "show version"
2016-10-13 17:19:31 -07:00
Jeffrey Townsend
02df906749
The onl-pki script has moved.
2016-10-11 20:30:35 +00:00
Jeffrey Townsend
13d06bab43
Add sysconfig SWI upgrade mode.
2016-09-23 14:48:18 +00:00
Jeffrey Townsend
7714680845
Send DHCP client-id for ma1.
...
This makes the requests the same as those issued by ONIE and the Loader,
both of which use udhcpc (which sends Option 61 by default).
2016-08-31 17:28:19 +00:00
Jeffrey Townsend
a6cad524a8
Fix incorrect format check.
2016-08-30 21:11:37 +00:00
Jeffrey Townsend
7748ae181c
Merge pull request #103 from sonoble/doc_onie_update
...
allows for the use of . in onie identifiers and updates documentation
2016-08-27 08:33:09 -07:00
Steven Noble
c776a7138d
allows for the use of . in onie identifiers and updates documentation
2016-08-26 10:20:45 -07:00
Jeffrey Townsend
f34f93bc0b
Support multiple environmental output formats.
2016-08-25 19:23:17 +00:00
Shengzhou Liu
479247cf7c
Add arm64 support for initrds and buildroot
2016-08-17 00:57:17 +08:00
Shengzhou Liu
1ed3041b9d
Add arm64 support for build and installer
2016-08-17 00:57:01 +08:00
Jeffrey Townsend
c606d65cb2
Enable ONL Config installation (uboot).
2016-08-15 09:15:10 -07:00
Jeffrey Townsend
2e7df5b080
Populate the ONL-CONFIG partition with a README.
...
- This is mostly infrastructure prove-out.
2016-08-12 19:03:04 +00:00
Jeffrey Townsend
890ded00f3
Add 64x40.
2016-08-11 20:51:01 +00:00
Jeffrey Townsend
68a5b32aa4
onl-bootd is a dependency.
2016-07-30 16:40:27 +00:00
Jeffrey Townsend
b9b61d71fd
- The install initrd is now explicit in the sysconfig
...
- The system initrd is now named as per the platform.
2016-07-29 15:34:04 -07:00
Jeffrey Townsend
4b66ba09a0
The upgrade initrd is now explicit in the sysconfig.
2016-07-29 15:33:35 -07:00
Jeffrey Townsend
451cc90675
The installation and upgrade initrds are now explicit in the sysconfig.
2016-07-29 15:32:58 -07:00
Jeffrey Townsend
cf9b8818c6
Loader-specific package has been deprecated.
2016-07-29 15:32:34 -07:00
Jeffrey Townsend
f7bb2a4e50
Deprecated.
2016-07-29 15:30:10 -07:00
Jeffrey Townsend
d23e8e1ace
Full path must be used.
2016-07-29 15:29:47 -07:00
Carl D. Roth
ae1798a75b
Add missing ONIE label-finder, fix bugs in blkid scanner
2016-07-27 15:08:05 -07:00
Jeffrey Townsend
1aa0c86ac2
Merge pull request #86 from carlroth/master
...
Support persistent, directory-based installs
2016-07-26 14:33:08 -07:00
Jeffrey Townsend
9e88eb125e
Merge pull request #92 from jnealtowns/as4610
...
Support AS4610-30 and AS4610-54
2016-07-22 14:53:12 -07:00
Jeffrey Townsend
57ebc779d8
Merge pull request #93 from carlroth/roth_bigdisk
...
Updates for larger disks with non-default block sizes
2016-07-22 14:53:02 -07:00
Carl D. Roth
a2a255ae06
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:41:59 -07:00
Carl D. Roth
ff3bbf7bb8
Remount onie-boot if necessary
2016-07-22 13:41:49 -07:00
Carl D. Roth
551eb28d33
Re-introduce code that identifies already-mounted rootfs
2016-07-22 13:39:13 -07:00
Jeffrey Townsend
67df0a0c8b
Add 3.16 kernel option.
2016-07-22 20:35:44 +00: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
a444ecc26d
Add 24x1+4x10.
2016-07-20 23:16:37 +00: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