arm64: Only add .disk/udeb_include when the source file exists
This commit is contained in:
parent
a05946d32c
commit
89556fb77e
|
@ -125,7 +125,14 @@ do
|
|||
cp -a "${LOCATION}/${LB_PARENT_DISTRIBUTION_BINARY}/${LB_ARCHITECTURE}_udeb_include" binary/.disk/udeb_include
|
||||
;;
|
||||
netinst|live)
|
||||
cp -a "${LOCATION}/${LB_PARENT_DISTRIBUTION_BINARY}/${LB_ARCHITECTURE}_netinst_udeb_include" binary/.disk/udeb_include
|
||||
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)
|
||||
cp -a "${LOCATION}/${LB_PARENT_DISTRIBUTION_BINARY}/${LB_ARCHITECTURE}_businesscard_udeb_include" binary/.disk/udeb_include
|
||||
|
@ -137,10 +144,5 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
|
||||
then
|
||||
echo "live-installer" >> binary/.disk/udeb_include
|
||||
fi
|
||||
|
||||
# Creating stage file
|
||||
Create_stagefile
|
||||
|
|
Loading…
Reference in New Issue