1
0
Fork 0

override distro packaging if BUILD_RAW is defined

This commit is contained in:
Pratham Patel 2024-04-18 18:30:18 +05:30
parent d6ed009f45
commit 28e493abc9
Signed by: thefossguy
SSH Key Fingerprint: SHA256:HwRBy9H1FYXWcv/Qi1WY3kmcVtGz2ydZuPJgD4pkusY
1 changed files with 2 additions and 2 deletions

View File

@ -32,9 +32,9 @@ REMOVE_KERNEL="${REMOVE_KERNEL:-}"
export BUILD_ARCH CLEAN_BUILD KERNEL_CONFIG KERNEL_LOCALVERSION BUILD_WITH_RUST INSTALL_ZE_KERNEL FORCE_INSTALL_ZE_KERNEL MAX_PARALLEL_JOBS SUDO_ALIAS REMOVE_KERNEL
if grep -q 'debian' /etc/os-release; then
if grep -q 'debian' /etc/os-release && [ -z "${BUILD_RAW:-}" ]; then
prefix='debian'
elif grep -q 'fedora' /etc/os-release; then
elif grep -q 'fedora' /etc/os-release && [ -z "${BUILD_RAW:-}" ]; then
prefix='fedora'
else
prefix='raw'