Hi,

The installports plugin really need devfs mounted in BASEDIR otherwise
some ports will fail with strange error because dev/foo is missing.

Could someone take a look a this patch:

Index: installports.sh
===================================================================
RCS file: /cvs/freesbie2/extra/installports.sh,v
retrieving revision 1.3
diff -u -r1.3 installports.sh
--- installports.sh     21 Dec 2005 16:14:03 -0000      1.3
+++ installports.sh     4 Jan 2007 10:34:31 -0000
@@ -35,6 +35,7 @@
    mkdir -p ${BASEDIR}/usr/ports ${BASEDIR}/usr/src
    mount_nullfs ${PORTSDIR:-/usr/ports} ${BASEDIR}/usr/ports
    mount_nullfs ${SRCDIR:-/usr/src} ${BASEDIR}/usr/src
+    mount_devfs none ${BASEDIR}/dev

    print_error_umount() {
       echo "Something went wrong, check errors!" >&2
@@ -48,6 +49,7 @@
    umount_null() {
       umount ${BASEDIR}/usr/ports;
       umount ${BASEDIR}/usr/src;
+       umount ${BASEDIR}/dev
    }

    trap "umount_null; exit 1" INT

Regards.

--
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."
--
FreeSBIE mailing list (http://www.freesbie.org)

Reply via email to