--- elwix/build_fs.sh 2011/12/19 20:43:07 1.3.2.3 +++ elwix/build_fs.sh 2012/03/20 16:12:44 1.3.2.5 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_fs.sh,v 1.3.2.3 2011/12/19 20:43:07 misho Exp $ +# $Id: build_fs.sh,v 1.3.2.5 2012/03/20 16:12:44 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -84,8 +84,9 @@ build_fsdir() install -d home; # root install -d -m 0700 root; -# local - install -d local; +# pkg + install -d pkg; + install -d pkg/db; # tftpboot install -d tftpboot; @@ -193,6 +194,8 @@ mketc() ln -sf /var/named/etc/namedb $1/etc/namedb; ln -sf /var/run/resolv.conf $1/etc/resolv.conf; + + ln -sf /elwix/pkg/etc/mk.conf $1/etc/mk.conf; echo ${TARGET_ARCH} >$1/etc/platform;