Always add live-installer to udeb_include

We need to ensure that anna always auto-loads live-installer when running d-i
to install a live system, regardless of the presence of a udeb_include to copy.
This commit is contained in:
Emanuele Rocca 2024-08-29 18:13:03 +02:00
parent 7a094b296d
commit 08d7ddba8b
1 changed files with 5 additions and 4 deletions

View File

@ -128,10 +128,6 @@ do
if [ -r "${LOCATION}/${LB_PARENT_DISTRIBUTION_BINARY}/${LB_ARCHITECTURE}_netinst_udeb_include" ]
then
cp -a "${LOCATION}/${LB_PARENT_DISTRIBUTION_BINARY}/${LB_ARCHITECTURE}_netinst_udeb_include" binary/.disk/udeb_include
if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
then
echo "live-installer" >> binary/.disk/udeb_include
fi
fi
;;
businesscard)
@ -144,5 +140,10 @@ do
fi
done
if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
then
echo "live-installer" >> binary/.disk/udeb_include
fi
# Creating stage file
Create_stagefile