systemd-204-r1 fails to build saying * You are using a compatibility symlink to run systemd. The symlink * has been removed. Please update your bootloader to use: * * init=/usr/lib/systemd/systemd * * and reboot your system. We are sorry for the inconvenience. * ERROR: sys-apps/systemd-204-r1::gentoo failed (pretend phase): * Compatibility symlink used to boot systemd. There is currently no way to override the check that leads to this error. The the attached patch introduces a way for users to confirm their intentions to build the package. The build process is not going to die if user removes the symlink manually. Reproducible: Always
Created attachment 360342 [details, diff] Allow users to override the check
Created attachment 360344 [details, diff] Allow users to override the check (fixed operator)
Seems sane to me. Or possibly we could abuse the old I_KNOW_WHAT_I_AM_DOING flag.
I'd prefer the '-e' hack since people may be thoughtlessly setting I_KNOW... globally and with the compatibility symlink removed people wouldn't be able to reboot anyway :).
+ 18 Oct 2013; Mike Gilbert <floppym@gentoo.org> systemd-204-r1.ebuild, + systemd-204-r2.ebuild: + Don't die in pkg_pretend if the user has manually removed the systemd + compatibility symlink. Patch by Łukasz Stelmach. Bug 487232.