aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2021-12-13 15:25:51 -0600
committerBrijesh Singh <brijesh.singh@amd.com>2021-12-13 15:25:51 -0600
commit00ee36df4cfa13b85136d91d7778c42bbe49167e (patch)
tree70ceec64cf7d856f78e179604b37b64a519af00e /build.sh
parentf23f201ecb91420c2410b2397b3d844e9315982c (diff)
downloadcachepc-amdsev-00ee36df4cfa13b85136d91d7778c42bbe49167e.tar.gz
cachepc-amdsev-00ee36df4cfa13b85136d91d7778c42bbe49167e.zip
update to use newer commits
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index fab89f4..c0d40d3 100755
--- a/build.sh
+++ b/build.sh
@@ -72,12 +72,14 @@ fi
if [[ "$BUILD_PACKAGE" = "1" ]]; then
OUTPUT_DIR="snp-release-`date "+%F"`"
rm -rf $OUTPUT_DIR
- mkdir -p $OUTPUT_DIR/linux
+ mkdir -p $OUTPUT_DIR/linux/guest
+ mkdir -p $OUTPUT_DIR/linux/host
mkdir -p $OUTPUT_DIR/usr
cp -dpR $INSTALL_DIR $OUTPUT_DIR/usr/
if [ "$ID_LIKE" = "debian" ]; then
- cp linux-*.deb $OUTPUT_DIR/linux -v
+ cp linux/linux-*-guest-*.deb $OUTPUT_DIR/linux/guest -v
+ cp linux/linux-*-host-*.deb $OUTPUT_DIR/linux/host -v
else
cp kernel-*.rpm $OUTPUT_DIR/linux -v
fi