mirror of
				https://github.com/Telecominfraproject/OpenNetworkLinux.git
				synced 2025-10-31 18:28:15 +00:00 
			
		
		
		
	Rootfs and SWI Build Cleanup
The rootfs and SWI packages are now stored separately from the base packages. The base and platform packages are designed as inputs for the system integrator and are separated for use by those building their own systems. The rootfs, SWI (and soon to be installer) parts of the builds are productizations of those inputs. When ONL is integrated as part of a larger project these rootfs and SWI packages are not used directly.
This commit is contained in:
		
							
								
								
									
										2
									
								
								builds/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								builds/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| *.swi | ||||
| *.md5sum | ||||
							
								
								
									
										1
									
								
								builds/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| include $(ONL)/make/pkg.mk | ||||
							
								
								
									
										1
									
								
								builds/amd64/rootfs/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/amd64/rootfs/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| *.d/ | ||||
							
								
								
									
										1
									
								
								builds/amd64/rootfs/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/amd64/rootfs/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| include $(ONL)/make/pkg.mk | ||||
							
								
								
									
										1
									
								
								builds/amd64/rootfs/PKG.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/amd64/rootfs/PKG.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| !include $ONL/builds/any/rootfs/APKG.yml ARCH=amd64 | ||||
							
								
								
									
										1
									
								
								builds/amd64/rootfs/builds/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/amd64/rootfs/builds/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| manifest.json | ||||
							
								
								
									
										16
									
								
								builds/amd64/rootfs/builds/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								builds/amd64/rootfs/builds/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| include $(ONL)/make/config.amd64.mk | ||||
|  | ||||
| # | ||||
| # Default to include all available amd64 platforms. | ||||
| # You override this with you own list or yaml file. | ||||
| # | ||||
| export PLATFORM_LIST=$(shell onlpm --list-platforms --arch amd64 --csv ) | ||||
|  | ||||
| RFS_CONFIG := $(ONL)/packages/base/any/rootfs/standard/standard.yml | ||||
| RFS_DIR := rootfs-amd64.d | ||||
| RFS_CPIO := rootfs-amd64.cpio.gz | ||||
| RFS_SQUASH := rootfs-amd64.sqsh | ||||
|  | ||||
| include $(ONL)/make/rfs.mk | ||||
|  | ||||
|  | ||||
							
								
								
									
										1
									
								
								builds/amd64/swi/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/amd64/swi/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| include $(ONL)/make/pkg.mk | ||||
							
								
								
									
										2
									
								
								builds/amd64/swi/PKG.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								builds/amd64/swi/PKG.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| !include $ONL/builds/any/swi/APKG.yml ARCH=amd64 | ||||
|  | ||||
							
								
								
									
										23
									
								
								builds/any/rootfs/APKG.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								builds/any/rootfs/APKG.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| prerequisites: | ||||
|   broken: true | ||||
|  | ||||
| common: | ||||
|   arch: $ARCH | ||||
|   version: $FNAME_RELEASE_ID | ||||
|   copyright: Copyright 2013, 2014, 2015 Big Switch Networks | ||||
|   maintainer: support@bigswitch.com | ||||
|  | ||||
| packages: | ||||
|   - name: onl-rootfs | ||||
|     summary: Open Network Linux Root Filesystem | ||||
|  | ||||
|     files: | ||||
|       builds/rootfs-$ARCH.cpio.gz : $$PKG_INSTALL/ | ||||
|       builds/rootfs-$ARCH.sqsh : $$PKG_INSTALL/ | ||||
|       builds/manifest.json : $$PKG_INSTALL/ | ||||
|  | ||||
|     changelog:  Change changes changes., | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
							
								
								
									
										35
									
								
								builds/any/swi/APKG.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								builds/any/swi/APKG.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | ||||
|  | ||||
| prerequisites: | ||||
|   broken: true | ||||
|   packages: [ "onl-rootfs:$ARCH" ] | ||||
|  | ||||
| common: | ||||
|   arch: $ARCH | ||||
|   version: $FNAME_RELEASE_ID | ||||
|   copyright: Copyright 2013, 2014, 2015 Big Switch Networks | ||||
|   maintainer: support@bigswitch.com | ||||
|  | ||||
| packages: | ||||
|   - name: onl-swi | ||||
|     summary: Open Network Linux Switch Image (All $ARCH) Platforms) | ||||
|  | ||||
|     files: | ||||
|       builds/*.swi          : $$PKG_INSTALL/ | ||||
|       builds/*.md5sum       : $$PKG_INSTALL/ | ||||
|  | ||||
|     changelog:  Change changes changes., | ||||
|  | ||||
|  | ||||
| release: | ||||
|   - builds/*.swi : $ARCH/ | ||||
|   - builds/*.md5sum : $ARCH/ | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
							
								
								
									
										1
									
								
								builds/powerpc/rootfs/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/powerpc/rootfs/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| include $(ONL)/make/pkg.mk | ||||
							
								
								
									
										1
									
								
								builds/powerpc/rootfs/PKG.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/powerpc/rootfs/PKG.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| !include $ONL/builds/any/rootfs/APKG.yml ARCH=powerpc | ||||
							
								
								
									
										2
									
								
								builds/powerpc/rootfs/builds/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								builds/powerpc/rootfs/builds/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| *.d/ | ||||
| manifest.json | ||||
							
								
								
									
										16
									
								
								builds/powerpc/rootfs/builds/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								builds/powerpc/rootfs/builds/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| include $(ONL)/make/config.powerpc.mk | ||||
|  | ||||
| # | ||||
| # Default to include all available powerpc platforms. | ||||
| # You override this with you own list or yaml file. | ||||
| # | ||||
| export PLATFORM_LIST=$(shell onlpm --list-platforms --arch powerpc --csv ) | ||||
|  | ||||
| RFS_CONFIG := $(ONL)/packages/base/any/rootfs/standard/standard.yml | ||||
| RFS_DIR := rootfs-powerpc.d | ||||
| RFS_CPIO := rootfs-powerpc.cpio.gz | ||||
| RFS_SQUASH := rootfs-powerpc.sqsh | ||||
|  | ||||
| include $(ONL)/make/rfs.mk | ||||
|  | ||||
|  | ||||
							
								
								
									
										1
									
								
								builds/powerpc/swi/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								builds/powerpc/swi/Makefile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| include $(ONL)/make/pkg.mk | ||||
							
								
								
									
										2
									
								
								builds/powerpc/swi/PKG.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								builds/powerpc/swi/PKG.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| !include $ONL/builds/any/swi/APKG.yml ARCH=powerpc | ||||
|  | ||||
							
								
								
									
										2
									
								
								builds/swi/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								builds/swi/.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,2 +0,0 @@ | ||||
| *.swi | ||||
| *.swi.md5sum | ||||
		Reference in New Issue
	
	Block a user
	 Jeffrey Townsend
					Jeffrey Townsend