mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
fix kernel-name in .config
This commit is contained in:
parent
0a6bac525b
commit
81789b3b7f
@ -42,9 +42,6 @@ build() {
|
||||
else
|
||||
cat ../config >./.config
|
||||
fi
|
||||
if [ "${_kernelname}" != "" ]; then
|
||||
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
|
||||
fi
|
||||
|
||||
# hack to prevent output kernel from being marked as dirty or git
|
||||
echo "" > ${srcdir}/linux-${_basekernel}/.scmversion
|
||||
|
@ -44,9 +44,6 @@ build() {
|
||||
else
|
||||
cat ../config >./.config
|
||||
fi
|
||||
if [ "${_kernelname}" != "" ]; then
|
||||
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
|
||||
fi
|
||||
|
||||
# hack to prevent output kernel from being marked as dirty or git
|
||||
echo "" > ${srcdir}/linux-${_basekernel}/.scmversion
|
||||
|
Loading…
Reference in New Issue
Block a user