FS#49315 - [archiso] configs/releng/build.sh still uses deprecated prebootloader

Attached to Project: Release Engineering
Opened by Yichen Zhao (zhaoyichen) - Friday, 13 May 2016, 00:33 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Sunday, 15 May 2016, 20:18 GMT
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To Gerardo Exequiel Pozzi (djgera)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

The package extra/archiso 25-1 still attempts to use the deprecate package "prebootloader" in the "build.sh" script for its "releng" profile. This prevents an releng archiso image from being built.

Additional info:
* package version(s): extra/archiso 25-1
* Failure error message:
[mkarchiso] INFO: Installing packages to 'work/x86_64/airootfs/'...
...
error: target not found: prebootloader
==> ERROR: Failed to install packages to new root

Steps to reproduce:
$ pacman -S archiso
$ cp -r /usr/share/archiso/configs/releng/ ./
$ cd ./releng
$ ./build.sh -v
This task depends upon
 FS#49314 - [efitools] Missing PreLoader.efi 

Closed by  Gerardo Exequiel Pozzi (djgera)
Sunday, 15 May 2016, 20:18 GMT
Reason for closing:  Fixed
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 13 May 2016, 00:56 GMT
Yes already reported[#1], but efitools package should be fixed first.

[#1] https://lists.archlinux.org/pipermail/arch-releng/2016-May/003672.html
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 13 May 2016, 01:11 GMT Comment by Philip Müller (philm) - Saturday, 14 May 2016, 06:58 GMT
@Gerardo: your patch is wrong:

- cp ${work_dir}/x86_64/airootfs/usr/lib/prebootloader/PreLoader.efi ${work_dir}/iso/EFI/boot/bootx64.efi
- cp ${work_dir}/x86_64/airootfs/usr/lib/prebootloader/HashTool.efi ${work_dir}/iso/EFI/boot/
+ cp ${work_dir}/x86_64/airootfs/usr/lib/efitools/PreLoader.efi ${work_dir}/iso/EFI/boot/bootx64.efi
+ cp ${work_dir}/x86_64/airootfs/usr/lib/efitools/HashTool.efi ${work_dir}/iso/EFI/boot/

It should be like this:

- cp ${work_dir}/x86_64/airootfs/usr/lib/prebootloader/PreLoader.efi ${work_dir}/iso/EFI/boot/bootx64.efi
- cp ${work_dir}/x86_64/airootfs/usr/lib/prebootloader/HashTool.efi ${work_dir}/iso/EFI/boot/
+ cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/PreLoader.efi ${work_dir}/iso/EFI/boot/bootx64.efi
+ cp ${work_dir}/x86_64/airootfs/usr/share/efitools/efi/HashTool.efi ${work_dir}/iso/EFI/boot/

I'm still checking on how to get it work on my end ...
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 15 May 2016, 02:48 GMT
oops, thanks Philip. Fixed in git, will be available as package for next release.

Loading...