FS#62163 - [mkinitcpio-busybox] Can "date" be added to the config?

Attached to Project: Arch Linux
Opened by Kim Scarborough (chowbok) - Thursday, 28 March 2019, 05:03 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:24 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I'm writing a hook that will set the time from the initcpio image (it's not as dumb as it sounds). The problem is, though, that the mkinitcpio-busybox doesn't include the "date" command, which I need. For my own use, I can just replace the binary with the one from the busybox package, but that wouldn't be feasible were I to make this available from the AUR. So... I was wondering if there's any way if "CONFIG_DATE=y" could be added to the config.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:24 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/mkinitcpio-busybox/iss ues/1
Comment by Giancarlo Razzolini (grazzolini) - Friday, 17 January 2020, 14:47 GMT
What exactly is this for? Your hook can always copy /usr/bin/date into the initramfs. I'm not entirely against the idea of adding date, if it doesn't increase the size of the binary too much, but I'd like to also understand the reason for this.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...