Carl D. Roth
e11a5bd0cd
Propagate the '--force' flag properly
2016-05-13 11:53:57 -07:00
Carl D. Roth
1d19e6fd66
Fixed conditional for arch test
2016-05-13 11:32:49 -07:00
Carl D. Roth
082789b012
Back out onlyaml rewrite to another branch
2016-05-13 10:20:46 -07:00
Carl D. Roth
19a8e75036
Optionally mount tmpfs within the loader
...
- XXX DANGER @jnealtowns be advised
2016-05-11 13:57:22 -07:00
Carl D. Roth
2915cbb35b
Minor tmpfs fixes
...
- don't unmount /tmp
- fix bind-mount target so chroot can see the installer file
2016-05-11 13:56:40 -07:00
Carl D. Roth
d2c7fc536a
Updates for loader-based and onl-based installs
...
- allow some SFX settings to be overridden
- refactor checksum validation
- support --inplace padding fixups to economize on disk space
2016-05-11 13:49:50 -07:00
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