YAMF22 - /boot.foo fixups.
Also close PR#4151 by running newaliases (forgot to mention this in my RELENG_2_2 commit, but it's there).
This commit is contained in:
parent
977f0c4aee
commit
4a6261e486
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: install.c,v 1.193 1997/07/16 11:45:48 jkh Exp $
|
||||
* $Id: install.c,v 1.194 1997/07/16 15:21:57 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -797,6 +797,15 @@ installFixup(dialogMenuItem *self)
|
||||
Mkdir("/usr/compat");
|
||||
vsystem("ln -s /usr/compat /compat");
|
||||
|
||||
/* BOGON #5: aliases database not build for bin */
|
||||
vsystem("newaliases");
|
||||
|
||||
/* BOGON #6: deal with new boot files */
|
||||
if (file_readable("/sys/i386/boot/biosboot/boot.help"))
|
||||
vsystem("cp /sys/i386/boot/biosboot/boot.help /");
|
||||
vsystem("touch /kernel.config");
|
||||
vsystem("touch /boot.config");
|
||||
|
||||
/* Now run all the mtree stuff to fix things up */
|
||||
vsystem("mtree -deU -f /etc/mtree/BSD.root.dist -p /");
|
||||
vsystem("mtree -deU -f /etc/mtree/BSD.var.dist -p /var");
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: install.c,v 1.193 1997/07/16 11:45:48 jkh Exp $
|
||||
* $Id: install.c,v 1.194 1997/07/16 15:21:57 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -797,6 +797,15 @@ installFixup(dialogMenuItem *self)
|
||||
Mkdir("/usr/compat");
|
||||
vsystem("ln -s /usr/compat /compat");
|
||||
|
||||
/* BOGON #5: aliases database not build for bin */
|
||||
vsystem("newaliases");
|
||||
|
||||
/* BOGON #6: deal with new boot files */
|
||||
if (file_readable("/sys/i386/boot/biosboot/boot.help"))
|
||||
vsystem("cp /sys/i386/boot/biosboot/boot.help /");
|
||||
vsystem("touch /kernel.config");
|
||||
vsystem("touch /boot.config");
|
||||
|
||||
/* Now run all the mtree stuff to fix things up */
|
||||
vsystem("mtree -deU -f /etc/mtree/BSD.root.dist -p /");
|
||||
vsystem("mtree -deU -f /etc/mtree/BSD.var.dist -p /var");
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: install.c,v 1.193 1997/07/16 11:45:48 jkh Exp $
|
||||
* $Id: install.c,v 1.194 1997/07/16 15:21:57 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -797,6 +797,15 @@ installFixup(dialogMenuItem *self)
|
||||
Mkdir("/usr/compat");
|
||||
vsystem("ln -s /usr/compat /compat");
|
||||
|
||||
/* BOGON #5: aliases database not build for bin */
|
||||
vsystem("newaliases");
|
||||
|
||||
/* BOGON #6: deal with new boot files */
|
||||
if (file_readable("/sys/i386/boot/biosboot/boot.help"))
|
||||
vsystem("cp /sys/i386/boot/biosboot/boot.help /");
|
||||
vsystem("touch /kernel.config");
|
||||
vsystem("touch /boot.config");
|
||||
|
||||
/* Now run all the mtree stuff to fix things up */
|
||||
vsystem("mtree -deU -f /etc/mtree/BSD.root.dist -p /");
|
||||
vsystem("mtree -deU -f /etc/mtree/BSD.var.dist -p /var");
|
||||
|
Loading…
Reference in New Issue
Block a user