svn commit: r218960 - head/usr.sbin/pc-sysinstall/backend

Kostik Belousov kostikbel at gmail.com
Tue Feb 22 21:23:11 UTC 2011


On Tue, Feb 22, 2011 at 07:37:12PM +0000, Josh Paetzel wrote:
> Author: jpaetzel
> Date: Tue Feb 22 19:37:12 2011
> New Revision: 218960
> URL: http://svn.freebsd.org/changeset/base/218960
> 
> Log:
>   Added patch-functions-upgrade which should fix some kernel panics
>   doing upgrades and uninstalling linux compat ports.
This is probably wrong way to fix kernel panics. Did you show
the panics with backtrace to anybody on emulation@ ?

>   
>   Submitted by:	Joerg-Christian Boehme <joerg at chaosdorf.de>
>   Approved by:	kib (mentor, implicit)
> 
> Modified:
>   head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh
> 
> Modified: head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh
> ==============================================================================
> --- head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh	Tue Feb 22 19:18:56 2011	(r218959)
> +++ head/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh	Tue Feb 22 19:37:12 2011	(r218960)
> @@ -58,7 +58,7 @@ mount_target_slice()
>    zfs mount -a
>  
>    # Mount all the fstab goodies on disk
> -  chroot ${FSMNT} /sbin/mount -a >>${LOGOUT} 2>>${LOGOUT}
> +  chroot ${FSMNT} /sbin/mount -a -t nolinprocfs >>${LOGOUT} 2>>${LOGOUT
There is a typo/syntax error at the very end of the line.

>    chroot ${FSMNT} umount /proc >/dev/null 2>/dev/null 
>    chroot ${FSMNT} umount /compat/linux/proc  >/dev/null 2>/dev/null
>  
> @@ -79,7 +79,7 @@ mount_target_slice()
>    if [ "$INSTALLTYPE" != "FreeBSD" ]
>    then
>      echo_log "Removing old packages, this may take a while... Please wait..."
> -    echo '#/bin/sh
> +    echo '#!/bin/sh
>  for i in `pkg_info -E \*`
>  do
>    echo "Uninstalling package: ${i}"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20110222/e8abf116/attachment.pgp


More information about the svn-src-all mailing list