Menu

[r9967]: / trunk / examples / plugins / build-jail.sh  Maximize  Restore  History

Download this file

20 lines (14 with data), 322 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
JAILDIR=/usr/pbistuff/plugins
mkdir -p $JAILDIR/dev
mkdir -p $JAILDIR/etc
mkdir -p $JAILDIR/usr/tmp
chmod 777 $JAILDIR/usr/tmp
SRCDIR=/usr/src
cd $SRCDIR
make installworld DESTDIR=$JAILDIR
cd $SRCDIR/etc
#cp /etc/resolv.conf $JAILDIR
make distribution DESTDIR=$JAILDIR
cd $JAILDIR
touch $JAILDIR/etc/fstab
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.