1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
commit 685f2ac40705c7a9bb1642c7c9c5d2914db2a9e5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Thu Aug 21 00:52:37 2025 +0200
boot scripts: recommend using exec.static
This avoids issues with differing versions of ld.so being used and libc
actually installed.
commit 7d383a88652fccb272bea73ec29a9f2d88014167
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Wed Aug 20 00:06:33 2025 +0200
boot: fix ld.so name for x86_64 in default boot script
---
boot/boot.c | 2 +-
hurd.boot | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -528,7 +528,7 @@ const char *default_boot_script =
and its task port saved in ${exec-task} to be passed to the fs
above, but it is left suspended; the fs will resume the exec task
once it is ready. */
- "/lib/ld.so /hurd/exec $(exec-task=task-create)"
+ "/hurd/exec.static $(exec-task=task-create)"
"\n";
--- a/hurd.boot
+++ b/hurd.boot
@@ -3,11 +3,11 @@
# First, the bootstrap filesystem. It needs several ports as arguments,
# as well as the user flags from the boot loader.
-/hurd/ext2fs --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T device ${root-device} $(task-create) $(task-resume)
+/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T device ${root-device} $(task-create) $(task-resume)
# Now the exec server; to load the dynamically-linked exec server program,
# we have the boot loader in fact load and run ld.so, which in turn
# loads and runs /hurd/exec. This task is created, and its task port saved
# in ${exec-task} to be passed to the fs above, but it is left suspended;
# the fs will resume the exec task once it is ready.
-/lib/ld.so /hurd/exec $(exec-task=task-create)
+/hurd/exec.static $(exec-task=task-create)
|