Thanks for the help the build is already running.
Report me ((=
It’s an easy enough mistake to make. I am pretty sure now that it will build successfully
Under Ubuntu he is still building …
At the same time on archlinux I get this error “cdrom”
strip [ 7 ][ DONE ]
Building packages
Generating packages list from logs [ DONE ]
cdrom [ 1:44 ][ FAIL ]
sed -e "s/NAME/IPFire/g" -e "s/VERSION/2.27/g" -e "s/ARCH/x86_64/g" \
/usr/src/config/cdrom/grub-efi.cfg > /tmp/grub-efi.cfg
# Build a GRUB EFI image
mkdir -pv /tmp/cdrom/EFI/BOOT
mkdir: created directory '/tmp/cdrom/EFI'
mkdir: created directory '/tmp/cdrom/EFI/BOOT'
grub-mkimage \
--format=x86_64-efi \
--output=/tmp/cdrom/EFI/BOOT/bootx64.efi \
--config=/tmp/grub-efi.cfg \
--compression=xz \
--prefix=/EFI/BOOT \
$(for mod in all_video at_keyboard boot bitmap_scale cat chain configfile disk echo efi_gop efi_uga ext2 extcmd fat file font fxterm_menu gfxterm gfxmenu gfxterm_background gzio halt help iso9660 jpeg loadbios loadenv loopback linux ls memdisk minicmd nativedisk normal ntfs part_gpt part_msdos png probe reboot regexp search search_fs_file search_fs_uuid search_label tar test tga true usb_keyboard; do [ -f "/usr/lib/grub/x86_64-efi/${mod}.mod" ] && echo "${mod}"; done)
# Install GRUB configuration
mkdir -pv /tmp/cdrom/EFI/BOOT
sed -e "s/NAME/IPFire/g" -e "s/VERSION/2.27/g" -e "s/ARCH/x86_64/g" \
< /usr/src/config/cdrom/grub.cfg > /tmp/cdrom/EFI/BOOT/grub.cfg
# Create the EFI Eltorito image
dd if=/dev/zero of=/tmp/cdrom/boot/isolinux/efiboot.img bs=1k count=1440
1440+0 records in
1440+0 records out
1474560 bytes (1.5 MB, 1.4 MiB) copied, 0.00121855 s, 1.2 GB/s
mkdosfs -F 12 -n "IPFIRE_EFI" /tmp/cdrom/boot/isolinux/efiboot.img
mkfs.fat 4.2 (2021-01-31)
# Mount the EFI image
mkdir -pv /tmp/efiboot.img
mkdir: created directory '/tmp/efiboot.img'
mount -o loop /tmp/cdrom/boot/isolinux/efiboot.img /tmp/efiboot.img
mount: /tmp/efiboot.img: mount failed: Unknown error -1
make: *** [cdrom:193: /usr/src/log/cdrom] Error 32
ERROR: Building cdrom [ FAIL ]
Check /tmp/sandbox/ipfire-2.x/log/_build.packages.log for errors if applicable [ FAIL ]
What is missing here?
looks like loop mounts (mounting a disk image file) are not allowed or you have a desktop environment with a strange automount feature.
can I remove cdrom from the build?
That is not an inherent aspect of archlinux.
I use archlinux for my build system, runni g with an xfce4 desktop and I have never had that problem.