Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: scripts/image_signing/sample-test-configs/ensure_secure_kernelparams.config

Issue 6480121: Check in sample configs to document how to configure these tests. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: move ensure_no_nonrelease_files.config out of parent dir Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « scripts/image_signing/sample-test-configs/ensure_sane_lsb-release.config ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright (c) 2011 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.... This set of dmparams
21 # taken from observation of current builds. In particular we may see
22 # the size of the filesystem creep over time. That size is denoted by
23 # the large number that appears a couple times in this string.
24 required_dmparams_common="vroot none ro,0 1740800 verity /dev/sd%D%P \
25 /dev/sd%D%P 1740800 1 sha1 MAGIC_HASH"
26
27
28 #
29 # x86-mario
30 #
31 required_kparams_x86_mario=( ${required_kparams_common[@]} )
32 optional_kparams_x86_mario=( ${optional_kparams_common[@]} )
33 required_dmparams_x86_mario="$required_dmparams_common"
34
35 # Set up additional boards here. The "common" variables are
36 # not directly consulted by the test script, they're only
37 # here for your convenience in building up the board-specific
38 # configuration variables like the 3 shown above.
OLDNEW
« no previous file with comments | « scripts/image_signing/sample-test-configs/ensure_sane_lsb-release.config ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698