mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 23:25:54 +03:00
[GH-ISSUE #1253] Set clock before fetching https assets #369
Labels
No labels
Hacktoberfest
Hacktoberfest
bootloader
bsd
bug
confirmed
documentation
duplicate
enhancement
enhancement
enhancement
eol
experimental-merged
freebsd
help wanted
invalid
investigate
ipxe
linux
live-os
memdisk
menu
no-issue-activity
no-issue-activity
pull-request
released
todo
upstream
windows
windows
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/netboot.xyz#369
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hcooper on GitHub (May 31, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1253
I'm working with devices which have no battery and hence loose track of time every reboot.
They expect the clock to be set each boot by ntp/chrony/etc.
This causes a problem using netboot.xyz as https certificate validation fails when fetching images files...
Would it be possible to run ntp/chrony before fetching assets?
I'm happy to try patching it myself - however I've searched around and can't find where to modify this boot process.
@kaechele commented on GitHub (Jun 8, 2023):
Does passing
fixrtcas an option to the kernel fix this? We could look at including it in the cmdline for Debian based distros if that works.@hcooper commented on GitHub (Jun 8, 2023):
No luck sorry! I set it in netboot.xyz menu and still get the same failure. (Also confirmed pid 1 in the loader is
/bin/sh /init vmlinuz fixrtc)@antonym commented on GitHub (Jun 10, 2023):
iPXE currently run an ntp during the menu process but it doesn't appear to change the underlying clock:
https://ipxe.org/cmd/ntp