Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549442 - sys-kernel/genkernel-next hard-codes location of systemd's 99-default.link
Summary: sys-kernel/genkernel-next hard-codes location of systemd's 99-default.link
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-14 09:22 UTC by Adrian Bassett
Modified: 2016-11-06 20:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Bassett 2015-05-14 09:22:20 UTC
genkernel-next (/usr/share/genkernel/gen_initramfs.sh hard-codes the inclusion of /lib/systemd/network/99-default.link in the initramfs.  However, systemd installs that file as /usr/lib/systemd/network/99-default.link:

$ equery belongs 99-default.link
 * Searching for 99-default.link ... 
sys-apps/systemd-219_p112 (/usr/lib/systemd/network/99-default.link)

Perhaps gen_initramfs.sh should be changed to refer to the correct location (although its absence in the initramfs doesn't appear to be problematic)?

This would avoid the following noise from a kernel build:

cp: cannot stat ‘/lib/systemd/network/99-default.link’: No such file or directory
* cannot copy /lib/systemd/network/99-default.link from udev


Reproducible: Always
Comment 1 Greg Turner 2015-05-31 01:34:49 UTC
I get that error.
Comment 2 Pacho Ramos gentoo-dev 2016-05-23 15:03:04 UTC
is this valid with version 64?
Comment 3 Adrian Bassett 2016-05-23 15:31:34 UTC
(In reply to Pacho Ramos from comment #2)
> is this valid with version 64?

Using version 64 genkernel.log has: 

>> Appending udev cpio data...
* cannot copy /lib/systemd/network/99-default.link from udev
Comment 4 Pacho Ramos gentoo-dev 2016-05-28 12:35:48 UTC
Try then to report it directly to upstream:
https://github.com/Sabayon/genkernel-next/issues

Thanks
Comment 6 Ettore Di Giacinto (RETIRED) gentoo-dev 2016-11-06 20:57:24 UTC
Thanks for signaling it.

That should be fixed with sys-kernel/genkernel-next-65 .

commit cf191720ce990c30c7cc70643ad06be628f9909b
Author: Ettore Di Giacinto <mudler@gentoo.org>
Date:   Sun Nov 6 21:06:24 2016 +0100

    sys-kernel/genkernel-next: version bump to 65
    
    Package-Manager: portage-2.3.1