Re: install_and_reboot target for kernel's...

From: John-Mark Gurney (gurney_j_at_resnet.uoregon.edu)
Date: 08/04/04

  • Next message: Brooks Davis: "Re: install_and_reboot target for kernel's..."
    Date: Wed, 4 Aug 2004 13:05:35 -0700
    To: Garance A Drosihn <drosih@rpi.edu>
    
    

    Garance A Drosihn wrote this message on Wed, Aug 04, 2004 at 15:05 -0400:
    > Hardly seems worth it. Create a script "iark":
    > #!/bin/sh
    > cd /usr/src && make installkernel KERNEL=$1 && nextboot -k
    > ${KERNEL} && reboot
    >
    > (aside: I remember someone telling me that it makes more sense
    > to just type 'reboot' than 'shutdown -r now'. If you do add
    > the target, don't you want it to depend on "installkernel" and
    > not "install"?)
    >
    > This way you end up with even less typing:
    > iark kernel.test
    >
    > I'd actually spruce up the script a bit more than that, if it
    > were me... Just my 2 cents.

    a) not everyone knows about nextboot, putting it in the makefile and
            documenting it will allow more people to know about it
    b) there are lots of doesn't seem worth it scripts that exist in the
            base system.. we don't require people to do:
            make installkernel installmodules instead of make install do we?

    the reason it depends upon install and not just installkernel is that
    we want the modules installed too...

    reboot vs. shutdown: I don't care, I just normally use shutdown, and
    we could even automate the shutdown message that gets logged to specify
    that we are rebooting to a new test kernel, which reboot doesn't..

    -- 
      John-Mark Gurney				Voice: +1 415 225 5579
         "All that I will do, has been done, All that I have, has not."
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Brooks Davis: "Re: install_and_reboot target for kernel's..."

    Relevant Pages

    • Re: Help needed with a js command
      ... The original script allowed to shutdown any computer in the ... computer, and I just need to reboot one computer, anyway. ... Const EWX_SHUTDOWN = 1 ...
      (microsoft.public.scripting.jscript)
    • Re: Script to reboot group of PCs
      ... TRY: Shutdown /? ... /m = specify machine to shutdown ... >> Where machines.txt is a list of machine names or IP's you want to reboot. ... >> Use of any included script samples are subject to the terms specified at ...
      (microsoft.public.windows.server.scripting)
    • Re: Cant shutdown, logout, or restart cleanly
      ... >>keyboard response) and I have to do a cold reboot. ... >>other posts with some similar symptoms refer to ACPI and disabling ... >>when I shutdown or try to switch users is going to get old fast (not ... >How did you install X, and what does your X configuration look like? ...
      (freebsd-questions)
    • Re: Windows XP Pro Shutting Down
      ... > seen this behavior if you have a CD/DVD in the drive during a shutdown. ... > Power the Computer Off or Reboot After Shutdown ... > Troubleshooting Windows XP ... The install was a clean install on a Dell desktop. ...
      (microsoft.public.windowsxp.general)
    • Re: Cant run cgi scripts
      ... I answered all the questions during the install. ... After the reboot, I copied a .pl script into one of my ... LogFileManager - The only IIS Logfile Management Tool ...
      (microsoft.public.inetserver.iis)