diff options
author | jpaetzel <jpaetzel@FreeBSD.org> | 2011-02-22 19:37:12 +0000 |
---|---|---|
committer | jpaetzel <jpaetzel@FreeBSD.org> | 2011-02-22 19:37:12 +0000 |
commit | f4cf481489b4389917b5159274baa5bbad704e3f (patch) | |
tree | 23da4b6b9cd526874bf2eb87d7825aa8f29ec8f9 /usr.sbin/pc-sysinstall | |
parent | ab977d477a1dada5542808b9f050ffcf3023642f (diff) | |
download | FreeBSD-src-f4cf481489b4389917b5159274baa5bbad704e3f.zip FreeBSD-src-f4cf481489b4389917b5159274baa5bbad704e3f.tar.gz |
Added patch-functions-upgrade which should fix some kernel panics
doing upgrades and uninstalling linux compat ports.
Submitted by: Joerg-Christian Boehme <joerg@chaosdorf.de>
Approved by: kib (mentor, implicit)
Diffstat (limited to 'usr.sbin/pc-sysinstall')
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend/functions-upgrade.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh b/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh index fb04bde..e7250f7 100755 --- a/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh +++ b/usr.sbin/pc-sysinstall/backend/functions-upgrade.sh @@ -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 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}" |