175 Commits

Author SHA1 Message Date
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
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
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
1d19e6fd66 Fixed conditional for arch test 2016-05-13 11:32:49 -07: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
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
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
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
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
385e78d350 Added powerpc installer build 2016-05-06 11:31:18 -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
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
Jeffrey Townsend
429cbf0ad1 Add default CSR configuration. 2016-04-21 01:03:27 +00:00
Jeffrey Townsend
177ea065e7 Add openssl. 2016-04-21 00:57:51 +00:00
Jeffrey Townsend
8491981e35 The ONL-CONFIG partition should not be mounted by default. 2016-04-21 00:56:46 +00:00
Steven Noble
90f0218b57 Update REPO directories to match standard APT names binary-arch 2016-04-19 14:53:58 -07:00
Jeffrey Townsend
4f1f372a0e - Add snmp tools
- Enable snmp systemview with the ONL MIBS
- ONL MIB package
2016-04-15 16:51:36 +00:00
Carl D. Roth
40a6020f27 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux 2016-04-14 12:59:43 -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
6933dc57e2 Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux into new_partitions 2016-04-13 15:24:32 -07:00
Jeffrey Townsend
0fc6a22a19 New ONL Partition Format 2016-04-13 15:23:53 -07:00
Jeffrey Townsend
d9db525297 Merge pull request #67 from carlroth/master
Initial rollup of installer WIP
2016-04-13 14:25:03 -07:00
Carl D. Roth
25fb90d1f8 Added python-yaml and python-parted to base ONL build 2016-04-13 14:17:22 -07:00
Jeffrey Townsend
4030df9548 ARM Installer 2016-04-05 16:53:37 +00:00
Jeffrey Townsend
06610ab287 Update 2016-04-05 16:53:09 +00:00
Jeffrey Townsend
24294e7c19 No longer used. 2016-04-05 16:52:31 +00:00
Jeffrey Townsend
11502f8086 Use common FIT installer. 2016-04-05 09:49:18 -07:00
Jeffrey Townsend
5aee4830af The legacy PPC installer is now a generic FIT installer used by both PPC and ARM. 2016-04-05 16:47:07 +00:00
Jeffrey Townsend
2b26feefce Add FIT upgrade package. 2016-04-05 09:10:27 -07:00
Jeffrey Townsend
124f2ced6c Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
Conflicts:
	sm/infra
2016-04-04 11:14:19 -07:00
Jeffrey Townsend
3574101b65 ARM packages. 2016-04-04 18:05:37 +00:00
Jeffrey Townsend
cb64684123 ARM Builds 2016-04-04 18:05:24 +00:00