|
|
@ -34,7 +34,6 @@ declare -a bls_id
|
|
|
|
|
|
|
|
|
|
|
|
[[ -f /etc/sysconfig/kernel ]] && . /etc/sysconfig/kernel
|
|
|
|
[[ -f /etc/sysconfig/kernel ]] && . /etc/sysconfig/kernel
|
|
|
|
[[ -f /etc/os-release ]] && . /etc/os-release
|
|
|
|
[[ -f /etc/os-release ]] && . /etc/os-release
|
|
|
|
PRETTY_VERSION="$(echo $VERSION | sed 's/(//g;s/)//g')"
|
|
|
|
|
|
|
|
read MACHINE_ID < /etc/machine-id
|
|
|
|
read MACHINE_ID < /etc/machine-id
|
|
|
|
arch=$(uname -m)
|
|
|
|
arch=$(uname -m)
|
|
|
|
|
|
|
|
|
|
|
@ -306,7 +305,7 @@ mkbls() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
cat <<EOF
|
|
|
|
cat <<EOF
|
|
|
|
title ${NAME} (${kernelver}) ${PRETTY_VERSION}${debugname}
|
|
|
|
title ${NAME} (${kernelver}) ${VERSION}${debugname}
|
|
|
|
version ${kernelver}${debugid}
|
|
|
|
version ${kernelver}${debugid}
|
|
|
|
linux ${kernel}
|
|
|
|
linux ${kernel}
|
|
|
|
initrd ${prefix}/initramfs-${kernelver}.img
|
|
|
|
initrd ${prefix}/initramfs-${kernelver}.img
|
|
|
|