[util-iso] make intel_ucode.img optional
This commit is contained in:
parent
95e441a046
commit
c255022d1f
1 changed files with 4 additions and 2 deletions
|
@ -348,8 +348,10 @@ make_image_boot() {
|
|||
copy_initcpio "${path}"
|
||||
gen_boot_image "${path}"
|
||||
mv ${path}/boot/${iso_name}.img ${path_iso}/${arch}/${iso_name}.img
|
||||
if [[ -f ${path}/boot/intel-ucode.img ]]; then
|
||||
cp ${path}/boot/intel-ucode.img ${path_iso}/intel_ucode.img
|
||||
cp ${path}/usr/share/licenses/intel-ucode/LICENSE ${path_iso}/intel_ucode.LICENSE
|
||||
fi
|
||||
umount_image_handler
|
||||
rm -R ${path}
|
||||
: > ${work_dir}/build.${FUNCNAME}
|
||||
|
|
Loading…
Reference in a new issue