--- elwix/build_uboot.sh 2014/09/15 19:06:42 1.2 +++ elwix/build_uboot.sh 2021/03/11 13:59:50 1.4 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: build_uboot.sh,v 1.2 2014/09/15 19:06:42 misho Exp $ +# $Id: build_uboot.sh,v 1.4 2021/03/11 13:59:50 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -53,6 +53,14 @@ build_ubfs() install -d elwix/altroot; install -d elwix/altroot/var; install -d elwix/cf; + case ${TARGET} in + i386) + ln -fs /dev/ada0g elwix/cf/map.cfg + ;; + mips) + ln -fs /dev/map/cfg elwix/cf/map.cfg + ;; + esac install -d elwix/etc; install -d -o 883 -g 883 elwix/etc/mqtt; install -d elwix/exports; @@ -151,9 +159,9 @@ create_etc_fstab() # Automatic generated fstab for ELWIX $2 at ${BUILD_DATE} # /dev/map/rootfs.uncompress / ufs ro 0 0 -md0 /tmp mfs rw,-s1m,-oasync,-S 0 0 +tmpfs /tmp tmpfs rw 0 0 md1 /var mfs rw,-s2m,-S 0 0 -/var/db /elwix/etc unionfs rw,noauto,-onoatime 0 0 +/var/db /elwix/etc unionfs rw,noauto,-onoatime 0 0 _EOF }