Name: contrail-packages
Owner: Juniper Networks
Description: Build and packaging scripts for OpenContrail.
Created: 2014-02-11 16:37:36.0
Updated: 2018-03-30 21:07:12.0
Pushed: 2018-03-30 21:07:10.0
Homepage: null
Size: 2094
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Build and packaging scripts for OpenContrail.
debian/ # Debian packaging
??? contrail/ # Debian package for contrail
??? <pkg-name>/ # Debian package <pkg-name>
rpm/ # RPM packaging
??? contrail/ # RPMs for contrail
? ??? contrail.spec # RPM spec for package contrail
? ??? <pkg-files> # Files used with package contrail
??? <pkg-name>/ # RPMs for <pkg-name>
? ??? <pkg-name>.spec # RPM spec for package <pkg-name>
? ??? <pkg-files> # Files used with package <pkg-name>
utils/ # Utility scripts
Makefile
%define _distropkgdir %{_sbtop}tools/packages/rpm/%{name}
)make -f <current_path_to_packages>/Makefile
rpm
- builds all rpm packages in the repositoryrpm-<pkg-name>
- builds specific package <pkg-name>
dep
- installs all dependencies for all packages (requires root privileges or sudo)dep-<pkg-name>
- installs dependencies for <pkg-name>
(requires root privileges or sudo)list
- lists all the packages available for buildinginfo
- shows information about set variablesDEBUGINFO
= TRUE
/FALSE
- build debuginfo packages (default: TRUE
)TOPDIR
- control where packages will be built (default: SB_TOP
)SCONSOPT
= debug
/production
- select optimization level for scons (default: production
)SRCVER
- specify source code version (default from controller/src/base/version.info
)KVERS
- kernel version to build against (default: installed version of kernel-devel
)BUILDTAG
- additional tag for versioning (default: date +%m%d%Y%H%M
)SKUTAG
- OpenStack SKU (default: ocata
)In order to build the debian packages execute the following set of commands from the top level directory of your sandbox.
-f packages.make