#!/bin/bash | |
# Copyright 2019 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
modify_kernel_command_line() { | |
# Might be helpful to preserve ramoops in extreme circumstances | |
echo "ramoops.ecc=1" >> "$1" | |
# Avoid a cosmetic TPM error (Work around for b/113527055) | |
echo "tpm_tis.force=0" >> "$1" | |
} |