Commit Graph

522 Commits

Author SHA1 Message Date
Jeffrey Townsend
f7e3d54e72 Removed. 2016-05-20 00:11:43 +00:00
Jeffrey Townsend
70327a396e Generate the version files if necessary.
This is to support inclusion in a superproject which does not use the local setup.env.
2016-05-20 00:10:26 +00:00
Jeffrey Townsend
dd4ebb7904 Support possible dynamic generation of the boot-config if not present. 2016-05-20 00:09:24 +00:00
Jeffrey Townsend
95997e7983 Use the system boot-config from /mnt/onl/boot/boot-config if present.
If not, use system default /etc/onl/boot-config-default if present.
2016-05-20 00:08:16 +00:00
Jeffrey Townsend
647e9d3bef Mount ONL-BOOT read-write by default. 2016-05-20 00:07:26 +00:00
Jeffrey Townsend
4158ab47c8 - Move version files to versions directory.
- Remove ENV_JSON option in favor of explicit includes in necessary packages files.
2016-05-20 00:03:32 +00:00
Jeffrey Townsend
1cd5a85fd9 Add YAML output files. 2016-05-20 00:02:59 +00:00
Jeffrey Townsend
bef2556d61 Use ONLPM_OPTION_REPO as the base local repository. 2016-05-18 18:08:53 +00:00
Jeffrey Townsend
0477d8d90d Init at INFO. 2016-05-17 12:47:28 -07:00
Jeffrey Townsend
911183ee7f Import from ONLP Repository. 2016-05-17 12:46:58 -07:00
Jeffrey Townsend
80d06bec5a Remove comments. 2016-05-17 12:46:18 -07:00
Jeffrey Townsend
8c8f7c35c1 Latest 2016-05-17 12:45:55 -07:00
Jeffrey Townsend
837ad41021 Fix connection configuration. 2016-05-17 18:30:17 +00:00
Jeffrey Townsend
266608c85a Rename the legacy installer as such.
If will be removed once the new installers are fully qualified on all platforms.
2016-05-17 01:39:34 +00:00
Jeffrey Townsend
3646da03a3 The new-hotness installer is now the regular-hotness installer. 2016-05-16 16:55:18 -07:00
Jeffrey Townsend
4f56199c35 The new-hotness installer is now the regular-hotness installer. 2016-05-16 23:47:15 +00:00
Jeffrey Townsend
7d2a8b48ec Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-05-16 23:38:24 +00:00
Jeffrey Townsend
918e43ac94 New onlp_ledi_char_set(). 2016-05-16 23:38:11 +00:00
Jeffrey Townsend
7783d7bb18 Support LED Character Devices
- Set ONLP_LED_CAP_CHAR to support a character display.
- Implement onlp_ledi_char_set().
- Add the when implementing onlp_ledi_info_get().
2016-05-16 23:37:04 +00:00
Jeffrey Townsend
e07bbc3ad4 Merge pull request #81 from jnealtowns/master
New Installer Architecture
2016-05-16 16:33:01 -07:00
Jeffrey Townsend
76ed0a772c Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	builds/any/rootfs/jessie/common/common-packages.yml
	builds/any/rootfs/wheezy/common/common-packages.yml
2016-05-16 14:18:18 -07:00
Jeffrey Townsend
40ae15f0aa Merge pull request #79 from sonoble/318_update
updated 3.18 kernel to include AUFS and other options
2016-05-16 13:55:02 -07:00
Jeffrey Townsend
8f941b255b Merge pull request #78 from Lewis-Kang/master
support installing NOS to where ONIE image resides while block device is not specified
2016-05-16 13:54:47 -07:00
Carl D. Roth
b7c148efcd installer fixes for arm
- Fixed arch typo
2016-05-16 11:51:04 -07:00
Carl D. Roth
d67d6d97b7 installer fixes for amd64
- unmount filesystems before the chroot
2016-05-16 11:44:21 -07:00
Carl D. Roth
0e6f10c92a Minor installer fixes
- handle powerpc architecture renames
- pass --force flag for GPT installs
2016-05-13 11:54:29 -07:00
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
Steven Noble
bac2e2cdc1 updated 3.18 kernel to include AUFS and other options 2016-05-13 05:17:07 +00:00
Lewis Kang
2c74660aa9 if error -> exit 1 2016-05-13 11:18:19 +08:00
Lewis Kang
04414276f3 modify the comment and error message 2016-05-13 09:38:32 +08:00
Lewis Kang
3d8a473b65 support installing NOS to where ONIE image resides while block device is not specified
this fixes the issue when an external USB disk is inserted before powering on the switch that
may change the device name of the expected installation destination (e.g. /dev/sdb becomes /dev/sdc)
2016-05-12 18:20:31 +08:00
Lewis Kang
194ef35b66 Merge pull request #6 from opencomputeproject/master
merge from upstream
2016-05-12 14:26:10 +08: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
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