From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web12.1882.1597180959430637779 for ; Tue, 11 Aug 2020 14:22:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=h7ol6btB; spf=pass (domain: redhat.com, ip: 207.211.31.120, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597180958; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3b+3O6NT70QhJGFQKkp1aB2Nczh6a7J66k0Ocakzjx4=; b=h7ol6btB8DUgImhl0h2kLXVTr/5ThbaDYrFlthEmTTmBETTpsloaTRtpDafy4VSX4ugqw8 qAVluRUbrz8kPd0VGXdH409ELwX5okIvWmhu5TEkrY/9RsUFUV9Yd4+bc+1sbX3et2Nccv cDKz3AqC1gU3QguEaFrUkMxFq6r0BZk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-495-Mn18NN3yMbS7WPg6LlQKMw-1; Tue, 11 Aug 2020 17:22:34 -0400 X-MC-Unique: Mn18NN3yMbS7WPg6LlQKMw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 57B1C19253C2; Tue, 11 Aug 2020 21:22:32 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-113-221.ams2.redhat.com [10.36.113.221]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0BB708AD0A; Tue, 11 Aug 2020 21:22:27 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH v14 00/46] SEV-ES guest support To: Tom Lendacky , "Gao, Liming" , "devel@edk2.groups.io" Cc: Brijesh Singh , Ard Biesheuvel , "Dong, Eric" , "Justen, Jordan L" , "Kinney, Michael D" , "Ni, Ray" , Andrew Fish , Anthony Perard , "You, Benjamin" , "Bi, Dandan" , "Dong, Guo" , "Wu, Hao A" , "Wang, Jian J" , Julien Grall , Leif Lindholm , "Ma, Maurice" References: <4fa19934-008b-f8e5-6db8-0c39fe9875de@redhat.com> <01de805d-1f39-4f1c-1699-601dc702ffba@amd.com> From: "Laszlo Ersek" Message-ID: <80c003ae-3588-2b40-cb4d-bf6b7910e045@redhat.com> Date: Tue, 11 Aug 2020 23:22:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <01de805d-1f39-4f1c-1699-601dc702ffba@amd.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 08/11/20 16:40, Tom Lendacky wrote: > I'm trying to run this tool on my Ubuntu installs (both 18.04 and 20.04) > and it consistently fails trying to execute a git command: > > $ python3 BaseTools/Scripts/EccCheck.py > usage: git [--version] [--help] [-C ] [-c =] > [--exec-path[=]] [--html-path] [--man-path] [--info-path] > [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare] > [--git-dir=] [--work-tree=] [--namespace=] > [] > > These are common Git commands used in various situations: > > start a working area (see also: git help tutorial) > clone Clone a repository into a new directory > init Create an empty Git repository or reinitialize an existing one > > work on the current change (see also: git help everyday) > add Add file contents to the index > mv Move or rename a file, a directory, or a symlink > restore Restore working tree files > rm Remove files from the working tree and from the index > sparse-checkout Initialize and modify the sparse-checkout > > examine the history and state (see also: git help revisions) > bisect Use binary search to find the commit that introduced a bug > diff Show changes between commits, commit and working tree, etc > grep Print lines matching a pattern > log Show commit logs > show Show various types of objects > status Show the working tree status > > grow, mark and tweak your common history > branch List, create, or delete branches > commit Record changes to the repository > merge Join two or more development histories together > rebase Reapply commits on top of another base tip > reset Reset current HEAD to the specified state > switch Switch branches > tag Create, list, delete or verify a tag object signed with GPG > > collaborate (see also: git help workflows) > fetch Download objects and refs from another repository > pull Fetch from and integrate with another repository or a local branch > push Update remote refs along with associated objects > > 'git help -a' and 'git help -g' list available subcommands and some > concept guides. See 'git help ' or 'git help ' > to read about a specific subcommand or concept. > See 'git help git' for an overview of the system. > Fail to run GIT > ECC tool detect error > > I've also tried specifying -1, a commit id, etc., but the same thing happens. > > Has this been run/tested on Ubuntu? Is there something specific that needs > to be done in order to run this tool? I'd like to know as well. Thanks Laszlo