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