[ 新規 ] [ 検索 | 一覧 | FrontPage ] [ 履歴 (RSS) | 差分履歴 (RSS) ] [ ログイン ]
【PR】Amazon | SL-C3000 | SL-C1000(3/18発売!) | SL-C860 | SL-6000W | SL-6000L | SL-6000N

LinuxZaurus向けビルド/BusyBox/etc

差分表示


編集前の状態に戻します。
patch等色々

* patch

** tar

tarのオプションに--no-same-ownerと--no-same-permissionsを追加する。

 Only in busybox-1.00-arm/: .config
 Only in busybox-1.00-arm/: .config.cmd
 Only in busybox-1.00-arm/: .depend
 diff -r -u busybox-1.00/archival/libunarchive/data_extract_all.c busybox-1.00-arm/archival/libunarchive/data_extract_all.c
 --- busybox-1.00/archival/libunarchive/data_extract_all.c	2004-10-13 15:25:51.000000000 +0900
 +++ busybox-1.00-arm/archival/libunarchive/data_extract_all.c	2004-11-03 00:07:34.000000000 +0900
 @@ -111,10 +111,16 @@
  		}
  	}
  
 +	/* FEATURE_NO_PRESERVE */
 +	if((archive_handle->flags & ARCHIVE_NO_PRESERVE_OWNER) == 0){
  	lchown(file_header->name, file_header->uid, file_header->gid);
 +	}
 +	if((archive_handle->flags & ARCHIVE_NO_PRESERVE_PERMISSIONS) == 0){
  	if ((file_header->mode & S_IFMT) != S_IFLNK) {
  		chmod(file_header->name, file_header->mode);
  	}
 +	}
 +	/* FEATURE_NO_PRESERVE */
  
  	if (archive_handle->flags & ARCHIVE_PRESERVE_DATE) {
  		struct utimbuf t;
 diff -r -u busybox-1.00/archival/tar.c busybox-1.00-arm/archival/tar.c
 --- busybox-1.00/archival/tar.c	2004-08-27 07:18:56.000000000 +0900
 +++ busybox-1.00-arm/archival/tar.c	2004-11-03 00:51:59.000000000 +0900
 @@ -639,19 +639,36 @@
  # define TAR_OPT_FLAG_GZIP	0
  #endif
  
 +/* FEATURE_NO_PRESERVE */
  #ifdef CONFIG_FEATURE_TAR_COMPRESS
  # define TAR_OPT_UNCOMPRESS	(1 << (8 + TAR_OPT_FLAG_CREATE + TAR_OPT_FLAG_BZIP2 + TAR_OPT_FLAG_FROM + TAR_OPT_FLAG_GZIP))
  # define TAR_OPT_STR_COMPRESS	"Z"
 +# define TAR_OPT_FLAG_COMPRESS	1
  #else
  # define TAR_OPT_STR_COMPRESS	""
 +# define TAR_OPT_FLAG_COMPRESS	0
  #endif
 +/* FEATURE_NO_PRESERVE */
  
 +/* FEATURE_NO_PRESERVE */
 +# define TAR_OPT_NO_PRESERVE_OWNER	(1 << (8 + TAR_OPT_FLAG_CREATE + TAR_OPT_FLAG_BZIP2 + TAR_OPT_FLAG_FROM + TAR_OPT_FLAG_GZIP + TAR_OPT_FLAG_COMPRESS))
 +# define TAR_OPT_FLAG_NO_PRESERVE_OWNER	1
 +# define TAR_OPT_STR_NO_PRESERVE_OWNER	"\203"
 +# define TAR_OPT_NO_PRESERVE_PERMISSIONS	(1 << (8 + TAR_OPT_FLAG_CREATE + TAR_OPT_FLAG_BZIP2 + TAR_OPT_FLAG_FROM + TAR_OPT_FLAG_GZIP + TAR_OPT_FLAG_COMPRESS + TAR_OPT_FLAG_NO_PRESERVE_OWNER))
 +# define TAR_OPT_FLAG_NO_PRESERVE_PERMISSIONS	1
 +# define TAR_OPT_STR_NO_PRESERVE_PERMISSONS	"\213"
 +/* FEATURE_NO_PRESERVE */
 +
 +/* FEATURE_NO_PRESERVE */
  static const char tar_options[]="txC:f:Opvk" \
  	TAR_OPT_STR_CREATE \
  	TAR_OPT_STR_BZIP2 \
  	TAR_OPT_STR_FROM \
  	TAR_OPT_STR_GZIP \
 -	TAR_OPT_STR_COMPRESS;
 +	TAR_OPT_STR_COMPRESS \
 +	TAR_OPT_STR_NO_PRESERVE_OWNER \
 +	TAR_OPT_STR_NO_PRESERVE_PERMISSONS;
 +/* FEATURE_NO_PRESERVE */
  
  #ifdef CONFIG_FEATURE_TAR_LONG_OPTIONS
  static const struct option tar_long_options[] = {
 @@ -680,6 +697,10 @@
  # ifdef CONFIG_FEATURE_TAR_COMPRESS
  	{ "compress",		0,	NULL,	'Z' },
  # endif
 +/* FEATURE_NO_PRESERVE */
 +	{ "no-same-owner",			0,	NULL,	'\203' },
 +	{ "no-same-permissions",	0,	NULL,	'\213' },
 +/* FEATURE_NO_PRESERVE */
  	{ 0,                 0, 0, 0 }
  };
  #endif
 @@ -764,6 +785,15 @@
  		tar_handle->flags &= ~ARCHIVE_EXTRACT_UNCONDITIONAL;
  	}
  
 +/* FEATURE_NO_PRESERVE */
 +	if(opt & TAR_OPT_NO_PRESERVE_OWNER){
 +		tar_handle->flags |= ARCHIVE_NO_PRESERVE_OWNER;
 +	}
 +	if(opt & TAR_OPT_NO_PRESERVE_PERMISSIONS){
 +		tar_handle->flags |= ARCHIVE_NO_PRESERVE_PERMISSIONS;
 +	}
 +/* FEATURE_NO_PRESERVE */
 +
  #ifdef CONFIG_FEATURE_TAR_GZIP
  	if(opt & TAR_OPT_GZIP) {
  		get_header_ptr = get_header_tar_gz;
 Only in busybox-1.00-arm/include: config
 Only in busybox-1.00-arm/include: config.h
 diff -r -u busybox-1.00/include/unarchive.h busybox-1.00-arm/include/unarchive.h
 --- busybox-1.00/include/unarchive.h	2004-03-15 17:28:38.000000000 +0900
 +++ busybox-1.00-arm/include/unarchive.h	2004-10-30 23:55:50.000000000 +0900
 @@ -6,6 +6,10 @@
  #define ARCHIVE_EXTRACT_UNCONDITIONAL	4
  #define ARCHIVE_EXTRACT_QUIET	8
  #define ARCHIVE_EXTRACT_NEWER	16
 +/* FEATURE_NO_PRESERVE */
 +#define ARCHIVE_NO_PRESERVE_OWNER	32
 +#define ARCHIVE_NO_PRESERVE_PERMISSIONS	64
 +/* FEATURE_NO_PRESERVE */
  
  #include <sys/types.h>
  #include <stdio.h>
 Only in busybox-1.00-arm/scripts/config: conf
 Only in busybox-1.00-arm/scripts/config: lex.zconf.c
 Only in busybox-1.00-arm/scripts/config: lkc_defs.h
 Only in busybox-1.00-arm/scripts/config: mconf
 Only in busybox-1.00-arm/scripts/config: zconf.tab.c
 Only in busybox-1.00-arm/scripts/config: zconf.tab.h
 Only in busybox-1.00-arm/scripts: mkdep

* config

** busybox

 #
 # Automatically generated make config: don't edit
 #
 HAVE_DOT_CONFIG=y
 
 #
 # General Configuration
 #
 # CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
 CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
 # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
 CONFIG_FEATURE_VERBOSE_USAGE=y
 # CONFIG_FEATURE_INSTALLER is not set
 CONFIG_LOCALE_SUPPORT=y
 # CONFIG_FEATURE_DEVFS is not set
 CONFIG_FEATURE_DEVPTS=y
 # CONFIG_FEATURE_CLEAN_UP is not set
 CONFIG_FEATURE_SUID=y
 CONFIG_FEATURE_SUID_CONFIG=y
 CONFIG_FEATURE_SUID_CONFIG_QUIET=y
 # CONFIG_SELINUX is not set
 
 #
 # Build Options
 #
 # CONFIG_STATIC is not set
 CONFIG_LFS=y
 USING_CROSS_COMPILER=y
 CROSS_COMPILER_PREFIX="/opt/Embedix/tools/bin/arm-linux-"
 EXTRA_CFLAGS_OPTIONS=""
 
 #
 # Installation Options
 #
 CONFIG_INSTALL_NO_USR=y
 PREFIX="./_install"
 
 #
 # Archival Utilities
 #
 CONFIG_AR=y
 CONFIG_FEATURE_AR_LONG_FILENAMES=y
 CONFIG_BUNZIP2=y
 CONFIG_CPIO=y
 CONFIG_DPKG=y
 CONFIG_DPKG_DEB=y
 CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY=y
 CONFIG_GUNZIP=y
 CONFIG_FEATURE_GUNZIP_UNCOMPRESS=y
 CONFIG_GZIP=y
 CONFIG_RPM2CPIO=y
 CONFIG_RPM=y
 CONFIG_TAR=y
 CONFIG_FEATURE_TAR_CREATE=y
 CONFIG_FEATURE_TAR_BZIP2=y
 CONFIG_FEATURE_TAR_FROM=y
 CONFIG_FEATURE_TAR_GZIP=y
 CONFIG_FEATURE_TAR_COMPRESS=y
 CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
 CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y
 CONFIG_FEATURE_TAR_LONG_OPTIONS=y
 CONFIG_UNCOMPRESS=y
 CONFIG_UNZIP=y
 
 #
 # Common options for cpio and tar
 #
 # CONFIG_FEATURE_UNARCHIVE_TAPE is not set
 
 #
 # Common options for dpkg and dpkg_deb
 #
 CONFIG_FEATURE_DEB_TAR_GZ=y
 CONFIG_FEATURE_DEB_TAR_BZ2=y
 
 #
 # Coreutils
 #
 CONFIG_BASENAME=y
 CONFIG_CAL=y
 CONFIG_CAT=y
 CONFIG_CHGRP=y
 CONFIG_CHMOD=y
 CONFIG_CHOWN=y
 CONFIG_CHROOT=y
 CONFIG_CMP=y
 CONFIG_CP=y
 CONFIG_CUT=y
 CONFIG_DATE=y
 
 #
 # date (forced enabled for use with watch)
 #
 CONFIG_FEATURE_DATE_ISOFMT=y
 CONFIG_DD=y
 CONFIG_DF=y
 CONFIG_DIRNAME=y
 CONFIG_DOS2UNIX=y
 CONFIG_UNIX2DOS=y
 CONFIG_DU=y
 CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K=y
 CONFIG_ECHO=y
 CONFIG_FEATURE_FANCY_ECHO=y
 CONFIG_ENV=y
 CONFIG_EXPR=y
 CONFIG_FALSE=y
 CONFIG_FOLD=y
 CONFIG_HEAD=y
 CONFIG_FEATURE_FANCY_HEAD=y
 CONFIG_HOSTID=y
 CONFIG_ID=y
 CONFIG_INSTALL=y
 CONFIG_LENGTH=y
 CONFIG_LN=y
 CONFIG_LOGNAME=y
 CONFIG_LS=y
 CONFIG_FEATURE_LS_FILETYPES=y
 CONFIG_FEATURE_LS_FOLLOWLINKS=y
 CONFIG_FEATURE_LS_RECURSIVE=y
 CONFIG_FEATURE_LS_SORTFILES=y
 CONFIG_FEATURE_LS_TIMESTAMPS=y
 CONFIG_FEATURE_LS_USERNAME=y
 CONFIG_FEATURE_LS_COLOR=y
 CONFIG_MD5SUM=y
 CONFIG_MKDIR=y
 CONFIG_MKFIFO=y
 CONFIG_MKNOD=y
 CONFIG_MV=y
 CONFIG_OD=y
 CONFIG_PRINTF=y
 CONFIG_PWD=y
 CONFIG_REALPATH=y
 CONFIG_RM=y
 CONFIG_RMDIR=y
 CONFIG_SEQ=y
 CONFIG_SHA1SUM=y
 CONFIG_SLEEP=y
 CONFIG_FEATURE_FANCY_SLEEP=y
 CONFIG_SORT=y
 CONFIG_STTY=y
 CONFIG_SYNC=y
 CONFIG_TAIL=y
 CONFIG_FEATURE_FANCY_TAIL=y
 CONFIG_TEE=y
 CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
 CONFIG_TEST=y
 CONFIG_FEATURE_TEST_64=y
 CONFIG_TOUCH=y
 CONFIG_TR=y
 CONFIG_TRUE=y
 CONFIG_TTY=y
 CONFIG_UNAME=y
 CONFIG_UNIQ=y
 CONFIG_USLEEP=y
 CONFIG_UUDECODE=y
 CONFIG_UUENCODE=y
 CONFIG_WATCH=y
 CONFIG_WC=y
 CONFIG_WHO=y
 CONFIG_WHOAMI=y
 CONFIG_YES=y
 
 #
 # Common options for cp and mv
 #
 CONFIG_FEATURE_PRESERVE_HARDLINKS=y
 
 #
 # Common options for ls and more
 #
 CONFIG_FEATURE_AUTOWIDTH=y
 
 #
 # Common options for df, du, ls
 #
 CONFIG_FEATURE_HUMAN_READABLE=y
 
 #
 # Common options for md5sum, sha1sum
 #
 CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
 
 #
 # Console Utilities
 #
 CONFIG_CHVT=y
 CONFIG_CLEAR=y
 CONFIG_DEALLOCVT=y
 CONFIG_DUMPKMAP=y
 CONFIG_LOADFONT=y
 CONFIG_LOADKMAP=y
 CONFIG_OPENVT=y
 CONFIG_RESET=y
 CONFIG_SETKEYCODES=y
 
 #
 # Debian Utilities
 #
 CONFIG_MKTEMP=y
 CONFIG_PIPE_PROGRESS=y
 CONFIG_READLINK=y
 CONFIG_RUN_PARTS=y
 CONFIG_START_STOP_DAEMON=y
 CONFIG_WHICH=y
 
 #
 # Editors
 #
 CONFIG_AWK=y
 CONFIG_FEATURE_AWK_MATH=y
 CONFIG_PATCH=y
 CONFIG_SED=y
 # CONFIG_VI is not set
 
 #
 # Finding Utilities
 #
 CONFIG_FIND=y
 CONFIG_FEATURE_FIND_MTIME=y
 CONFIG_FEATURE_FIND_PERM=y
 CONFIG_FEATURE_FIND_TYPE=y
 CONFIG_FEATURE_FIND_XDEV=y
 CONFIG_FEATURE_FIND_NEWER=y
 CONFIG_FEATURE_FIND_INUM=y
 CONFIG_GREP=y
 CONFIG_FEATURE_GREP_EGREP_ALIAS=y
 CONFIG_FEATURE_GREP_FGREP_ALIAS=y
 CONFIG_FEATURE_GREP_CONTEXT=y
 CONFIG_XARGS=y
 CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION=y
 CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y
 CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y
 CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
 
 #
 # Init Utilities
 #
 # CONFIG_INIT is not set
 # CONFIG_HALT is not set
 # CONFIG_POWEROFF is not set
 # CONFIG_REBOOT is not set
 # CONFIG_MESG is not set
 
 #
 # Login/Password Management Utilities
 #
 # CONFIG_USE_BB_PWD_GRP is not set
 # CONFIG_ADDGROUP is not set
 # CONFIG_DELGROUP is not set
 # CONFIG_ADDUSER is not set
 # CONFIG_DELUSER is not set
 # CONFIG_GETTY is not set
 CONFIG_FEATURE_U_W_TMP=y
 # CONFIG_LOGIN is not set
 # CONFIG_PASSWD is not set
 # CONFIG_SU is not set
 # CONFIG_SULOGIN is not set
 # CONFIG_VLOCK is not set
 
 #
 # Miscellaneous Utilities
 #
 # CONFIG_ADJTIMEX is not set
 CONFIG_CROND=y
 # CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
 # CONFIG_CRONTAB is not set
 CONFIG_DC=y
 # CONFIG_DEVFSD is not set
 CONFIG_LAST=y
 # CONFIG_HDPARM is not set
 CONFIG_MAKEDEVS=y
 CONFIG_MT=y
 CONFIG_RX=y
 CONFIG_STRINGS=y
 CONFIG_TIME=y
 CONFIG_WATCHDOG=y
 
 #
 # Linux Module Utilities
 #
 # CONFIG_INSMOD is not set
 # CONFIG_LSMOD is not set
 # CONFIG_MODPROBE is not set
 # CONFIG_RMMOD is not set
 
 #
 # Networking Utilities
 #
 CONFIG_FEATURE_IPV6=y
 CONFIG_ARPING=y
 CONFIG_FTPGET=y
 CONFIG_FTPPUT=y
 CONFIG_HOSTNAME=y
 # CONFIG_HTTPD is not set
 CONFIG_IFCONFIG=y
 CONFIG_FEATURE_IFCONFIG_STATUS=y
 CONFIG_FEATURE_IFCONFIG_SLIP=y
 CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y
 CONFIG_FEATURE_IFCONFIG_HW=y
 CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
 # CONFIG_IFUPDOWN is not set
 # CONFIG_INETD is not set
 CONFIG_IP=y
 CONFIG_FEATURE_IP_ADDRESS=y
 
 #
 #   address (forced enabled for ipaddr)
 #
 CONFIG_FEATURE_IP_LINK=y
 
 #
 #   link (forced enabled for iplink)
 #
 CONFIG_FEATURE_IP_ROUTE=y
 
 #
 #   route (forced enabled for iproute)
 #
 CONFIG_FEATURE_IP_TUNNEL=y
 
 #
 #   tunnel (forced enabled for iptunnel)
 #
 CONFIG_IPCALC=y
 CONFIG_FEATURE_IPCALC_FANCY=y
 CONFIG_IPADDR=y
 CONFIG_IPLINK=y
 CONFIG_IPROUTE=y
 CONFIG_IPTUNNEL=y
 CONFIG_NAMEIF=y
 CONFIG_NC=y
 CONFIG_NETSTAT=y
 CONFIG_NSLOOKUP=y
 # CONFIG_PING is not set
 # CONFIG_PING6 is not set
 CONFIG_ROUTE=y
 CONFIG_TELNET=y
 CONFIG_FEATURE_TELNET_TTYPE=y
 CONFIG_FEATURE_TELNET_AUTOLOGIN=y
 # CONFIG_TELNETD is not set
 CONFIG_TFTP=y
 CONFIG_FEATURE_TFTP_GET=y
 CONFIG_FEATURE_TFTP_PUT=y
 CONFIG_FEATURE_TFTP_BLOCKSIZE=y
 CONFIG_FEATURE_TFTP_DEBUG=y
 # CONFIG_TRACEROUTE is not set
 # CONFIG_VCONFIG is not set
 CONFIG_WGET=y
 CONFIG_FEATURE_WGET_STATUSBAR=y
 CONFIG_FEATURE_WGET_AUTHENTICATION=y
 CONFIG_FEATURE_WGET_IP6_LITERAL=y
 
 #
 # udhcp Server/Client
 #
 # CONFIG_UDHCPD is not set
 # CONFIG_UDHCPC is not set
 
 #
 # Process Utilities
 #
 CONFIG_FREE=y
 CONFIG_KILL=y
 CONFIG_KILLALL=y
 CONFIG_PIDOF=y
 CONFIG_PS=y
 CONFIG_RENICE=y
 CONFIG_TOP=y
 FEATURE_CPU_USAGE_PERCENTAGE=y
 CONFIG_UPTIME=y
 CONFIG_SYSCTL=y
 
 #
 # Another Bourne-like Shell
 #
 # CONFIG_FEATURE_SH_IS_ASH is not set
 # CONFIG_FEATURE_SH_IS_HUSH is not set
 # CONFIG_FEATURE_SH_IS_LASH is not set
 # CONFIG_FEATURE_SH_IS_MSH is not set
 CONFIG_FEATURE_SH_IS_NONE=y
 # CONFIG_ASH is not set
 # CONFIG_HUSH is not set
 # CONFIG_LASH is not set
 # CONFIG_MSH is not set
 
 #
 # System Logging Utilities
 #
 # CONFIG_SYSLOGD is not set
 CONFIG_LOGGER=y
 
 #
 # Linux System Utilities
 #
 CONFIG_DMESG=y
 CONFIG_FBSET=y
 CONFIG_FEATURE_FBSET_FANCY=y
 CONFIG_FEATURE_FBSET_READMODE=y
 CONFIG_FDFLUSH=y
 # CONFIG_FDFORMAT is not set
 CONFIG_FDISK=y
 FDISK_SUPPORT_LARGE_DISKS=y
 CONFIG_FEATURE_FDISK_WRITABLE=y
 # CONFIG_FEATURE_AIX_LABEL is not set
 # CONFIG_FEATURE_SGI_LABEL is not set
 # CONFIG_FEATURE_SUN_LABEL is not set
 # CONFIG_FEATURE_OSF_LABEL is not set
 CONFIG_FEATURE_FDISK_ADVANCED=y
 CONFIG_FREERAMDISK=y
 CONFIG_FSCK_MINIX=y
 CONFIG_MKFS_MINIX=y
 
 #
 # Minix filesystem support
 #
 CONFIG_FEATURE_MINIX2=y
 CONFIG_GETOPT=y
 CONFIG_HEXDUMP=y
 CONFIG_HWCLOCK=y
 # CONFIG_FEATURE_HWCLOCK_LONGOPTIONS is not set
 CONFIG_LOSETUP=y
 CONFIG_MKSWAP=y
 # CONFIG_MKSWAP is not set
 CONFIG_MORE=y
 CONFIG_FEATURE_USE_TERMIOS=y
 CONFIG_PIVOT_ROOT=y
 CONFIG_RDATE=y
 CONFIG_SWAPONOFF=y
 # CONFIG_SWAPONOFF is not set
 # CONFIG_MOUNT is not set
 # CONFIG_UMOUNT is not set
 
 #
 # Debugging Options
 #
 # CONFIG_DEBUG is not set
** sbusybox

 #
 # Automatically generated make config: don't edit
 #
 HAVE_DOT_CONFIG=y
 
 #
 # General Configuration
 #
 # CONFIG_FEATURE_BUFFERS_USE_MALLOC is not set
 CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y
 # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set
 CONFIG_FEATURE_VERBOSE_USAGE=y
 # CONFIG_FEATURE_INSTALLER is not set
 CONFIG_LOCALE_SUPPORT=y
 # CONFIG_FEATURE_DEVFS is not set
 CONFIG_FEATURE_DEVPTS=y
 # CONFIG_FEATURE_CLEAN_UP is not set
 CONFIG_FEATURE_SUID=y
 CONFIG_FEATURE_SUID_CONFIG=y
 CONFIG_FEATURE_SUID_CONFIG_QUIET=y
 # CONFIG_SELINUX is not set
 
 #
 # Build Options
 #
 # CONFIG_STATIC is not set
 CONFIG_LFS=y
 USING_CROSS_COMPILER=y
 CROSS_COMPILER_PREFIX="/opt/Embedix/tools/bin/arm-linux-"
 EXTRA_CFLAGS_OPTIONS=""
 
 #
 # Installation Options
 #
 CONFIG_INSTALL_NO_USR=y
 PREFIX="./_install"
 
 #
 # Archival Utilities
 #
 # CONFIG_AR is not set
 # CONFIG_BUNZIP2 is not set
 # CONFIG_CPIO is not set
 # CONFIG_DPKG is not set
 # CONFIG_DPKG_DEB is not set
 # CONFIG_GUNZIP is not set
 # CONFIG_GZIP is not set
 # CONFIG_RPM2CPIO is not set
 # CONFIG_RPM is not set
 # CONFIG_TAR is not set
 # CONFIG_UNCOMPRESS is not set
 # CONFIG_UNZIP is not set
 
 #
 # Coreutils
 #
 # CONFIG_BASENAME is not set
 # CONFIG_CAL is not set
 # CONFIG_CAT is not set
 # CONFIG_CHGRP is not set
 # CONFIG_CHMOD is not set
 # CONFIG_CHOWN is not set
 # CONFIG_CHROOT is not set
 # CONFIG_CMP is not set
 # CONFIG_CP is not set
 # CONFIG_CUT is not set
 # CONFIG_DATE is not set
 # CONFIG_DD is not set
 # CONFIG_DF is not set
 # CONFIG_DIRNAME is not set
 # CONFIG_DOS2UNIX is not set
 # CONFIG_DU is not set
 # CONFIG_ECHO is not set
 # CONFIG_ENV is not set
 # CONFIG_EXPR is not set
 # CONFIG_FALSE is not set
 # CONFIG_FOLD is not set
 # CONFIG_HEAD is not set
 # CONFIG_HOSTID is not set
 # CONFIG_ID is not set
 # CONFIG_INSTALL is not set
 # CONFIG_LENGTH is not set
 # CONFIG_LN is not set
 # CONFIG_LOGNAME is not set
 # CONFIG_LS is not set
 # CONFIG_MD5SUM is not set
 # CONFIG_MKDIR is not set
 # CONFIG_MKFIFO is not set
 # CONFIG_MKNOD is not set
 # CONFIG_MV is not set
 # CONFIG_OD is not set
 # CONFIG_PRINTF is not set
 # CONFIG_PWD is not set
 # CONFIG_REALPATH is not set
 # CONFIG_RM is not set
 # CONFIG_RMDIR is not set
 # CONFIG_SEQ is not set
 # CONFIG_SHA1SUM is not set
 # CONFIG_SLEEP is not set
 # CONFIG_SORT is not set
 # CONFIG_STTY is not set
 # CONFIG_SYNC is not set
 # CONFIG_TAIL is not set
 # CONFIG_TEE is not set
 # CONFIG_TEST is not set
 # CONFIG_TOUCH is not set
 # CONFIG_TR is not set
 # CONFIG_TRUE is not set
 # CONFIG_TTY is not set
 # CONFIG_UNAME is not set
 # CONFIG_UNIQ is not set
 # CONFIG_USLEEP is not set
 # CONFIG_UUDECODE is not set
 # CONFIG_UUENCODE is not set
 # CONFIG_WATCH is not set
 # CONFIG_WC is not set
 # CONFIG_WHO is not set
 # CONFIG_WHOAMI is not set
 # CONFIG_YES is not set
 
 #
 # Console Utilities
 #
 # CONFIG_CHVT is not set
 # CONFIG_CLEAR is not set
 # CONFIG_DEALLOCVT is not set
 # CONFIG_DUMPKMAP is not set
 # CONFIG_LOADFONT is not set
 # CONFIG_LOADKMAP is not set
 # CONFIG_OPENVT is not set
 # CONFIG_RESET is not set
 # CONFIG_SETKEYCODES is not set
 
 #
 # Debian Utilities
 #
 # CONFIG_MKTEMP is not set
 # CONFIG_PIPE_PROGRESS is not set
 # CONFIG_READLINK is not set
 # CONFIG_RUN_PARTS is not set
 # CONFIG_START_STOP_DAEMON is not set
 # CONFIG_WHICH is not set
 
 #
 # Editors
 #
 # CONFIG_AWK is not set
 # CONFIG_PATCH is not set
 # CONFIG_SED is not set
 # CONFIG_VI is not set
 
 #
 # Finding Utilities
 #
 # CONFIG_FIND is not set
 # CONFIG_GREP is not set
 # CONFIG_XARGS is not set
 
 #
 # Init Utilities
 #
 # CONFIG_INIT is not set
 # CONFIG_HALT is not set
 # CONFIG_POWEROFF is not set
 # CONFIG_REBOOT is not set
 # CONFIG_MESG is not set
 
 #
 # Login/Password Management Utilities
 #
 # CONFIG_USE_BB_PWD_GRP is not set
 # CONFIG_ADDGROUP is not set
 # CONFIG_DELGROUP is not set
 # CONFIG_ADDUSER is not set
 # CONFIG_DELUSER is not set
 # CONFIG_GETTY is not set
 # CONFIG_LOGIN is not set
 # CONFIG_PASSWD is not set
 # CONFIG_SU is not set
 # CONFIG_SULOGIN is not set
 # CONFIG_VLOCK is not set
 
 #
 # Miscellaneous Utilities
 #
 # CONFIG_ADJTIMEX is not set
 # CONFIG_CROND is not set
 CONFIG_CRONTAB=y
 # CONFIG_DC is not set
 # CONFIG_DEVFSD is not set
 # CONFIG_LAST is not set
 # CONFIG_HDPARM is not set
 # CONFIG_MAKEDEVS is not set
 # CONFIG_MT is not set
 # CONFIG_RX is not set
 # CONFIG_STRINGS is not set
 # CONFIG_TIME is not set
 # CONFIG_WATCHDOG is not set
 
 #
 # Linux Module Utilities
 #
 # CONFIG_INSMOD is not set
 # CONFIG_LSMOD is not set
 # CONFIG_MODPROBE is not set
 # CONFIG_RMMOD is not set
 
 #
 # Networking Utilities
 #
 CONFIG_FEATURE_IPV6=y
 # CONFIG_ARPING is not set
 # CONFIG_FTPGET is not set
 # CONFIG_FTPPUT is not set
 # CONFIG_HOSTNAME is not set
 # CONFIG_HTTPD is not set
 # CONFIG_IFCONFIG is not set
 # CONFIG_IFUPDOWN is not set
 # CONFIG_INETD is not set
 # CONFIG_IP is not set
 # CONFIG_IPCALC is not set
 # CONFIG_IPADDR is not set
 # CONFIG_IPLINK is not set
 # CONFIG_IPROUTE is not set
 # CONFIG_IPTUNNEL is not set
 # CONFIG_NAMEIF is not set
 # CONFIG_NC is not set
 # CONFIG_NETSTAT is not set
 # CONFIG_NSLOOKUP is not set
 CONFIG_PING=y
 CONFIG_FEATURE_FANCY_PING=y
 CONFIG_PING6=y
 CONFIG_FEATURE_FANCY_PING6=y
 # CONFIG_ROUTE is not set
 # CONFIG_TELNET is not set
 # CONFIG_TELNETD is not set
 # CONFIG_TFTP is not set
 CONFIG_TRACEROUTE=y
 CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
 # CONFIG_VCONFIG is not set
 # CONFIG_WGET is not set
 
 #
 # udhcp Server/Client
 #
 # CONFIG_UDHCPD is not set
 # CONFIG_UDHCPC is not set
 
 #
 # Process Utilities
 #
 # CONFIG_FREE is not set
 # CONFIG_KILL is not set
 # CONFIG_PIDOF is not set
 # CONFIG_PS is not set
 # CONFIG_RENICE is not set
 # CONFIG_TOP is not set
 # CONFIG_UPTIME is not set
 # CONFIG_SYSCTL is not set
 
 #
 # Another Bourne-like Shell
 #
 # CONFIG_FEATURE_SH_IS_ASH is not set
 # CONFIG_FEATURE_SH_IS_HUSH is not set
 # CONFIG_FEATURE_SH_IS_LASH is not set
 # CONFIG_FEATURE_SH_IS_MSH is not set
 CONFIG_FEATURE_SH_IS_NONE=y
 # CONFIG_ASH is not set
 # CONFIG_HUSH is not set
 # CONFIG_LASH is not set
 # CONFIG_MSH is not set
 
 #
 # System Logging Utilities
 #
 # CONFIG_SYSLOGD is not set
 # CONFIG_LOGGER is not set
 
 #
 # Linux System Utilities
 #
 # CONFIG_DMESG is not set
 # CONFIG_FBSET is not set
 # CONFIG_FDFLUSH is not set
 # CONFIG_FDFORMAT is not set
 # CONFIG_FDISK is not set
 FDISK_SUPPORT_LARGE_DISKS=y
 # CONFIG_FREERAMDISK is not set
 # CONFIG_FSCK_MINIX is not set
 # CONFIG_MKFS_MINIX is not set
 # CONFIG_GETOPT is not set
 # CONFIG_HEXDUMP is not set
 # CONFIG_HWCLOCK is not set
 # CONFIG_LOSETUP is not set
 # CONFIG_MKSWAP is not set
 # CONFIG_MORE is not set
 # CONFIG_PIVOT_ROOT is not set
 # CONFIG_RDATE is not set
 # CONFIG_SWAPONOFF is not set
 CONFIG_MOUNT=y
 CONFIG_NFSMOUNT=y
 CONFIG_UMOUNT=y
 CONFIG_FEATURE_MOUNT_FORCE=y
 
 #
 # Common options for mount/umount
 #
 CONFIG_FEATURE_MOUNT_LOOP=y
 CONFIG_FEATURE_MTAB_SUPPORT=y
 CONFIG_FEATURE_MTAB_FILENAME="/etc/mtab"
 
 #
 # Debugging Options
 #
 # CONFIG_DEBUG is not set
* スクリプト等

** crond 起動/停止スクリプト

crondの起動/停止スクリプトの例

下記の様なファイルを''/etc/rc.d/init.d/cron''として作成。

 #!/bin/bash
 
 #
 # /etc/rc.d/init.d/cron - Start/Stop the crond daemon(s).
 #
 
 # Comment out the following exit line to enable this script.
 # exit 0
 
 # Source function library.
 . /etc/rc.d/init.d/functions
 
 unset SILENT
 export TZ=JST-9
 DAEMON="/opt/QtPalmtop/bin/crond"
 
 case "$1" in
 
     start)
     msg -n "Starting crond:"
     daemon --survive=5 $DAEMON
     if [ "$?" = "0" ]; then
         touch /var/lock/subsys/cron
     fi
     msg
     ;;
 
     stop)
     msg -n "Stopping crond:"
     killproc $DAEMON
     msg
     rm -f /var/lock/subsys/cron
     ;;
 
     restart)
     $0 stop
     sleep 1
     $0 start
     ;;
 
     *)
     echo "Usage: $0 (start|stop|restart)"
     exit 1
     ;;
 
 esac
 
 exit 0

起動時に自動的にcrondを起動する場合には
/etc/rc.d/rc[0-6].d以下にこのファイルへのシンボリックリンクを作成。

 ln -s ../init.d/cron /etc/rc.d/rc0.d/K55cron
 ln -s ../init.d/cron /etc/rc.d/rc1.d/K55cron
 ln -s ../init.d/cron /etc/rc.d/rc3.d/S45cron
 ln -s ../init.d/cron /etc/rc.d/rc4.d/S45cron
 ln -s ../init.d/cron /etc/rc.d/rc5.d/S45cron
 ln -s ../init.d/cron /etc/rc.d/rc6.d/K55cron


03791