Changeset 2727
- Timestamp:
- 06/06/07 14:33:36 (1 year ago)
- Files:
-
- trunk/freewrt/mk/kernel-build.mk (modified) (1 diff)
- trunk/freewrt/package/mini_fo/Makefile (modified) (1 diff)
- trunk/freewrt/scripts/ib.sh (modified) (1 diff)
- trunk/freewrt/target/linux/generic-2.4/patches/223-mini_fo.patch (modified) (4 diffs)
- trunk/freewrt/tools/config/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/mk/kernel-build.mk
r2687 r2727 84 84 rm -rf ${LINUX_BUILD_DIR}/root* 85 85 cd ${BUILD_DIR} && pax -rw -pe root ${LINUX_BUILD_DIR}/ 86 echo -e 'dest root /\noption offline_root $(LINUX_BUILD_DIR)/root' \ 87 > $(LINUX_BUILD_DIR)/ipkg.conf 86 printf '%s\n%s\n' 'dest root /' \ 87 'option offline_root $(LINUX_BUILD_DIR)/root' \ 88 >$(LINUX_BUILD_DIR)/ipkg.conf 88 89 ifneq ($(strip $(INSTALL_TARGETS)),) 89 90 $(IPKG_KERNEL) install $(INSTALL_TARGETS) $(MAKE_TRACE) trunk/freewrt/package/mini_fo/Makefile
r2678 r2727 28 28 29 29 do-configure: 30 echo -e '%g/\\$$Id\\$$/s//$$Id$$/\nwq' | ed -s ${WRKBUILD}/main.c 30 printf '%s\nwq\n' '%g/\$$Id\$$/s//$$Id$$/' | \ 31 ed -s ${WRKBUILD}/main.c 31 32 32 33 do-install: trunk/freewrt/scripts/ib.sh
r2585 r2727 174 174 echo "creating temporary dir: ${tmpdir}" 175 175 176 echo -e "dest root /\noption offline_root ${tmpdir}/root" >${tmpdir}/ipkg.conf176 printf '%s\n%s\n' "dest root /" "option offline_root ${tmpdir}/root" >${tmpdir}/ipkg.conf 177 177 ipkg_command="env IPKG_TMP=${tmpdir}/tmp IPKG_INSTROOT=${tmpdir}/root IPKG_CONF_DIR=${tmpdir} ${toolsdir}/ipkg -force-defaults -force-depends" 178 178 trunk/freewrt/target/linux/generic-2.4/patches/223-mini_fo.patch
r1111 r2727 5731 5731 + 5732 5732 +if ! [ -d "$BASE" ] || ! [ -d "$STO" ]; then 5733 + echo -e "$0:\nError, -s and/or -b argument missing. type $0 -h for help."5733 + printf '%s\n%s\n' "$0:" " Error, -s and/or -b argument missing. type $0 -h for help." 5734 5734 + exit -1; 5735 5735 +fi … … 5783 5783 + 5784 5784 +# delete all whiteouted files from base 5785 + echo -e "\nDeleting whiteout'ed files from base file system..."5785 +printf '\nDeleting whiteout'\''ed files from base file system...\n' 5786 5786 +find . -name $META_NAME -type f -print0 | xargs -0 -e grep -e '^D ' | sed -e 's/:D//' | while read ENTRY; do 5787 5787 + META_FILE=`echo $ENTRY | cut -d ' ' -f 1` … … 5799 5799 + 5800 5800 +# create all dirs and update permissions 5801 + echo -e "\nSetting up directory structures in base file system..."5801 +printf '\nSetting up directory structures in base file system...\n' 5802 5802 +find . -type d | sed -e 's/^\.\///' | while read DIR; do 5803 5803 + PERMS=`stat -c %a $DIR` … … 5814 5814 + 5815 5815 +# merge all non-directory files 5816 + echo -e "\nMerging all non-directory files...."5816 +printf '\nMerging all non-directory files....\n' 5817 5817 +for i in b c p f l s; do 5818 5818 + find . -type $i | sed -e 's/^\.\///' | grep -v "$META_NAME" | while read FILE; do trunk/freewrt/tools/config/Makefile
r2297 r2727 99 99 else \ 100 100 rm -f lxtemp.c; \ 101 echo -e "\007" ;\101 printf '\007'; \ 102 102 echo ">> Unable to find the Ncurses libraries." ;\ 103 103 echo ">>" ;\


