Skip to content

[syncd_init_common.sh] fix fast reboot backwards compatibility#480

Merged
qiluo-msft merged 2 commits intosonic-net:masterfrom
stepanblyschak:fix_fast_compat
Jun 26, 2019
Merged

[syncd_init_common.sh] fix fast reboot backwards compatibility#480
qiluo-msft merged 2 commits intosonic-net:masterfrom
stepanblyschak:fix_fast_compat

Conversation

@stepanblyschak
Copy link
Contributor

We should handle both cases for backward-compatible with 201803:

  • fast-reboot
  • SONIC_BOOT_TYPE=fast-reboot

Signed-off-by: Stepan Blyschak [email protected]

We should handle both cases for backward-compatible with 201803:
 - fast-reboot
 - SONIC_BOOT_TYPE=fast-reboot

Signed-off-by: Stepan Blyschak <[email protected]>
;;
fastfast)
case "$(cat /proc/cmdline)" in
*fastfast*)
Copy link
Contributor

@qiluo-msft qiluo-msft Jun 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fastfast [](start = 3, length = 8)

Be more specific SONIC_BOOT_TYPE=fastfast #Closed

FASTFAST_REBOOT='yes'
fi
;;
*fast*)
Copy link
Contributor

@qiluo-msft qiluo-msft Jun 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast [](start = 3, length = 4)

This one is also too general. We can match for 2 patterns:

  1. *SONIC_BOOT_TYPE=fast*
  2. *fast-reboot* #Closed

Copy link
Contributor

@qiluo-msft qiluo-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As comments

Signed-off-by: Stepan Blyschak <[email protected]>
@qiluo-msft qiluo-msft merged commit 610048b into sonic-net:master Jun 26, 2019
qiluo-msft pushed a commit that referenced this pull request Jun 26, 2019
* [syncd_init_common.sh] fix fast reboot backwards compatibility
We should handle both cases for backward-compatible with 201803:
 - fast-reboot
 - SONIC_BOOT_TYPE=fast-reboot
* handle review comments
qiluo-msft pushed a commit that referenced this pull request Jun 26, 2019
* [syncd_init_common.sh] fix fast reboot backwards compatibility
We should handle both cases for backward-compatible with 201803:
 - fast-reboot
 - SONIC_BOOT_TYPE=fast-reboot
* handle review comments
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
…-net#480)

* [syncd_init_common.sh] fix fast reboot backwards compatibility
We should handle both cases for backward-compatible with 201803:
 - fast-reboot
 - SONIC_BOOT_TYPE=fast-reboot
* handle review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants