bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting rid of serverboot


From: Roland McGrath
Subject: Re: Getting rid of serverboot
Date: Mon, 20 Aug 2001 19:00:52 -0400 (EDT)

I've committed the hurd changes I described earlier, which need testing.
They also BREAK ALL EXISTING BOOT SCRIPTS.

The changes are in diskfs to replace --bootflags with --multiboot-command-line,
to replace the -i/-d bootflags switches with the --boot-init-program and
--boot-debug-pause options respectively, and to pass the chopped-up
command line words as arguments to init instead of passing bootflags.
In init, removed -K and made it instead expect its arguments to form the
kernel command line, and made it pass its arguments to runsystem.
In runsystem, made it expect those arguments instead of ${MULTIBOOT_CMDLINE}.

I changed the hurd.boot example file in the root of the source tree
to replace --bootflags with --multiboot-command-line.  There are surely
numerous other example boot scripts lurking around that should be changed too.

Please test that a newly built hurd with an updated boot script still works
with boot (sub-hurd) and serverboot, as well as the new kernel boot script
support.  Be sure to check with ps that the kernel command line shows up right.

Probably we should add an option to boot to set ${kernel-command-line},
and set it by default based on boot's own args ("$argv[0] -s root=foobar").



reply via email to

[Prev in Thread] Current Thread [Next in Thread]