Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 370331 | Differences between
and this patch

Collapse All | Expand All

(-)a/targets/support/create-iso.sh (-4 / +4 lines)
Lines 261-268 case ${clst_hostarch} in Link Here
261
				mkdir -p "${clst_target_path}"/boot
261
				mkdir -p "${clst_target_path}"/boot
262
			else
262
			else
263
				echo "Preparing EFI boot image"
263
				echo "Preparing EFI boot image"
264
				# prepare gentoo.efimg from cdtar's /boot dir 
264
				# prepare gentoo.efimg from cdtar's /boot/EFI dir 
265
				iaSizeTemp=$(du -sk "${clst_target_path}/boot" 2>/dev/null)
265
				iaSizeTemp=$(du -sk "${clst_target_path}/boot/EFI" 2>/dev/null)
266
				iaSizeB=$(echo ${iaSizeTemp} | cut '-d ' -f1)
266
				iaSizeB=$(echo ${iaSizeTemp} | cut '-d ' -f1)
267
				iaSize=$((${iaSizeB}+32)) # Add slack
267
				iaSize=$((${iaSizeB}+32)) # Add slack
268
				echo "Creating loopback file of size ${iaSize}kB"
268
				echo "Creating loopback file of size ${iaSize}kB"
Lines 276-283 case ${clst_hostarch} in Link Here
276
				mount -t vfat -o loop "${clst_target_path}/gentoo.efimg" \
276
				mount -t vfat -o loop "${clst_target_path}/gentoo.efimg" \
277
					"${clst_target_path}/gentoo.efimg.mountPoint"
277
					"${clst_target_path}/gentoo.efimg.mountPoint"
278
278
279
				echo "Populating EFI image file from ${clst_target_path}/boot"
279
				echo "Populating EFI image file from ${clst_target_path}/boot/EFI"
280
				cp -rv "${clst_target_path}"/boot/* \
280
				cp -rv "${clst_target_path}"/boot/EFI/ \
281
					"${clst_target_path}/gentoo.efimg.mountPoint"
281
					"${clst_target_path}/gentoo.efimg.mountPoint"
282
282
283
				umount "${clst_target_path}/gentoo.efimg.mountPoint"
283
				umount "${clst_target_path}/gentoo.efimg.mountPoint"

Return to bug 370331