Re: [tboot-devel] [patch]

2017-07-08 Thread Sun, Ning
Thanks for the patch, it was applied.

-ning

-Original Message-
From: travis.gilb...@dell.com [mailto:travis.gilb...@dell.com] 
Sent: Monday, July 03, 2017 12:27 PM
To: tboot-devel@lists.sourceforge.net
Subject: [tboot-devel] [patch]

Housekeeping patch to ignore TPM 2.0 LCP tool binaries.

Signed-off-by: Travis Gilbert 

--- a/.hgignore Tue Jun 20 10:03:48 2017 -0700
+++ b/.hgignore Mon Jul 03 14:17:19 2017 -0500
@@ -44,6 +44,11 @@
 ^lcptools/lcp_crtpolelt$
 ^lcptools/lcp_crtpollist$
 ^lcptools/trousers_dep$
+^lcptools-v2/lcp2_crtpol$
+^lcptools-v2/lcp2_crtpolelt$
+^lcptools-v2/lcp2_crtpollist$
+^lcptools-v2/lcp2_mlehash$
+^lcptools-v2/trousers_dep$
 ^tb_polgen/tb_polgen$
 ^utils/acminfo$
 ^utils/txt-stat$

--
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
___
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel


Re: [tboot-devel] [patch] grub2 20_linux_*tboot config files

2017-07-08 Thread Sun, Ning
It is fine, so far as we know the patch does not break any tboot installation 
logic.

Thanks,
-Ning

-Original Message-
From: travis.gilb...@dell.com [mailto:travis.gilb...@dell.com] 
Sent: Monday, July 03, 2017 2:59 PM
To: tboot-devel@lists.sourceforge.net
Subject: [tboot-devel] [patch] grub2 20_linux_*tboot config files

This patch adds a check for the grub2 location of grub-mkconfig_lib. I'm not 
sure this is the best place to be patching this based on my perusing of grub2's 
files, but I couldn't see a better way. At least for a default Xen SLES 12 SP2 
this fixes errors with grub2-mkconfig after a "make install" of tboot.

Signed-off-by: Travis Gilbert 

==
diff -r e1bd4146a911 tboot/20_linux_tboot
--- a/tboot/20_linux_tboot  Tue Jun 20 10:03:48 2017 -0700
+++ b/tboot/20_linux_tboot  Mon Jul 03 16:52:26 2017 -0500
@@ -26,6 +26,8 @@
   . /usr/share/grub/grub-mkconfig_lib
 elif test -e ${libdir}/grub/grub-mkconfig_lib; then
   . ${libdir}/grub/grub-mkconfig_lib
+elif test -e /usr/share/grub2/grub-mkconfig_lib; then
+  . /usr/share/grub2/grub-mkconfig_lib
 fi
 
 if test -e ${sysconfdir}/default/grub-tboot; then diff -r e1bd4146a911 
tboot/20_linux_xen_tboot
--- a/tboot/20_linux_xen_tboot  Tue Jun 20 10:03:48 2017 -0700
+++ b/tboot/20_linux_xen_tboot  Mon Jul 03 16:52:26 2017 -0500
@@ -26,6 +26,8 @@
   . /usr/share/grub/grub-mkconfig_lib
 elif test -e ${libdir}/grub/grub-mkconfig_lib; then
   . ${libdir}/grub/grub-mkconfig_lib
+elif test -e /usr/share/grub2/grub-mkconfig_lib; then
+  . /usr/share/grub2/grub-mkconfig_lib
 fi
 
 if test -e ${sysconfdir}/default/grub-tboot; then


--
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
___
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
tboot-devel mailing list
tboot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tboot-devel