Remove tpmdd/integrity script
Now use the kernel built-in tpmdd and integrity is no longer supported. Change-Id: I64dd3db829978f2a7adea60b5049604d866f213b Story: 2007308 Task: 39742 Depends-On: https://review.opendev.org/#/c/726999/ Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
This commit is contained in:
parent
d8db3ee2c4
commit
b7ab60320f
|
@ -270,23 +270,7 @@ for line in $(cat $tarball_file); do
|
|||
if [[ "$line" =~ ^'!' ]]; then
|
||||
echo $tarball_name
|
||||
pushd $output_tarball > /dev/null
|
||||
if [ "$tarball_name" = "linux-4.18.0-147.3.1.el8_1.tar.gz" ]; then
|
||||
download_package "$tarball_name" "$tarball_url"
|
||||
if [ $? -ne 0 ]; then
|
||||
error_count=$((error_count + 1))
|
||||
popd > /dev/null # pushd $output_tarball
|
||||
continue
|
||||
fi
|
||||
version="147.3.1"
|
||||
tar xf "$tarball_name"
|
||||
rm -rf integrity integrity-kmod-${version}.tar.gz
|
||||
mv ${directory_name}/security/integrity/ integrity
|
||||
tar czvf integrity-kmod-${version}.tar.gz integrity
|
||||
rm -rf tpm tpm-kmod-${version}.tar.gz
|
||||
mv ${directory_name}/drivers/char/tpm tpm
|
||||
tar czvf tpm-kmod-${version}.tar.gz tpm
|
||||
rm -rf $directory_name tpm integrity
|
||||
elif [ "$tarball_name" = "mariadb-10.1.28.tar.gz" ]; then
|
||||
if [ "$tarball_name" = "mariadb-10.1.28.tar.gz" ]; then
|
||||
download_package "$tarball_name" "$tarball_url"
|
||||
if [ $? -ne 0 ]; then
|
||||
error_count=$((error_count + 1))
|
||||
|
|
Loading…
Reference in New Issue