[202012] Revert "Move /var/log to RAM for Mlnx SN2700, Nokia 7215 and Dell S6100" (#16815)
This reverts commit f9d83c6e17
.
#### Why I did it
To ease concerns on log2ram raised by Mellanox
##### Work item tracking
- Microsoft ADO **25355843**
#### How I did it
Reverting the aforementioned commit and resolving merge conflicts in Dell's installer.conf file
#### Description for the changelog
Reverted the changes to the installer.conf files in three platforms to remove the log_inram option, thereby ensuring /var/log/ would not be mounted on tmpfs.
This commit is contained in:
parent
8c9e2ea10f
commit
baec520743
@ -1,3 +1,3 @@
|
|||||||
CONSOLE_PORT=0x2f8
|
CONSOLE_PORT=0x2f8
|
||||||
CONSOLE_DEV=1
|
CONSOLE_DEV=1
|
||||||
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich,wdat_wdt acpi_no_watchdog=1 nos-config-part=/dev/sda12 logs_inram=on"
|
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="module_blacklist=gpio_ich,wdat_wdt acpi_no_watchdog=1 nos-config-part=/dev/sda12"
|
||||||
|
@ -1 +1 @@
|
|||||||
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="acpi_enforce_resources=lax acpi=noirq logs_inram=on"
|
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="acpi_enforce_resources=lax acpi=noirq"
|
||||||
|
@ -1,2 +1 @@
|
|||||||
VAR_LOG_SIZE=4096
|
VAR_LOG_SIZE=4096
|
||||||
ONIE_PLATFORM_EXTRA_CMDLINE_LINUX="logs_inram=on"
|
|
||||||
|
@ -177,7 +177,7 @@ prepare_boot_menu() {
|
|||||||
BORDER='echo "---------------------------------------------------";echo;'
|
BORDER='echo "---------------------------------------------------";echo;'
|
||||||
fw_setenv ${FW_ARG} print_menu "$BORDER $BOOT1 $BOOT2 $BOOT3 $BORDER" > /dev/null
|
fw_setenv ${FW_ARG} print_menu "$BORDER $BOOT1 $BOOT2 $BOOT3 $BORDER" > /dev/null
|
||||||
|
|
||||||
fw_setenv ${FW_ARG} linuxargs "net.ifnames=0 loopfstype=squashfs loop=$image_dir/$FILESYSTEM_SQUASHFS systemd.unified_cgroup_hierarchy=0 varlog_size=$VAR_LOG_SIZE loglevel=4 ${ONIE_PLATFORM_EXTRA_CMDLINE_LINUX}" > /dev/null
|
fw_setenv ${FW_ARG} linuxargs "net.ifnames=0 loopfstype=squashfs loop=$image_dir/$FILESYSTEM_SQUASHFS systemd.unified_cgroup_hierarchy=0 varlog_size=$VAR_LOG_SIZE loglevel=4" > /dev/null
|
||||||
fw_setenv ${FW_ARG} linuxargs_old "net.ifnames=0 loopfstype=squashfs loop=$image_dir_old/$FILESYSTEM_SQUASHFS systemd.unified_cgroup_hierarchy=0 varlog_size=$VAR_LOG_SIZE loglevel=4" > /dev/null
|
fw_setenv ${FW_ARG} linuxargs_old "net.ifnames=0 loopfstype=squashfs loop=$image_dir_old/$FILESYSTEM_SQUASHFS systemd.unified_cgroup_hierarchy=0 varlog_size=$VAR_LOG_SIZE loglevel=4" > /dev/null
|
||||||
|
|
||||||
# Set boot configs
|
# Set boot configs
|
||||||
|
Loading…
Reference in New Issue
Block a user