2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-20 02:00:24 +00:00

Add dependency for xcat-genesis-base on Debian/Ubuntu

This commit is contained in:
GONG Jie
2018-01-17 13:52:32 +08:00
parent 858270e666
commit 66c190d612

View File

@@ -37,6 +37,8 @@ then
sed -i -e 's/x86-64/amd64/g' "${EXTRACT_DIR}/debian/changelog"
fi
sed -i -e "/^Description:/i Breaks: xcat-genesis-scripts-${PACKAGE_ARCH//x86_64/amd64} (<< 2.13.10)" "${EXTRACT_DIR}/debian/control"
cat >"${EXTRACT_DIR}/debian/preinst" <<-EOF
#!/bin/bash