Re: Trying to rebuild grub2-2.06-2.fc34 from source rpm, but one subpackage is not built.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michele Riva wrote on 2021/07/25 5:24:
Hello everyone!

I am trying to apply a patch to grub2-2.06-2.fc34 and to make a package out of it. To do so I'm using fedpkg for the most part, but when I come to the point of building the package with "fedpkg local" one of the subpackages seems missing: grub2-pc-modules.noarch
This unfortunately makes impossible to replace the whole grub package set with the newly compiled packages, as dnf rightfully complains the missing one (see below for installed vs built packages).
Weirdly enough, searching for "pc-modules" among the rpm source files does not return any result, while searching just "modules" shows some code used to build other packages (such as grub2-efi-x64-modules). It doesn't look like anything related to "pc-modules" exists in the code in the first place.
Is there something I am not doing right? I can see other .noarch subpackages are built just fine in the process.

Thanks to anyone who can help me clear this up :)


<snip>

I am not a maintainer of grub2 package, however looking at the spec file,
you have to read deeply "grub.macros" file. Especially grep "with_legacy_modules"
in "grub.macros" file.

i.e. -pc-modules subpackage will be built not on x86_64 arch, but on i686 arch.
You have to pass "--arch i686" option to "fedpkg local", perhaps.

Regards,
Mamoru
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux