#!/bin/sh -e # part of the gn*nix conspiracy http://gnnix.org # Copyright (C) Linus Sphinx 2004 # gnx functions make the distro system #------------------------------------------- gnxbbox() { gnxunwrap ${1} gnxfilelist start ${1} echo ' # # 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 is not set # CONFIG_FEATURE_INSTALLER is not set # CONFIG_LOCALE_SUPPORT is not set # CONFIG_FEATURE_DEVFS is not set # CONFIG_FEATURE_DEVPTS is not set # CONFIG_FEATURE_CLEAN_UP is not set # CONFIG_FEATURE_SUID is not set # CONFIG_SELINUX is not set # # Build Options # CONFIG_STATIC=y # CONFIG_LFS is not set # USING_CROSS_COMPILER is not set 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=y # 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=y # CONFIG_FEATURE_FANCY_ECHO is not set # CONFIG_ENV is not set # CONFIG_EXPR is not set CONFIG_FALSE=y # # false (forced enabled for use with shell) # # 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=y # CONFIG_LOGNAME is not set CONFIG_LS=y # CONFIG_FEATURE_LS_FILETYPES is not set # CONFIG_FEATURE_LS_FOLLOWLINKS is not set # CONFIG_FEATURE_LS_RECURSIVE is not set # CONFIG_FEATURE_LS_SORTFILES is not set # CONFIG_FEATURE_LS_TIMESTAMPS is not set # CONFIG_FEATURE_LS_USERNAME is not set # CONFIG_FEATURE_LS_COLOR is not set # CONFIG_MD5SUM is not set CONFIG_MKDIR=y # CONFIG_MKFIFO is not set CONFIG_MKNOD=y # 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=y # # test (forced enabled for use with shell) # # CONFIG_TOUCH is not set # CONFIG_TR is not set CONFIG_TRUE=y # # true (forced enabled for use with shell) # # 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 # # Common options for ls and more # CONFIG_FEATURE_AUTOWIDTH=y # # Common options for df, du, ls # # CONFIG_FEATURE_HUMAN_READABLE 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=y # CONFIG_FEATURE_USE_INITTAB is not set CONFIG_FEATURE_INITRD=y # CONFIG_FEATURE_INIT_COREDUMPS is not set CONFIG_FEATURE_EXTRA_QUIET=y # 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 is not set # 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=y # CONFIG_FEATURE_2_2_MODULES is not set # CONFIG_FEATURE_2_4_MODULES is not set CONFIG_FEATURE_2_6_MODULES=y # CONFIG_LSMOD is not set # CONFIG_MODPROBE is not set # CONFIG_RMMOD is not set CONFIG_FEATURE_CHECK_TAINTED_MODULE=y # # Networking Utilities # # CONFIG_FEATURE_IPV6 is not set # 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 is not set # CONFIG_ROUTE is not set # CONFIG_TELNET is not set # CONFIG_TELNETD is not set # CONFIG_TFTP is not set # CONFIG_TRACEROUTE is not set # 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=y # CONFIG_FEATURE_SH_IS_MSH is not set # CONFIG_FEATURE_SH_IS_NONE is not set # CONFIG_ASH is not set # CONFIG_HUSH is not set CONFIG_LASH=y # CONFIG_MSH is not set # # Bourne Shell Options # CONFIG_FEATURE_SH_EXTRA_QUIET=y # CONFIG_FEATURE_SH_STANDALONE_SHELL is not set # CONFIG_FEATURE_COMMAND_EDITING 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 # 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=y # CONFIG_RDATE is not set # CONFIG_SWAPONOFF is not set CONFIG_MOUNT=y # CONFIG_NFSMOUNT is not set CONFIG_UMOUNT=y CONFIG_FEATURE_MOUNT_FORCE=y # # Common options for mount/umount # # CONFIG_FEATURE_MOUNT_LOOP is not set # CONFIG_FEATURE_MTAB_SUPPORT is not set # # Debugging Options # # CONFIG_DEBUG is not set ' > .config gnxmake dep gnxmake install mkdir -p /usr/sbin/initrd/ cp _install/bin/busybox /usr/sbin/initrd/ # links to busybox for all the commands enabled above to be created by gnxinitrd echo 'bin/[ bin/echo bin/false bin/lash bin/ln bin/ls bin/mkdir bin/mount bin/sh bin/test bin/true bin/umount bin/mknod bin/chroot sbin/init sbin/insmod sbin/pivot_root' > /usr/sbin/initrd/busybox.links gnxfilelist finish ${1} } #eof