⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 premaid.sh

📁 一个Windows下的Linux专用虚拟机
💻 SH
字号:
#!/bin/sh# copy executable and text files into premaid for win installerTOPDIR=../../../../../..EXEDIR=../../buildTHISDIR=`pwd`# get configurecd ${TOPDIR}/bin; . ./build-common.sh; cd $THISDIRPATH="$PATH:$PREFIX/bin"STRIP="$TARGET-strip --strip-all --preserve-dates"# Convert files into win-lite CR+LF and store in distdir# Set current CoLinux-Version numberunix_dos(){	sed -e "s/\$CO_VERSION/$CO_VERSION/" \	    -e 's/$/\r/' < $1 > $2 || exit $?}mkdir -p premaid# link kernel and modulesecho "Links to kernel and modules"ln -f $COLINUX_TARGET_KERNEL_BUILD/vmlinux premaid/vmlinux || exit $?ln -f $COLINUX_TARGET_KERNEL_BUILD/vmlinux-modules.tar.gz premaid/vmlinux-modules.tar.gz || exit $?echo "Copy and strip executable"for name in $EXEDIR/*.exe $EXEDIR/*.sysdo	$STRIP -o premaid/`basename $name` $namedoneecho "Copy and convert text files"unix_dos ${TOPDIR}/NEWS 		premaid/NEWS.txtunix_dos ${TOPDIR}/RUNNING 		premaid/README.txtunix_dos ${TOPDIR}/doc/cofs		premaid/cofs.txtunix_dos ${TOPDIR}/doc/colinux-daemon	premaid/colinux-daemon.txtunix_dos ${TOPDIR}/doc/debugging	premaid/debugging.txtunix_dos ${TOPDIR}/conf/example.conf	premaid/example.conf

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -