sonic-buildimage/device
Vadym Hlushko 1d57472eb0
[graceful reboot] Rename the platform_reboot to the pre_reboot_hook, remove the sysfs power cycle (#18324)
**DEPENDS ON: [[graceful reboot] Add the pre_reboot_hook script execution, add the watchdog arm before the reboot](https://github.com/sonic-net/sonic-utilities/pull/3203)**

#### Why I did it
Add support for the `graceful reboot` instead of  the `sysfs power cycle` to avoid filesystem corruption 

### How I did it
Rename the `platform_reboot` script to the `pre_reboot_hook`.
Remove the sysfs power cycle function, from now on the Debian reboot (`/sbin/reboot`) will be executed instead of the sysfs power cycle.

#### How to verify it
1. Start watching logs by using `show log -f` and `journalctl -p debug -f`
2. Execute the `reboot` command from the switch CLI
3. Check in logs that all systemd services terminated
2024-03-23 16:45:36 -07:00
..
accton [Edgecore][device/accton] Fix subprocess.call issue in is_host(). (#13111) 2022-12-20 13:13:42 -08:00
alphanetworks Fix code issue when SonicV2Connector.get() return None. (#13250) 2023-01-09 11:37:43 -08:00
arista Fix arista_7800r3a_36d2_lc fabric link down issue (#18198) 2024-03-22 16:25:39 -07:00
barefoot [BFN] Remove not common entries from pcie yaml configuration (#12816) 2023-02-06 09:54:43 -08:00
broadcom [broadcom]: Set default SYNCD_SHM_SIZE for Broadcom XGS devices (#13297) 2023-01-30 20:23:03 -08:00
celestica [E1031] Bugfix for Python syntax error in sonic_platform/common.py (#18386) 2024-03-19 14:04:38 +08:00
centec [device/centec] Replace os.system and remove subprocess with shell=True (#12024) 2022-10-07 10:48:25 -04:00
cig Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
common [Arista] Add support for DCS-7060DX5-32 (#14793) 2023-08-05 22:11:45 +08:00
dell Revert "Move /var/log to RAM for Mellanox SN2700, Nokia 7215 and Dell S6100 (#15077)" (#16775) 2023-10-11 10:36:29 -07:00
delta [device/delta] Mitigation for command injection vulnerability (#11865) 2022-10-13 21:11:51 -07:00
facebook/x86_64-facebook_wedge100-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
fs/arm64-fs_s5800_48t4s-r0 [FS][arm64] support new boars s5800-48t4s and s5800-48t8s-mars8p (#12994) 2022-12-17 14:48:02 -08:00
ingrasys [BFN] Update configuration files (#9913) 2022-03-09 09:57:08 +05:30
inventec [BRCMSAI 6.0.0.13-1] Fix Cancun file directory at new location causing TD3 platform boot issue (#9922) 2022-02-07 08:56:06 -08:00
juniper [device/juniper] Mitigation for security vulnerability (#11838) 2022-11-22 10:46:12 -05:00
marvell [Marvell-arm64] Add platform support for rd98DX35xx (#16874) 2023-11-20 09:43:02 -08:00
mellanox [graceful reboot] Rename the platform_reboot to the pre_reboot_hook, remove the sysfs power cycle (#18324) 2024-03-23 16:45:36 -07:00
mitac/x86_64-mitac_ly1200_b32h0_c3-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
netberg [Netberg][Barefoot] Added support for Aurora 750 (#16342) 2023-09-01 22:52:39 -07:00
nokia [armhf][Nokia-7215]Update HWSKU files for new SAI (#18294) 2024-03-10 21:44:31 -07:00
pegatron/x86_64-pegatron_porsche-r0 Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
pensando/arm64-elba-asic-r0 Add pensando platform (#15978) 2023-12-04 14:41:52 -08:00
quanta [device/quanta] Mitigation for security vulnerability (#11867) 2022-10-19 10:05:36 -04:00
ragile Revert "[Ragile]: Add new centec platform ra-b6010 (#14819)" 2023-09-01 22:43:18 -07:00
ruijie/x86_64-ruijie_b6510-48vs8cq-r0 [device/ruijie] Mitigation for security vulnerability #11779 2022-08-23 09:48:42 -04:00
supermicro/x86_64-supermicro_sse_t7132s-r0 [Supermicro]: Add a new supported device and platform, SSE-T7132S. (#15368) 2023-07-20 10:24:56 -07:00
tencent two platforms supporting S3IP SYSFS (TCS8400, TCS9400) (#12386) 2022-12-18 16:16:53 +08:00
ufispace [Ufispace][PDDF] Add PDDF support on S9110-32X, S8901-54XC, S7801-54XS and S6301-56ST (#16017) 2023-08-14 15:56:03 -07:00
virtual [sonic-vs]: Add fabric port data for vs test, and start fabricmgrd in vs environment (#16791) 2023-11-20 16:21:03 -08:00
wistron [devices]: Update the Wistron platform support in master branch (#12110) 2023-02-23 09:08:13 -08:00
wnc/x86_64-wnc_osw1800-r0 [BFN] Update configuration files (#9913) 2022-03-09 09:57:08 +05:30