override distro packaging if BUILD_RAW is defined
This commit is contained in:
parent
d6ed009f45
commit
28e493abc9
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue