Files
gentoo/eclass/cdrom.eclass
James Le Cuirot 626e167596 cdrom.eclass: Allow image file to be given in CD_ROOT rather than a dir
This adds a app-arch/libarchive dependency, which is assumed to be
present on most systems because of binutils[+debuginfod] ->
elfutils[+libarchive].

The image file will be extracted (not mounted) on demand. The file does
not have be an ISO image, but anything that libarchive can handle.

Mounting would be less intensive, but it is not possible due to
permission and namespace restrictions.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2026-07-30 11:17:05 +01:00

12 KiB