Received: by 2002:a17:90a:2044:0:0:0:0 with SMTP id n62csp1138963pjc; Thu, 9 May 2019 14:39:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0IbrHccZ7PkQMkLSNbHDgRvjxiSZMZMEP6IFqAU9zdPDRaz1GIzMkmtsauKGZlJIn/J8O X-Received: by 2002:a17:902:3281:: with SMTP id z1mr8213331plb.44.1557437967826; Thu, 09 May 2019 14:39:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557437967; cv=none; d=google.com; s=arc-20160816; b=aW47WPVGuQabUvy/EjL5N0cipfD99+pHpEahVu/ZcjaSxDZ9w9YJ0BoKpG8YJRp1/g TXLXSu/HSzEMACSYQ24C9ooh3sJpHI80Wtqn0yj0OdeOQoHbC3cApI3pwG98JO9OCv/k ejy/4IrCFFELfYn211Y2gdh3KXmqslHayVc1EqkdkgeQFX0qlJGL9+sVjzMrc0ygkLXw kQNj0DxLCI6NrSodfE1cZ/4UKs5ziwwACOF4wzD1psdqJAPxKK1RLs8O0h600BPrbujU J975FO2EwmUjPHesJhpTnTqmS9nAzXd+JQ7sUP6PIk0vyrLt7+S5Y0W1YzwdhPGaX7tw S1xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=udMrcF8Of1Kowi6clBlRB69BZqF17mcJ3kdfDGcFgQ8=; b=JSf50rl0W0TXKFcpDX6A+LH+xTrTr2qjoh0IdyvUzq7PRHCldn7U7fidoQ6HTirHSM o9++fCh+t4ALMSJiSiAEOwLWy40sXGKpiJtxL0CszgPcVJ/LKrySp1EfrXml/Fnt5sTr cnCx7Oi/DYwV4yufMQuopvHeo5nA4H308yvk+ug911pzUxCk4M29PYaT1aKXjfhVAdGS 7T483LC1T/hXi4unLGZzsqUgauO+lDQA8xRjEEQqvfGwooPfTlDTwP+k7cnMvIBDoug6 nXrkxO7dnxgrX3VUpaQz0CQ1xczB/E/hJuJ+u96TwCTEbUqh+3O2wyDEB49GZukY5Joi mYNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ZH/FTyNG"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go20si4610656plb.149.2019.05.09.14.39.11; Thu, 09 May 2019 14:39:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ZH/FTyNG"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727247AbfEIVhb (ORCPT + 99 others); Thu, 9 May 2019 17:37:31 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:36154 "EHLO mail-qt1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727138AbfEIVhZ (ORCPT ); Thu, 9 May 2019 17:37:25 -0400 Received: by mail-qt1-f182.google.com with SMTP id a17so3077927qth.3 for ; Thu, 09 May 2019 14:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=udMrcF8Of1Kowi6clBlRB69BZqF17mcJ3kdfDGcFgQ8=; b=ZH/FTyNG3gkHsr0lzHSB3/8sAPjTR9svQeO5P7KF81O8QAJeeBn7nGBBxcZg4KjiJ7 b3HpT0gl1+ww3vpmIUAP5KdHavRYEmmomfeUfUHOc+hYR9SS8veehgFsrYFktBJE5/ca CyD2YZVr33G5t6AI+vk8cyLdUkSpwECZlGt/Nf7YH48Ye7BYQ/XKfHNoVVQpAgVUmKkn u1GKkuprUQGylBmgO0uRPQ+ivMyD/MyNXUPlcM1ded9fRuLVL0lZXWQd+6doZnOzp8Ce slORw59c4JfJQZz5W74CBhSitg+BQteXyIdiVPLX1QOgFmDxHbR2wAZQqoYSbCqC1h4S 9I+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=udMrcF8Of1Kowi6clBlRB69BZqF17mcJ3kdfDGcFgQ8=; b=C3p5Hj6ygZHy78776QK61ctIQkAr8YW4LbPNCH4DnvYUYNy1qJ8TdxLIxyMtcl+SRy kDNsTU2Ui3EPNQw6tojejUJAdZ7Rvc6LEro73tBHr4+TQACmG6HZ3tBHSt32+7RdX6yf R155xoduOJyWSLAOMg/waYNer6nt7m2Cq213+Y7ry6LwR/GwU6x3kPLpqJAaLJGrEvlG hR6aT0Eb0NvO73fINzzsRweU1/RoJWdsSuz9F5s9N+rt6VFzAP7Cmk1qREwjjLHzc+at EMt37sQPNtvBINLxUbDNHTfodfUZAuEmIkb2dDBWhTFs6jggmT3HLKm5ce9cKBK7PIVi 6ArQ== X-Gm-Message-State: APjAAAV0WMZ7l2Py73GyZBn7P+pTLofQUIdf+89SnZtaWzKUzfgsgwt5 pNLr/ra2LTa5BbYSKZ5y/A== X-Received: by 2002:aed:2121:: with SMTP id 30mr5808857qtc.47.1557437844657; Thu, 09 May 2019 14:37:24 -0700 (PDT) Received: from gabell.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id 76sm1899721qke.46.2019.05.09.14.37.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 May 2019 14:37:24 -0700 (PDT) From: Masayoshi Mizuma To: Steven Rostedt Cc: Masayoshi Mizuma , Masayoshi Mizuma , linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] ktest: update sample.conf for grub2bls Date: Thu, 9 May 2019 17:36:47 -0400 Message-Id: <20190509213647.6276-7-msys.mizuma@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190509213647.6276-1-msys.mizuma@gmail.com> References: <20190509213647.6276-1-msys.mizuma@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Masayoshi Mizuma Update sample.conf for grub2bls Signed-off-by: Masayoshi Mizuma --- tools/testing/ktest/sample.conf | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index 8c893a58b68e..c3bc933d437b 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf @@ -349,13 +349,13 @@ # option to boot to with GRUB_REBOOT #GRUB_FILE = /boot/grub2/grub.cfg -# The tool for REBOOT_TYPE = grub2 to set the next reboot kernel +# The tool for REBOOT_TYPE = grub2 or grub2bls to set the next reboot kernel # to boot into (one shot mode). # (default grub2_reboot) #GRUB_REBOOT = grub2_reboot # The grub title name for the test kernel to boot -# (Only mandatory if REBOOT_TYPE = grub or grub2) +# (Only mandatory if REBOOT_TYPE = grub or grub2 or grub2bls) # # Note, ktest.pl will not update the grub menu.lst, you need to # manually add an option for the test. ktest.pl will search @@ -374,6 +374,10 @@ # do a: GRUB_MENU = 'Test Kernel' # For customizing, add your entry in /etc/grub.d/40_custom. # +# For grub2bls, a search of "title"s are done. The menu is found +# by searching for the contents of GRUB_MENU in the line that starts +# with "title". +# #GRUB_MENU = Test Kernel # For REBOOT_TYPE = syslinux, the name of the syslinux executable @@ -479,6 +483,11 @@ # default (undefined) #POST_KTEST = ${SSH} ~/dismantle_test +# If you want to remove the kernel entry in Boot Loader Specification (BLS) +# environment, use kernel-install command. +# Here's the example: +#POST_KTEST = ssh root@Test "/usr/bin/kernel-install remove $KERNEL_VERSION" + # The default test type (default test) # The test types may be: # build - only build the kernel, do nothing else @@ -530,6 +539,11 @@ # or on some systems: #POST_INSTALL = ssh user@target /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION +# If you want to add the kernel entry in Boot Loader Specification (BLS) +# environment, use kernel-install command. +# Here's the example: +#POST_INSTALL = ssh root@Test "/usr/bin/kernel-install add $KERNEL_VERSION /boot/vmlinuz-$KERNEL_VERSION" + # If for some reason you just want to boot the kernel and you do not # want the test to install anything new. For example, you may just want # to boot test the same kernel over and over and do not want to go through @@ -593,6 +607,8 @@ # For REBOOT_TYPE = grub2, you must define both GRUB_MENU and # GRUB_FILE. # +# For REBOOT_TYPE = grub2bls, you must define GRUB_MENU. +# # For REBOOT_TYPE = syslinux, you must define SYSLINUX_LABEL, and # perhaps modify SYSLINUX (default extlinux) and SYSLINUX_PATH # (default /boot/extlinux) -- 2.20.1