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
d7d53cdedd
Installer script overhaul
...
- support lazy unzip within python installer
- properly locate or create a tmpfs for expanding the installer
- properly resize the tmpfs (and restore it)
- export the installer zip file to the install routines
2016-05-10 18:27:01 -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
Jeffrey Townsend
c7c30e87ef
Allow environmental override for the ONL_BOOT partition size.
...
- Mostly for testing.
2016-05-10 20:16:34 +00:00
Jeffrey Townsend
e3233fc49b
Use our own version of mkfs.ext2 while formatting partitions.
...
- The busybox version run under ONIE does not seem to be able to apply the filesystem label properly.
- This is just a temporary stop-gap until the new installer architecture is merged from @carlroth.
2016-05-10 19:48:22 +00:00
Jeffrey Townsend
fb55df63fd
Allow for installer and architecture-specific tools packages.
2016-05-10 19:47:05 +00:00
Jeffrey Townsend
0545803bb0
Allow for extra installer files.
2016-05-10 19:46:25 +00:00
Carl D. Roth
e63baed466
Overhaul tmpfs support
...
- find a suitable TMPDIR that is actually tmpfs/ramfs
- resize tmpfs/ramfs as needed
- enable unzip overwrite mode
2016-05-10 12:04:03 -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
0596237d13
Added unzip
2016-05-10 12:01:39 -07:00
Carl D. Roth
bbd3184661
Added bzip2 and xz for unpacking ONIE images
2016-05-09 13:29:09 -07:00
Carl D. Roth
b6e07b5bf7
Added armel installer
2016-05-09 12:04:37 -07:00
Carl D. Roth
227a61b210
Clean up arch handling for ppc and arm
2016-05-09 12:00:55 -07:00
Carl D. Roth
9099044120
Refactor rules for installer
2016-05-06 16:38:52 -07:00
Carl D. Roth
f38e167b77
Remove deprecated files
2016-05-06 16:37:25 -07:00
Carl D. Roth
7a1a873985
Fixed whitespace in command args
2016-05-06 16:37:10 -07:00
Carl D. Roth
385e78d350
Added powerpc installer build
2016-05-06 11:31:18 -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
f8c9f41484
Added vendor config packages to loader
2016-05-06 11:12:48 -07:00
Carl D. Roth
ef8c6e701a
Update powerpc and arm profiles for new template
2016-05-06 11:12:05 -07:00
Carl D. Roth
07e68fe666
Working powerpc template, also include arm
2016-05-06 11:09:57 -07:00
Carl D. Roth
0c7b466bcd
Refactor to use onlpm as a module
2016-05-06 11:08:29 -07:00
Carl D. Roth
c5a8d943b2
Support dtb and itb extraction
2016-05-06 11:08:06 -07:00
Carl D. Roth
71e0cc65c2
Added list_platforms api call
2016-05-06 11:07:54 -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
a6c36afee2
Relax arch rules for powerpc and arm installer
2016-05-06 11:04:54 -07:00
Carl D. Roth
08a3f3b5fc
Added arm support
2016-05-06 11:02:51 -07:00
Steven Noble
7dbae503f3
Update hw ( #76 )
...
* Updated OpenNSL/OFDPA support for AS7716
* Added Accton AS5512-54X MediaTek based switch
2016-05-06 10:13:24 -07:00
Carl D. Roth
8c138c6e4d
Update ignore rules
2016-05-02 14:00:13 -07:00
Carl D. Roth
760c3c7792
x64 build of the new installer
2016-05-02 13:30:29 -07:00
Carl D. Roth
5f12eb0f1e
New installer common files
2016-05-02 13:07:28 -07:00
Carl D. Roth
7c2bb91b7c
Clean up onlpm and make it embeddable
2016-05-02 13:00:55 -07:00
Carl D. Roth
9fefb7955d
Helper script to pull out kernel/initrd/vendor
2016-05-02 13:00:23 -07:00
Carl D. Roth
672e8d656d
Handle dict values in kernel and dtb
2016-05-02 13:00:02 -07:00
Carl D. Roth
a5e443274f
Platform configs for x86-64 systems
2016-05-02 12:58:47 -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
Steven Noble
86e8008b24
Added Accton AS4610 to HCL ( #75 )
...
* Added Accton AS4610 to HCL
* Added AS7716 and Coverity status
2016-04-28 17:03:51 -07:00
brandonchuang
72c18019a5
[as4600] Implement fan failure checking mechanism. [as5610] Implement thermal plan ( #74 )
...
* [as4600] Implement fan failure checking mechanism
* [as5610] Implement thermal plan
2016-04-28 17:02:25 -07:00