Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/bin/bash | |
| 2 | |
| 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | |
| 4 # Use of this source code is governed by a BSD-style license that can be | |
| 5 # found in the LICENSE file. | |
| 6 | |
| 7 # | |
| 8 # COMMON | |
| 9 # | |
| 10 required_kparams_common=( quiet console=tty2 init=/sbin/init add_efi_memmap | |
| 11 boot=local rootwait ro noresume noswap i915.modeset=1 | |
| 12 loglevel=1 cros_secure kern_guid=%U tpm_tis.force=1 | |
| 13 tpm_tis.interrupts=0 root=/dev/dm-0 | |
| 14 dm_verity.error_behavior=3 dm_verity.max_bios=-1 | |
| 15 dm_verity.dev_wait=1 noinitrd ) | |
| 16 | |
| 17 optional_kparams_common=( ) | |
| 18 | |
| 19 # use "MAGIC_HASH" in place of the unpredictable sha1 hash, comparison | |
| 20 # functions later take care of the rest.... | |
| 21 required_dmparams_common="vroot none ro,0 1740800 verity /dev/sd%D%P \ | |
|
gauravsh
2011/01/26 22:55:57
comment about where do you get this parameter from
| |
| 22 /dev/sd%D%P 1740800 1 sha1 MAGIC_HASH" | |
| 23 | |
| 24 | |
| 25 # | |
| 26 # x86-mario | |
| 27 # | |
| 28 required_kparams_x86_mario=( ${required_kparams_common[@]} ) | |
| 29 optional_kparams_x86_mario=( ${optional_kparams_common[@]} ) | |
| 30 required_dmparams_x86_mario="$required_dmparams_common" | |
| 31 | |
| 32 # | |
| 33 # x86-agz | |
| 34 # | |
| 35 required_kparams_x86_agz=( ${required_kparams_common[@]} ) | |
| 36 optional_kparams_x86_agz=( ${optional_kparams_common[@]} ) | |
| 37 required_dmparams_x86_agz="$required_dmparams_common" | |
| OLD | NEW |