#!/bin/bash ############################################################################### ## ## @File: $RCSfile$ ## @Author: Digi International Inc. ## @Revision: $Revision$ ## @Date: $Date$ ## ## @Description: ## ## Template script available for customers to edit so they can install ## their own files in the rootfs. ## ## It is installed in each project so it can be per-project customized. ## This script has access to following project variables: ## ## DEL_TOOL_DIR -> Digi Embedded Linux path. ## DEL_PROJ_DIR -> Project path. ## DEL_PLATFORM -> Target platform. ## DEL_TFTP_DIR -> TFTPBOOT path. ## DEL_NFS_DIR -> Rootfs nfs-exported path. ## ## These variables are exported in topdir Makefile. ## ## Though you can use all above variables, the recommended way is to customize ## the project rootfs (see ROOTFS_DIR below). Doing this way, your changes ## will be included in rootfs images and in nfs-exported rootfs as well. ## ############################################################################### ROOTFS_DIR="${DEL_PROJ_DIR}/build/rootfs" ## Example: create a custom directory in rootfs etc dir. # mkdir -p "${ROOTFS_DIR}/etc/myfolder" ## aess-core-template mkdir -p "${ROOTFS_DIR}/www" ## wisl cp "${DEL_PROJ_DIR}/build/coretemplate/spl-1.0pre5/webspld" "${ROOTFS_DIR}/sbin/webspld" cp "${DEL_PROJ_DIR}/build/coretemplate/spl-1.0pre5/splrun" "${ROOTFS_DIR}/sbin/splrun" #cp -a "${DEL_PROJ_DIR}/build/coretemplate/www" "${ROOTFS_DIR}/" cp -a "${DEL_TOOL_DIR}"/usr/lib/libexslt.so* "${ROOTFS_DIR}/lib" cp -a "${DEL_TOOL_DIR}"/usr/lib/libxml2.so* "${ROOTFS_DIR}/lib" cp -a "${DEL_TOOL_DIR}"/usr/lib/libxslt.so* "${ROOTFS_DIR}/lib" ## entryeasy cp -a "${DEL_PROJ_DIR}/build/coretemplate/etc" "${ROOTFS_DIR}/" cp -a "${DEL_PROJ_DIR}/build/coretemplate/sbin" "${ROOTFS_DIR}/" exit 0