1
0
Fork 0

fix logic error in determining if rpm devel pkg is built or not

This commit is contained in:
Pratham Patel 2024-04-23 22:35:45 +05:30
parent 7940c4e083
commit 0f7b4bdac4
Signed by: thefossguy
SSH Key Fingerprint: SHA256:HwRBy9H1FYXWcv/Qi1WY3kmcVtGz2ydZuPJgD4pkusY
1 changed files with 3 additions and 3 deletions

View File

@ -30,10 +30,10 @@ MAX_PARALLEL_JOBS="-j${MAX_PARALLEL_JOBS:-$(( $(nproc) + 2 ))}"
SUDO_ALIAS='sudo --preserve-env=PATH env' # use this alias for su-do-ing binaries provided by Nix
REMOVE_KERNEL="${REMOVE_KERNEL:-}"
if [ "${BUILD_RPM_DEVEL:-0}" -eq 0 ]; then
KBUILD_RPROMPTS='--without devel'
else
if [ "${BUILD_RPM_DEVEL:-0}" -eq 1 ]; then
KBUILD_RPROMPTS=''
else
KBUILD_RPROMPTS='--without devel'
fi
export BUILD_ARCH CLEAN_BUILD KERNEL_CONFIG KERNEL_LOCALVERSION BUILD_WITH_RUST KBUILD_RPROMPTS INSTALL_ZE_KERNEL FORCE_INSTALL_ZE_KERNEL MAX_PARALLEL_JOBS SUDO_ALIAS REMOVE_KERNEL