mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 01:07:01 +00:00
Merge branch 'master' of github.com:opencomputeproject/OpenNetworkLinux
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -16,3 +16,6 @@
|
||||
[submodule "packages/platforms-closed"]
|
||||
path = packages/platforms-closed
|
||||
url = git@github.com:opennetworklinux/platforms-closed
|
||||
[submodule "sm/build-artifacts"]
|
||||
path = sm/build-artifacts
|
||||
url = git@github.com:opennetworklinux/build-artifacts
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
VERSION=1.0-beta
|
||||
VERSION=1.0
|
||||
USER=opennetworklinux
|
||||
REPO=builder9
|
||||
|
||||
|
||||
@@ -19,6 +19,7 @@ g_timestamp = datetime.datetime.now().strftime("%Y-%m-%d.%H%M%S")
|
||||
|
||||
g_builder7_image_name="opennetworklinux/builder7:1.2"
|
||||
g_builder8_image_name="opennetworklinux/builder8:1.7"
|
||||
g_builder9_image_name="opennetworklinux/builder9:1.0"
|
||||
|
||||
g_default_image_name=g_builder8_image_name
|
||||
g_default_container_name = "%s_%s" % (g_current_user, g_timestamp)
|
||||
@@ -26,6 +27,9 @@ g_default_user="%s:%s" % (g_current_user, g_current_uid)
|
||||
|
||||
ap = argparse.ArgumentParser("ONL Docker Build")
|
||||
|
||||
ap.add_argument('--9', '-9',
|
||||
help="Run the Debian 9 version.",
|
||||
action='store_true', dest='debian9')
|
||||
ap.add_argument('--8', '-8',
|
||||
help="Run the Debian 8 version.",
|
||||
action='store_true', dest='debian8')
|
||||
@@ -117,6 +121,8 @@ if ops.debian7:
|
||||
if ops.debian8:
|
||||
ops.image = g_builder8_image_name
|
||||
|
||||
if ops.debian9:
|
||||
ops.image = g_builder9_image_name
|
||||
|
||||
if ops.verbose or ops.dry:
|
||||
logger.setLevel(logging.DEBUG)
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
*x86*64*delta_agc7648a*.mk
|
||||
*x86*64*delta*ag5648*.mk
|
||||
onlpdump.mk
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
*x86*64*quanta*ly4r*rangeley.mk
|
||||
*x86*64*quanta*ly4r*.mk
|
||||
onlpdump.mk
|
||||
|
||||
@@ -36,6 +36,10 @@ export BUILDROOTMIRROR=${BUILDROOTMIRROR:-"http://buildroot.opennetlinux.org/dl"
|
||||
# These submodules are required for almost everything.
|
||||
$ONL/tools/submodules.py $ONL sm/infra
|
||||
$ONL/tools/submodules.py $ONL sm/bigcode
|
||||
$ONL/tools/submodules.py $ONL sm/build-artifacts
|
||||
|
||||
# Prepopulate local REPO with build-artifacts.
|
||||
cp -R $ONL/sm/build-artifacts/REPO/* $ONL/REPO
|
||||
|
||||
# Export the current debian suite
|
||||
export ONL_DEBIAN_SUITE=$(lsb_release -c -s)
|
||||
@@ -46,4 +50,4 @@ if [ ! -f $ONL/.git/hooks/post-merge ] && [ -d $ONL/.git ]; then
|
||||
fi
|
||||
|
||||
# submodule post update scripts.
|
||||
export ONL_SUBMODULE_UPDATED_SCRIPTS="$ONL/tools/scripts/submodule-updated.sh"
|
||||
export ONL_SUBMODULE_UPDATED_SCRIPTS="$ONL/tools/scripts/submodule-updated.sh"
|
||||
|
||||
1
sm/build-artifacts
Submodule
1
sm/build-artifacts
Submodule
Submodule sm/build-artifacts added at 54005ad5e9
Reference in New Issue
Block a user