mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-18 05:01:02 +01:00
added ldconfig, modified symlinks so they work w/o mtree
This commit is contained in:
10
jaildk
10
jaildk
@@ -112,7 +112,8 @@ jaildk_build() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
jaildk_install $jail all $mode rw $base $version
|
jaildk_install $jail all $mode rw $base $version
|
||||||
|
|
||||||
|
ex chroot $j/build/$jail /etc/rc.d/ldconfig onestart
|
||||||
}
|
}
|
||||||
|
|
||||||
jaildk_rc_ports() {
|
jaildk_rc_ports() {
|
||||||
@@ -456,9 +457,10 @@ var/tmp"
|
|||||||
ex ln -s /usr/local/db $basedir/var/db
|
ex ln -s /usr/local/db $basedir/var/db
|
||||||
|
|
||||||
# add some symlinks from /var to /tmp to make pkg work properly
|
# add some symlinks from /var to /tmp to make pkg work properly
|
||||||
ex ln -s ../tmp/var/cache $basedir/var/cache
|
ex rm -rf $basedir/var/tmp $basedir/var/cache $basedir/var/run
|
||||||
ex ln -s ../tmp/var/run $basedir/var/run
|
ex ln -s /tmp $basedir/var/tmp
|
||||||
ex ln -s ../tmp/var/tmp $basedir/var/tmp
|
ex ln -s /tmp $basedir/var/cache
|
||||||
|
ex ln -s /tmp $basedir/var/run
|
||||||
|
|
||||||
if test -n "$rw"; then
|
if test -n "$rw"; then
|
||||||
echo "You have choosen to create a build base with ports support"
|
echo "You have choosen to create a build base with ports support"
|
||||||
|
|||||||
Reference in New Issue
Block a user