debian-installer: add missing changes

This commit is contained in:
Luis Guzmán 2023-07-06 03:12:38 +00:00
parent 03761554a7
commit 742eb1c3ae

View file

@ -46,7 +46,7 @@ EOF
find build/pkg-lists -type f | xargs sed -i /media-retriever/d find build/pkg-lists -type f | xargs sed -i /media-retriever/d
apt-get update -c ${LOCAL_APT}/etc/apt_${CODENAME}.conf apt-get update -c ${LOCAL_APT}/etc/apt_${CODENAME}.conf
# Get available kernel at release/main packages. # Get available kernel at release/main packages.
LASTKERNEL="$(apt-cache madison -c ${LOCAL_APT}/etc/apt_${CODENAME}.conf linux-libc-dev|\ LASTKERNEL="$(apt-cache madison -c ${LOCAL_APT}/etc/apt_${CODENAME}.conf linux-hwe-5.19-tools-common|\
grep ${CODENAME}/main|\ grep ${CODENAME}/main|\
awk '{print$3}'|head -n1|\ awk '{print$3}'|head -n1|\
cut -d. -f1,2,3)" cut -d. -f1,2,3)"