Commit Graph

451 Commits

Author SHA1 Message Date
Carl D. Roth
bb1c556cc4 Better error handling for failed connections
Export debug and verbosity settings
2016-05-11 13:47:32 -07:00
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
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
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
Carl D. Roth
40a6020f27 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-04-14 12:59:43 -07:00
Carl D. Roth
f9b34e1ef8 Add onl-vendor-config-onl to initrd 2016-04-14 11:19:45 -07:00
Jeffrey Townsend
d79158cdcf Merge pull request #68 from jnealtowns/new_partitions
New Partition and Mount Management
2016-04-13 19:45:49 -07:00
Jeffrey Townsend
ded0768f6b Mount policies for SWI runtimes. 2016-04-13 18:56:09 -07:00
Jeffrey Townsend
ba8dfdbf1d New Standard Partition Layout
- ONL-BOOT   : Loader/kernels/boot-config
- ONL-CONFIG : System Configuration. Persistant across upgrades.
- ONL-IMAGES : Switch Image Store
- ONL-DATA   : Runtime data store (SWI mode) or root filesystem partition (normal install mode).
2016-04-13 18:54:21 -07:00
Jeffrey Townsend
bcfbeda74b Latest 2016-04-13 18:53:43 -07:00