Move binutils dependency to optdepends
Task Info (Flyspray) | |
---|---|
Opened By | Jeremy Goss (jemgoss) |
Task ID | 76315 |
Type | Feature Request |
Project | Arch Linux |
Category | Arch Projects |
Version | None |
OS | All |
Opened | 2022-10-27 15:08:55 UTC |
Status | Assigned |
Assignee | Giancarlo Razzolini (grazzolini) |
Assignee | Morten Linderud (Foxboron) |
Details
Description:
Any chance the binutils dependency can be moved to optdepends? binutils is part of the base-devel group - i.e. a development utility - and I don't think it should be dragged in for EVERY linux install.
As far as I can tell, binutils is only required for objcopy, which is used when generating Unified Images and that's not the default: it requires manually editing the mkinitcpio preset to enable that. Please correct me if I'm wrong. Maybe mkinitcpio can display a warning if objcopy is missing before its use.
This is related to https://bugs.archlinux.org/task/72877, which asked that binutils be added as a dependency, but even that suggested as an optdepends.
This may seem unnecessary but will help to reduce the overall dependency creep for a base system.
Additional info:
- package version: mkinitcpio 31-2+