Release Engineering


FS#66315 - [archiso] [ipxe] netboot doesn't work on device with inaccurate clock

Attached to Project: Release Engineering
Opened by Maxime de Roucy (akira86) - Sunday, 19 April 2020, 18:55 GMT
Last edited by freswa (frederik) - Thursday, 10 September 2020, 12:56 GMT
Task Type Bug Report
Category Hardware Issues
Status Closed
Assigned To Jelle van der Waa (jelly)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



I am trying to install archlinux on an old pcengines apu2 with an inaccurate clock (or maybe it doesn't have any… I don't know).

I downloaded and place it on a local http server (because the apu2 buildin pxe bios doesn't support https).
Then I chainloaded it, but I get the following error:
``` Permission denied (
``` mention that:
> This error indicates that an SSL certificate is not valid at the current date and time.

I tried the [ntp command][1] but it isn't build in ipxe.31e77c156b6d.pxe.

I build my own ipxe.pxe from with the following patch:
diff --git a/PKGBUILD b/PKGBUILD
index 409a41e..2913e0e 100644
@@ -40,6 +40,7 @@ prepare() {
echo '#define NET_PROTO_IPV6' >> config/local/general.h
echo '#define DOWNLOAD_PROTO_HTTPS' >> config/local/general.h
echo '#define IMAGE_TRUST_CMD' >> config/local/general.h
+ echo '#define NTP_CMD' >> config/local/general.h

build() {
diff --git a/arch.ipxe b/arch.ipxe
index af01aae..929ed80 100644
--- a/arch.ipxe
+++ b/arch.ipxe
@@ -1,3 +1,4 @@
-chain || shell
+chain || shell
Basically I added the ntp command and used it (and also use instead of because of  FS#58470 ).
It works.

Could you apply those modifications in the official image ?

Thank you in advance.

This task depends upon

Closed by  freswa (frederik)
Thursday, 10 September 2020, 12:56 GMT
Reason for closing:  Fixed
Additional comments about closing: ommit/?h=ipxe-netboot&id=de4d25aee9f 3e4b2845a957cba9085762566543c