aboutsummaryrefslogtreecommitdiffstats
path: root/common.sh
diff options
context:
space:
mode:
authorTom Lendacky <26725967+tlendacky@users.noreply.github.com>2022-05-11 12:46:26 -0500
committerGitHub <noreply@github.com>2022-05-11 12:46:26 -0500
commit8c668a342688ad945243c68015538dc6b79221da (patch)
tree0abed7ba74777b01797a29a5902232e83cde7ece /common.sh
parentf4376e5887939ee8c8e0c62e835fd278b84140c9 (diff)
parent9239045e317fc1ea17fefb294f50ed49b02e1ec6 (diff)
downloadcachepc-amdsev-8c668a342688ad945243c68015538dc6b79221da.tar.gz
cachepc-amdsev-8c668a342688ad945243c68015538dc6b79221da.zip
Merge pull request #96 from JustPlay/sev-snp-devel
update build/common/install.sh to support debian (use ID or ID_LIKE)
Diffstat (limited to 'common.sh')
-rwxr-xr-xcommon.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.sh b/common.sh
index afa141b..1ccd72c 100755
--- a/common.sh
+++ b/common.sh
@@ -77,7 +77,7 @@ build_kernel()
# Build
run_cmd $MAKE >/dev/null
- if [ "$ID_LIKE" = "debian" ]; then
+ if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then
run_cmd $MAKE bindeb-pkg
else
run_cmd $MAKE "RPMOPTS='--define \"_rpmdir .\"'" binrpm-pkg