Skip to content

Commit 3fe4084

Browse files
authored
Merge branch 'sonic-net:master' into master
2 parents 6471470 + 15087c0 commit 3fe4084

File tree

59 files changed

+723
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+723
-37
lines changed

.azure-pipelines/azure-pipelines-UpgrateVersion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ stages:
161161
git branch -u remote/$BRANCH_NAME
162162
163163
echo $GIT_PASSWORD | gh auth login --with-token
164-
TITLE="Upgrade SONiC Versions"
165-
BODY="Upgrade SONiC Versions"
164+
TITLE="[${SOURCE_BRANCH#refs/heads/}] Upgrade SONiC package Versions"
165+
BODY=$TITLE
166166
RET=0
167167
if ! gh pr create -t "$TITLE" -b "$BODY" -B $(Build.SourceBranch) -R $(Build.Repository.Name) > pr.log 2>&1; then
168168
if ! grep -q "already exists" pr.log; then

Makefile.work

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ SONIC_BUILD_INSTRUCTION := $(MAKE) \
568568
GZ_COMPRESS_PROGRAM=$(GZ_COMPRESS_PROGRAM) \
569569
MIRROR_SNAPSHOT=$(MIRROR_SNAPSHOT) \
570570
SONIC_VERSION_CONTROL_COMPONENTS=$(SONIC_VERSION_CONTROL_COMPONENTS) \
571+
ONIE_IMAGE_PART_SIZE=$(ONIE_IMAGE_PART_SIZE) \
571572
SONIC_OS_VERSION=$(SONIC_OS_VERSION) \
572573
$(SONIC_OVERRIDE_BUILD_VARS)
573574

build_debian.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ then
297297
install_kubernetes ${MASTER_KUBERNETES_VERSION}
298298

299299
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get update
300-
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install hyperv-daemons gnupg xmlstarlet parted
300+
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y install hyperv-daemons gnupg xmlstarlet parted netcat
301301
sudo LANG=C chroot $FILESYSTEM_ROOT apt-get -y remove gnupg
302302
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT curl -o /tmp/cri-dockerd.deb -fsSL \
303303
https://github.com/Mirantis/cri-dockerd/releases/download/v${MASTER_CRI_DOCKERD}/cri-dockerd_${MASTER_CRI_DOCKERD}.3-0.debian-${IMAGE_DISTRO}_amd64.deb
@@ -760,8 +760,7 @@ sudo LANG=C chroot $FILESYSTEM_ROOT fuser -vm /proc
760760
## Kill the processes
761761
sudo LANG=C chroot $FILESYSTEM_ROOT fuser -km /proc || true
762762
## Wait fuser fully kill the processes
763-
sleep 15
764-
sudo LANG=C chroot $FILESYSTEM_ROOT umount /proc || true
763+
sudo timeout 15s bash -c 'until LANG=C chroot $0 umount /proc; do sleep 1; done' $FILESYSTEM_ROOT || true
765764

766765
## Prepare empty directory to trigger mount move in initramfs-tools/mount_loop_root, implemented by patching
767766
sudo mkdir $FILESYSTEM_ROOT/host
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"DEVICE_METADATA": {
3+
"localhost": {
4+
"create_only_config_db_buffers": "true"
5+
}
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"DEVICE_METADATA": {
3+
"localhost": {
4+
"create_only_config_db_buffers": "true"
5+
}
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"DEVICE_METADATA": {
3+
"localhost": {
4+
"create_only_config_db_buffers": "true"
5+
}
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"DEVICE_METADATA": {
3+
"localhost": {
4+
"create_only_config_db_buffers": "true"
5+
}
6+
}
7+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Mellanox-SN2700 t1
1+
ACS-MSN2700 t1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"DEVICE_METADATA": {
3+
"localhost": {
4+
"create_only_config_db_buffers": "true"
5+
}
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"DEVICE_METADATA": {
3+
"localhost": {
4+
"create_only_config_db_buffers": "true"
5+
}
6+
}
7+
}

0 commit comments

Comments
 (0)