From f022be61374d9129e3469d4cf9f959012b1cfa03 Mon Sep 17 00:00:00 2001 From: Benjamin Schieder <blindcoder@scavenger.homeip.net> Date: Thu, 15 Dec 2005 10:43:22 +0000 Subject: [PATCH] Benjamin Schieder: updated lvp target (0.5.1) [2005111811194522407] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6718 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- target/lvp/ChangeLog | 11 + target/lvp/build.sh | 46 +- target/lvp/kernel24.conf | 590 ------------------ target/lvp/patches/linux24_quiet.patch | 30 - target/lvp/pkg_freetype.conf | 21 + target/lvp/pkg_linux24-src.conf | 3 - target/lvp/pkg_linux24.conf | 3 - target/lvp/pkg_mplayer.conf | 21 + target/lvp/pkg_sysfiles.conf | 21 + target/lvp/pkg_xfree86.conf | 21 + target/lvp/pkg_xorg.conf | 21 + target/lvp/x86/build.sh | 23 + target/lvp/x86/help0.txt | 2 +- target/lvp/x86/initrd/hardware | 44 ++ target/lvp/x86/initrd/kernel | 21 + target/lvp/x86/initrd/keymap | 21 + target/lvp/x86/initrd/linuxrc | 45 +- target/lvp/x86/initrd/linuxrc2 | 21 + target/lvp/x86/initrd/login-shell | 21 + target/lvp/x86/isolinux.cfg | 6 +- target/lvp/x86/livesystem/XF86Config | 73 --- .../x86/livesystem/etc_lvp_10-encryption.sh | 21 + .../x86/livesystem/etc_lvp_80-xf86config.sh | 51 -- .../x86/livesystem/etc_lvp_80-xorgconfig.sh | 34 + target/lvp/x86/livesystem/etc_profile | 22 + target/lvp/x86/livesystem/linuxrc | 21 + target/lvp/x86/livesystem/startlvp | 21 + target/lvp/x86/livesystem/xinitrc | 23 + target/lvp/x86/release_skeleton/COPYING | 339 ++++++++++ target/lvp/x86/release_skeleton/README | 3 +- target/lvp/x86/release_skeleton/config.sh | 53 ++ .../lvp/x86/release_skeleton/scripts/cleanup | 21 + .../release_skeleton/scripts/configuration | 27 + .../x86/release_skeleton/scripts/create_iso | 21 + .../x86/release_skeleton/scripts/create_lvp | 21 + .../release_skeleton/scripts/create_lvpxml | 26 +- .../x86/release_skeleton/scripts/encrypted | 21 + .../x86/release_skeleton/scripts/functions | 38 +- target/lvp/x86/release_skeleton/scripts/plain | 21 + 39 files changed, 1061 insertions(+), 788 deletions(-) delete mode 100644 target/lvp/kernel24.conf delete mode 100644 target/lvp/patches/linux24_quiet.patch delete mode 100644 target/lvp/pkg_linux24-src.conf delete mode 100644 target/lvp/pkg_linux24.conf delete mode 100644 target/lvp/x86/livesystem/XF86Config delete mode 100644 target/lvp/x86/livesystem/etc_lvp_80-xf86config.sh create mode 100644 target/lvp/x86/livesystem/etc_lvp_80-xorgconfig.sh create mode 100644 target/lvp/x86/release_skeleton/COPYING diff --git a/target/lvp/ChangeLog b/target/lvp/ChangeLog index 1e8205c58..9d305b540 100644 --- a/target/lvp/ChangeLog +++ b/target/lvp/ChangeLog @@ -1,4 +1,15 @@ +Tue Nov 15 20:17:48 CET 2005 Benjamin Schieder <blindcoder@scavenger.homeip.net> + + * removed unnecessary programs from the live system + * added Copyright headers to source files + * removed support for linux 2.4.x kernels + * fixed hardware detection and /dev population (DIE, UDEV, DIE!) + * added GPL notes to binary distribution + * changed startup message to be more accurate + * made question about multi language buttons for .ogm and .mkv optional + * V0.5.1: released, dubbed "100% XCP free!" + Sat Oct 8 17:13:24 CEST 2005 Benjamin Schieder <blindcoder@scavenger.homeip.net> * usual ROCK update diff --git a/target/lvp/build.sh b/target/lvp/build.sh index fa6b7a442..f7b9ff6a7 100644 --- a/target/lvp/build.sh +++ b/target/lvp/build.sh @@ -1,5 +1,28 @@ - -lvp_ver="0.5.0" +#!/bin/bash + +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/build.sh +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +lvp_ver="0.5.1" rootdir="${base}/build/${ROCKCFG_ID}" ROCKdir="${rootdir}/ROCK" releasedir="${ROCKdir}/lvp_${lvp_ver}_${ROCKCFG_X86_OPT}" @@ -54,6 +77,7 @@ else bin/ln \ bin/ls \ bin/mount \ + bin/sed \ bin/umount \ bin/rm \ bin/find \ @@ -110,17 +134,10 @@ else for x in \ bin/bash2 \ bin/bash \ - bin/cat \ - bin/find \ - bin/grep \ - bin/gzip \ bin/ln \ bin/mount \ - bin/mv \ bin/rm \ - bin/sed \ bin/sh \ - bin/uname \ bin/umount \ etc/mplayer/mplayer.conf \ usr/share/mplayer/font-arial-24-iso-8859-1 \ @@ -134,13 +151,10 @@ else usr/bin/lvp \ usr/bin/mplayer \ usr/bin/md5sum \ - usr/bin/tail \ - usr/sbin/lspci \ sbin/blockdev \ sbin/dmsetup \ sbin/losetup \ - sbin/mdadm \ - sbin/udevstart + sbin/mdadm do mkdir -p ${x%/*} @@ -182,13 +196,17 @@ else ${rootdir}/usr/bin/upx --best --crp-ms=999999 --nrv2d `find ${releasedir}/livesystem -type f | xargs file | grep "statically linked" | grep -v bin/bash | grep -v bin/mount | cut -f1 -d:` `find ${releasedir}/initrd -type f | xargs file | grep "statically linked" | grep -v bin/bash | grep -v bin/mount | cut -f1 -d:` >/proc/${$}/fd/1 2>/proc/${$}/fd/2 </proc/${$}/fd/0 echo_status "Creating initrd.img" - dd if=/dev/zero of=${releasedir}/isolinux/initrd bs=1k count=8192 >/dev/null 2>&1 + dd if=/dev/zero of=${releasedir}/isolinux/initrd bs=1k count=16384 >/dev/null 2>&1 mkfs.ext2 -m 0 -F ${releasedir}/isolinux/initrd >/dev/null 2>&1 mkdir ${releasedir}/initrd.tmp.${$} mount -o loop ${releasedir}/isolinux/initrd ${releasedir}/initrd.tmp.${$} mv ${releasedir}/initrd/* ${releasedir}/initrd.tmp.${$} umount ${releasedir}/initrd.tmp.${$} + echo_status "Compressing initrd ..." + gzip -9 ${releasedir}/isolinux/initrd + mv ${releasedir}/isolinux/initrd.gz ${releasedir}/isolinux/initrd + echo_status "Cleaning up ..." rm -rf ${releasedir}/initrd.tmp.${$} ${releasedir}/initrd diff --git a/target/lvp/kernel24.conf b/target/lvp/kernel24.conf deleted file mode 100644 index 921a3785f..000000000 --- a/target/lvp/kernel24.conf +++ /dev/null @@ -1,590 +0,0 @@ -# -# Automatically generated by make menuconfig: don't edit -# -CONFIG_X86=y -# CONFIG_SBUS is not set -CONFIG_UID16=y - -# -# Code maturity level options -# -CONFIG_EXPERIMENTAL=y - -# -# Loadable module support -# -CONFIG_MODULES=y -CONFIG_MODVERSIONS=y -CONFIG_KMOD=y - -# -# General setup -# -CONFIG_NET=y -CONFIG_PCI=y -# CONFIG_PCI_GOBIOS is not set -# CONFIG_PCI_GODIRECT is not set -CONFIG_PCI_GOANY=y -CONFIG_PCI_BIOS=y -CONFIG_PCI_DIRECT=y -CONFIG_ISA=y -CONFIG_PCI_NAMES=y -# CONFIG_EISA is not set -# CONFIG_MCA is not set -# CONFIG_HOTPLUG is not set -# CONFIG_PCMCIA is not set -# CONFIG_HOTPLUG_PCI is not set -CONFIG_SYSVIPC=y -# CONFIG_BSD_PROCESS_ACCT is not set -CONFIG_SYSCTL=y -CONFIG_KCORE_ELF=y -# CONFIG_KCORE_AOUT is not set -# CONFIG_BINFMT_AOUT is not set -CONFIG_BINFMT_ELF=y -# CONFIG_BINFMT_MISC is not set -# CONFIG_OOM_KILLER is not set -CONFIG_PM=y -# CONFIG_APM is not set - -# -# ACPI Support -# -CONFIG_ACPI=y -CONFIG_ACPI_BOOT=y -CONFIG_ACPI_BUS=y -CONFIG_ACPI_INTERPRETER=y -CONFIG_ACPI_EC=y -CONFIG_ACPI_POWER=y -CONFIG_ACPI_PCI=y -CONFIG_ACPI_SLEEP=y -CONFIG_ACPI_SYSTEM=y -CONFIG_ACPI_AC=m -CONFIG_ACPI_BATTERY=m -CONFIG_ACPI_BUTTON=m -CONFIG_ACPI_FAN=m -CONFIG_ACPI_PROCESSOR=m -CONFIG_ACPI_THERMAL=m -CONFIG_ACPI_ASUS=m -CONFIG_ACPI_TOSHIBA=m -# CONFIG_ACPI_DEBUG is not set -# CONFIG_ACPI_RELAXED_AML is not set - -# -# Memory Technology Devices (MTD) -# -# CONFIG_MTD is not set - -# -# Parallel port support -# -# CONFIG_PARPORT is not set - -# -# Plug and Play configuration -# -CONFIG_PNP=y -# CONFIG_ISAPNP is not set - -# -# Block devices -# -CONFIG_BLK_DEV_FD=y -# CONFIG_BLK_DEV_XD is not set -# CONFIG_PARIDE is not set -# CONFIG_BLK_CPQ_DA is not set -# CONFIG_BLK_CPQ_CISS_DA is not set -# CONFIG_CISS_SCSI_TAPE is not set -# CONFIG_CISS_MONITOR_THREAD is not set -# CONFIG_BLK_DEV_DAC960 is not set -# CONFIG_BLK_DEV_UMEM is not set -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_LOOP_AES=y -# CONFIG_BLK_DEV_NBD is not set -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=8192 -CONFIG_BLK_DEV_INITRD=y -# CONFIG_BLK_STATS is not set - -# -# Multi-device support (RAID and LVM) -# -CONFIG_MD=y -CONFIG_BLK_DEV_MD=y -CONFIG_MD_LINEAR=y -# CONFIG_MD_RAID0 is not set -# CONFIG_MD_RAID1 is not set -# CONFIG_MD_RAID5 is not set -# CONFIG_MD_MULTIPATH is not set -# CONFIG_BLK_DEV_LVM is not set - -# -# Networking options -# -CONFIG_PACKET=y -# CONFIG_PACKET_MMAP is not set -# CONFIG_NETLINK_DEV is not set -# CONFIG_NETFILTER is not set -# CONFIG_FILTER is not set -CONFIG_UNIX=y -# CONFIG_INET is not set -# CONFIG_ATM is not set -# CONFIG_VLAN_8021Q is not set -# CONFIG_IPX is not set -# CONFIG_ATALK is not set - -# -# Appletalk devices -# -# CONFIG_DEV_APPLETALK is not set -# CONFIG_DECNET is not set -# CONFIG_BRIDGE is not set -# CONFIG_X25 is not set -# CONFIG_LAPB is not set -# CONFIG_LLC is not set -# CONFIG_NET_DIVERT is not set -# CONFIG_WAN_ROUTER is not set -# CONFIG_NET_FASTROUTE is not set -# CONFIG_NET_HW_FLOWCONTROL is not set - -# -# QoS and/or fair queueing -# -# CONFIG_NET_SCHED is not set - -# -# Network testing -# -# CONFIG_NET_PKTGEN is not set - -# -# Telephony Support -# -# CONFIG_PHONE is not set -# CONFIG_PHONE_IXJ is not set -# CONFIG_PHONE_IXJ_PCMCIA is not set - -# -# ATA/IDE/MFM/RLL support -# -CONFIG_IDE=y - -# -# IDE, ATA and ATAPI Block devices -# -CONFIG_BLK_DEV_IDE=y -# CONFIG_BLK_DEV_HD_IDE is not set -# CONFIG_BLK_DEV_HD is not set -# CONFIG_BLK_DEV_IDEDISK is not set -# CONFIG_IDEDISK_MULTI_MODE is not set -# CONFIG_IDEDISK_STROKE is not set -# CONFIG_BLK_DEV_IDECS is not set -CONFIG_BLK_DEV_IDECD=y -# CONFIG_BLK_DEV_IDETAPE is not set -# CONFIG_BLK_DEV_IDEFLOPPY is not set -# CONFIG_BLK_DEV_IDESCSI is not set -# CONFIG_IDE_TASK_IOCTL is not set -# CONFIG_BLK_DEV_CMD640 is not set -# CONFIG_BLK_DEV_CMD640_ENHANCED is not set -# CONFIG_BLK_DEV_ISAPNP is not set -# CONFIG_BLK_DEV_IDEPCI is not set -# CONFIG_IDE_CHIPSETS is not set -# CONFIG_IDEDMA_AUTO is not set -# CONFIG_DMA_NONPCI is not set -# CONFIG_BLK_DEV_ATARAID is not set -# CONFIG_BLK_DEV_ATARAID_PDC is not set -# CONFIG_BLK_DEV_ATARAID_HPT is not set -# CONFIG_BLK_DEV_ATARAID_SII is not set - -# -# SCSI support -# -# CONFIG_SCSI is not set - -# -# Fusion MPT device support -# -# CONFIG_FUSION is not set -# CONFIG_FUSION_BOOT is not set -# CONFIG_FUSION_ISENSE is not set -# CONFIG_FUSION_CTL is not set -# CONFIG_FUSION_LAN is not set - -# -# IEEE 1394 (FireWire) support (EXPERIMENTAL) -# -# CONFIG_IEEE1394 is not set - -# -# I2O device support -# -# CONFIG_I2O is not set -# CONFIG_I2O_PCI is not set -# CONFIG_I2O_BLOCK is not set -# CONFIG_I2O_LAN is not set -# CONFIG_I2O_SCSI is not set -# CONFIG_I2O_PROC is not set - -# -# Network device support -# -# CONFIG_NETDEVICES is not set - -# -# Amateur Radio support -# -# CONFIG_HAMRADIO is not set - -# -# IrDA (infrared) support -# -# CONFIG_IRDA is not set - -# -# ISDN subsystem -# -# CONFIG_ISDN is not set - -# -# Old CD-ROM drivers (not SCSI, not IDE) -# -# CONFIG_CD_NO_IDESCSI is not set - -# -# Input core support -# -# CONFIG_INPUT is not set -# CONFIG_INPUT_KEYBDEV is not set -# CONFIG_INPUT_MOUSEDEV is not set -# CONFIG_INPUT_JOYDEV is not set -# CONFIG_INPUT_EVDEV is not set -# CONFIG_INPUT_UINPUT is not set - -# -# Character devices -# -CONFIG_VT=y -CONFIG_VT_CONSOLE=y -# CONFIG_SERIAL is not set -# CONFIG_SERIAL_EXTENDED is not set -# CONFIG_SERIAL_NONSTANDARD is not set -CONFIG_UNIX98_PTYS=y -CONFIG_UNIX98_PTY_COUNT=256 - -# -# I2C support -# -# CONFIG_I2C is not set - -# -# Mice -# -# CONFIG_BUSMOUSE is not set -CONFIG_MOUSE=y -CONFIG_PSMOUSE=y -# CONFIG_82C710_MOUSE is not set -# CONFIG_PC110_PAD is not set -# CONFIG_MK712_MOUSE is not set - -# -# Joysticks -# -# CONFIG_INPUT_GAMEPORT is not set -# CONFIG_QIC02_TAPE is not set -# CONFIG_IPMI_HANDLER is not set -# CONFIG_IPMI_PANIC_EVENT is not set -# CONFIG_IPMI_DEVICE_INTERFACE is not set -# CONFIG_IPMI_KCS is not set -# CONFIG_IPMI_WATCHDOG is not set - -# -# Watchdog Cards -# -# CONFIG_WATCHDOG is not set -# CONFIG_SCx200 is not set -# CONFIG_SCx200_GPIO is not set -# CONFIG_AMD_RNG is not set -# CONFIG_INTEL_RNG is not set -# CONFIG_HW_RANDOM is not set -# CONFIG_AMD_PM768 is not set -# CONFIG_NVRAM is not set -# CONFIG_RTC is not set -# CONFIG_DTLK is not set -# CONFIG_R3964 is not set -# CONFIG_APPLICOM is not set -# CONFIG_SONYPI is not set - -# -# Ftape, the floppy tape device driver -# -# CONFIG_FTAPE is not set -CONFIG_AGP=y -CONFIG_AGP_INTEL=y -CONFIG_AGP_I810=y -CONFIG_AGP_VIA=y -CONFIG_AGP_AMD=y -CONFIG_AGP_AMD_K8=y -CONFIG_AGP_SIS=y -CONFIG_AGP_ALI=y -CONFIG_AGP_SWORKS=y -CONFIG_AGP_NVIDIA=y -CONFIG_AGP_ATI=y - -# -# Direct Rendering Manager (XFree86 DRI support) -# -CONFIG_DRM=y -# CONFIG_DRM_OLD is not set -CONFIG_DRM_NEW=y -CONFIG_DRM_TDFX=y -CONFIG_DRM_GAMMA=y -CONFIG_DRM_R128=y -CONFIG_DRM_RADEON=y -CONFIG_DRM_I810=y -CONFIG_DRM_I810_XFREE_41=y -CONFIG_DRM_I830=y -CONFIG_DRM_MGA=y -# CONFIG_DRM_SIS is not set -# CONFIG_MWAVE is not set -# CONFIG_OBMOUSE is not set - -# -# Multimedia devices -# -# CONFIG_VIDEO_DEV is not set - -# -# File systems -# -# CONFIG_QUOTA is not set -# CONFIG_QFMT_V2 is not set -# CONFIG_AUTOFS_FS is not set -# CONFIG_AUTOFS4_FS is not set -# CONFIG_REISERFS_FS is not set -# CONFIG_REISERFS_CHECK is not set -# CONFIG_REISERFS_PROC_INFO is not set -# CONFIG_REISERFS_SUIDDIR is not set -# CONFIG_ADFS_FS is not set -# CONFIG_ADFS_FS_RW is not set -# CONFIG_AFFS_FS is not set -# CONFIG_HFS_FS is not set -# CONFIG_HFSPLUS_FS is not set -# CONFIG_BEFS_FS is not set -# CONFIG_BEFS_DEBUG is not set -# CONFIG_BFS_FS is not set -# CONFIG_EXT3_FS is not set -# CONFIG_EXT3_FS_SUIDDIR is not set -# CONFIG_JBD is not set -# CONFIG_JBD_DEBUG is not set -# CONFIG_FAT_FS is not set -# CONFIG_MSDOS_FS is not set -# CONFIG_UMSDOS_FS is not set -# CONFIG_VFAT_FS is not set -# CONFIG_EFS_FS is not set -# CONFIG_JFFS_FS is not set -# CONFIG_JFFS2_FS is not set -# CONFIG_CRAMFS is not set -CONFIG_TMPFS=y -CONFIG_RAMFS=y -CONFIG_ISO9660_FS=y -# CONFIG_JOLIET is not set -# CONFIG_ZISOFS is not set -# CONFIG_JFS_FS is not set -# CONFIG_JFS_DEBUG is not set -# CONFIG_JFS_STATISTICS is not set -# CONFIG_MINIX_FS is not set -# CONFIG_VXFS_FS is not set -# CONFIG_NTFS_FS is not set -# CONFIG_NTFS_RW is not set -# CONFIG_HPFS_FS is not set -CONFIG_PROC_FS=y -CONFIG_DEVFS_FS=y -CONFIG_DEVFS_MOUNT=y -# CONFIG_DEVFS_DEBUG is not set -CONFIG_DEVPTS_FS=y -# CONFIG_QNX4FS_FS is not set -# CONFIG_QNX4FS_RW is not set -# CONFIG_ROMFS_FS is not set -CONFIG_EXT2_FS=y -# CONFIG_EXT2_FS_SUIDDIR is not set -# CONFIG_SYSV_FS is not set -# CONFIG_UDF_FS is not set -# CONFIG_UDF_RW is not set -# CONFIG_UFS_FS is not set -# CONFIG_UFS_FS_WRITE is not set -# CONFIG_XFS_FS is not set -# CONFIG_XFS_QUOTA is not set -# CONFIG_XFS_RT is not set -# CONFIG_XFS_TRACE is not set -# CONFIG_XFS_DEBUG is not set - -# -# Network File Systems -# -# CONFIG_CODA_FS is not set -# CONFIG_INTERMEZZO_FS is not set -# CONFIG_NFS_FS is not set -# CONFIG_NFS_V3 is not set -# CONFIG_NFS_DIRECTIO is not set -# CONFIG_ROOT_NFS is not set -# CONFIG_NFSD is not set -# CONFIG_NFSD_V3 is not set -# CONFIG_NFSD_TCP is not set -# CONFIG_SUNRPC is not set -# CONFIG_LOCKD is not set -# CONFIG_SMB_FS is not set -# CONFIG_NCPFS_NLS is not set -# CONFIG_ZISOFS_FS is not set - -# -# Partition Types -# -# CONFIG_PARTITION_ADVANCED is not set -CONFIG_MSDOS_PARTITION=y -# CONFIG_SMB_NLS is not set -# CONFIG_NLS is not set - -# -# Console drivers -# -CONFIG_VGA_CONSOLE=y -# CONFIG_VIDEO_SELECT is not set -# CONFIG_MDA_CONSOLE is not set - -# -# Frame-buffer support -# -# CONFIG_FB is not set - -# -# Sound -# -CONFIG_SOUND=y -CONFIG_SOUND_ALI5455=m -CONFIG_SOUND_ALI5455_CODECSPDIFOUT_PCMOUTSHARE=y -CONFIG_SOUND_ALI5455_CODECSPDIFOUT_CODECINDEPENDENTDMA=y -CONFIG_SOUND_ALI5455_CONTROLLERSPDIFOUT_PCMOUTSHARE=y -CONFIG_SOUND_ALI5455_CONTROLLERSPDIFOUT_CONTROLLERINDEPENDENTDMA=y -CONFIG_SOUND_BT878=m -CONFIG_SOUND_CMPCI=m -# CONFIG_SOUND_CMPCI_FM is not set -# CONFIG_SOUND_CMPCI_MIDI is not set -# CONFIG_SOUND_CMPCI_JOYSTICK is not set -# CONFIG_SOUND_CMPCI_CM8738 is not set -CONFIG_SOUND_EMU10K1=m -# CONFIG_MIDI_EMU10K1 is not set -CONFIG_SOUND_FUSION=m -CONFIG_SOUND_CS4281=m -CONFIG_SOUND_ES1370=m -CONFIG_SOUND_ES1371=m -CONFIG_SOUND_ESSSOLO1=m -CONFIG_SOUND_MAESTRO=m -CONFIG_SOUND_MAESTRO3=m -CONFIG_SOUND_FORTE=m -CONFIG_SOUND_ICH=m -CONFIG_SOUND_RME96XX=m -CONFIG_SOUND_SONICVIBES=m -CONFIG_SOUND_TRIDENT=m -# CONFIG_SOUND_MSNDCLAS is not set -# CONFIG_SOUND_MSNDPIN is not set -CONFIG_SOUND_VIA82CXXX=m -CONFIG_MIDI_VIA82CXXX=y -CONFIG_SOUND_OSS=m -# CONFIG_SOUND_TRACEINIT is not set -# CONFIG_SOUND_DMAP is not set -CONFIG_SOUND_AD1816=m -CONFIG_SOUND_AD1889=m -CONFIG_SOUND_SGALAXY=m -CONFIG_SOUND_ADLIB=m -CONFIG_SOUND_ACI_MIXER=m -CONFIG_SOUND_CS4232=m -CONFIG_SOUND_SSCAPE=m -CONFIG_SOUND_GUS=m -# CONFIG_SOUND_GUS16 is not set -# CONFIG_SOUND_GUSMAX is not set -CONFIG_SOUND_VMIDI=m -CONFIG_SOUND_TRIX=m -CONFIG_SOUND_MSS=m -CONFIG_SOUND_MPU401=m -CONFIG_SOUND_NM256=m -CONFIG_SOUND_MAD16=m -# CONFIG_MAD16_OLDCARD is not set -CONFIG_SOUND_PAS=m -# CONFIG_PAS_JOYSTICK is not set -CONFIG_SOUND_PSS=m -# CONFIG_PSS_MIXER is not set -# CONFIG_PSS_HAVE_BOOT is not set -CONFIG_SOUND_SB=m -CONFIG_SOUND_AWE32_SYNTH=m -CONFIG_SOUND_KAHLUA=m -CONFIG_SOUND_WAVEFRONT=m -CONFIG_SOUND_MAUI=m -CONFIG_SOUND_YM3812=m -CONFIG_SOUND_OPL3SA1=m -CONFIG_SOUND_OPL3SA2=m -CONFIG_SOUND_YMFPCI=m -# CONFIG_SOUND_YMFPCI_LEGACY is not set -CONFIG_SOUND_UART6850=m -CONFIG_SOUND_AEDSP16=m -# CONFIG_SC6600 is not set -# CONFIG_AEDSP16_SBPRO is not set -# CONFIG_AEDSP16_MSS is not set -# CONFIG_AEDSP16_MPU401 is not set -# CONFIG_SOUND_TVMIXER is not set -CONFIG_SOUND_AD1980=m -CONFIG_SOUND_WM97XX=m - -# -# USB support -# -# CONFIG_USB is not set - -# -# Support for USB gadgets -# -# CONFIG_USB_GADGET is not set - -# -# Bluetooth support -# -# CONFIG_BLUEZ is not set - -# -# Kernel hacking -# -CONFIG_DEBUG_KERNEL=y -# CONFIG_DEBUG_STACKOVERFLOW is not set -# CONFIG_DEBUG_HIGHMEM is not set -# CONFIG_DEBUG_SLAB is not set -# CONFIG_DEBUG_IOVIRT is not set -CONFIG_MAGIC_SYSRQ=y -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_FRAME_POINTER is not set -CONFIG_LOG_BUF_SHIFT=0 - -# -# Cryptographic options -# -CONFIG_CRYPTO=y -# CONFIG_CRYPTO_HMAC is not set -# CONFIG_CRYPTO_NULL is not set -# CONFIG_CRYPTO_MD4 is not set -# CONFIG_CRYPTO_MD5 is not set -# CONFIG_CRYPTO_SHA1 is not set -# CONFIG_CRYPTO_SHA256 is not set -# CONFIG_CRYPTO_SHA512 is not set -# CONFIG_CRYPTO_DES is not set -# CONFIG_CRYPTO_BLOWFISH is not set -# CONFIG_CRYPTO_TWOFISH is not set -# CONFIG_CRYPTO_SERPENT is not set -# CONFIG_CRYPTO_AES is not set -# CONFIG_CRYPTO_CAST5 is not set -# CONFIG_CRYPTO_CAST6 is not set -# CONFIG_CRYPTO_DEFLATE is not set -# CONFIG_CRYPTO_TEST is not set - -# -# Library routines -# -# CONFIG_CRC32 is not set -# CONFIG_ZLIB_INFLATE is not set -# CONFIG_ZLIB_DEFLATE is not set diff --git a/target/lvp/patches/linux24_quiet.patch b/target/lvp/patches/linux24_quiet.patch deleted file mode 100644 index 040baba0a..000000000 --- a/target/lvp/patches/linux24_quiet.patch +++ /dev/null @@ -1,30 +0,0 @@ -# --- ROCK-COPYRIGHT-NOTE-BEGIN --- -# -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# Please add additional copyright information _after_ the line containing -# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by -# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! -# -# ROCK Linux: rock-src/target/lvp/patches/linux24_quiet.patch -# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# -# --- ROCK-COPYRIGHT-NOTE-END --- - ---- linux-2.4.21_orig/init/main.c 2003-07-25 16:13:42.000000000 +0200 -+++ linux-2.4.21/init/main.c 2003-07-25 16:16:30.000000000 +0200 -@@ -210,7 +210,7 @@ static int __init quiet_kernel(char *str - { - if (*str) - return 0; -- console_loglevel = 4; -+ console_loglevel = 3; - return 1; - } - diff --git a/target/lvp/pkg_freetype.conf b/target/lvp/pkg_freetype.conf index 2a19d10fc..8820b5752 100644 --- a/target/lvp/pkg_freetype.conf +++ b/target/lvp/pkg_freetype.conf @@ -1,3 +1,24 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/pkg_freetype.conf +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- [ -e ${confdir}/${pkg}.conf ] && . ${confdir}/${pkg}.conf var_append makeopt " " "LDFLAGS=-lz" diff --git a/target/lvp/pkg_linux24-src.conf b/target/lvp/pkg_linux24-src.conf deleted file mode 100644 index 5d581ff96..000000000 --- a/target/lvp/pkg_linux24-src.conf +++ /dev/null @@ -1,3 +0,0 @@ -[ -e ${confdir}/${pkg}.conf ] && . ${confdir}/${pkg}.conf - -var_append patchfiles " " "${targetdir}/patches/linux24_quiet.patch" diff --git a/target/lvp/pkg_linux24.conf b/target/lvp/pkg_linux24.conf deleted file mode 100644 index 5d581ff96..000000000 --- a/target/lvp/pkg_linux24.conf +++ /dev/null @@ -1,3 +0,0 @@ -[ -e ${confdir}/${pkg}.conf ] && . ${confdir}/${pkg}.conf - -var_append patchfiles " " "${targetdir}/patches/linux24_quiet.patch" diff --git a/target/lvp/pkg_mplayer.conf b/target/lvp/pkg_mplayer.conf index 18f3e3ed9..b1f2940d5 100644 --- a/target/lvp/pkg_mplayer.conf +++ b/target/lvp/pkg_mplayer.conf @@ -1,3 +1,24 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/pkg_mplayer.conf +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- [ -e ${confdir}/${pkg}.conf ] && . ${confdir}/${pkg}.conf var_append confopt " " "--enable-static --disable-shared-pp" diff --git a/target/lvp/pkg_sysfiles.conf b/target/lvp/pkg_sysfiles.conf index e4b158b55..2867dbef9 100644 --- a/target/lvp/pkg_sysfiles.conf +++ b/target/lvp/pkg_sysfiles.conf @@ -1,3 +1,24 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/pkg_sysfiles.conf +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- [ -e ${confdir}/${pkg}.conf ] && . ${confdir}/${pkg}.conf sysfiles_postmake_lvp () { diff --git a/target/lvp/pkg_xfree86.conf b/target/lvp/pkg_xfree86.conf index 849e10407..67f0ed38b 100644 --- a/target/lvp/pkg_xfree86.conf +++ b/target/lvp/pkg_xfree86.conf @@ -1,3 +1,24 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/pkg_xfree86.conf +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- [ -e ${confdir}/${pkg}.conf ] && . ${confdir}/${pkg}.conf var_append patchfiles " " "${targetdir}/patches/xfree86_hotfixes.patch" diff --git a/target/lvp/pkg_xorg.conf b/target/lvp/pkg_xorg.conf index 8ed8b5ec1..6cf97208b 100644 --- a/target/lvp/pkg_xorg.conf +++ b/target/lvp/pkg_xorg.conf @@ -1,3 +1,24 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/pkg_xorg.conf +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- [ -e ${confdir}/${pkg}.conf ] && . ${confdir}/${pkg}.conf var_append patchfiles " " "${targetdir}/patches/xorg_hotfixes.patch" diff --git a/target/lvp/x86/build.sh b/target/lvp/x86/build.sh index 350e0e052..6598ec900 100644 --- a/target/lvp/x86/build.sh +++ b/target/lvp/x86/build.sh @@ -1,3 +1,26 @@ +#!/bin/bash + +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/build.sh +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- echo_status "Copying release_skeleton files" cd ${releasedir} diff --git a/target/lvp/x86/help0.txt b/target/lvp/x86/help0.txt index 3535989e9..9e23d7bac 100644 --- a/target/lvp/x86/help0.txt +++ b/target/lvp/x86/help0.txt @@ -5,7 +5,7 @@ | / /__| |/ / ____/ | | /_____/___/_/ | | [===================================================================] | -| V 0.5.0 "backwards incompatible" | +| V 0.5.1 "100% XCP free" | | | | Kernel Images: | | lvp Start LVP | diff --git a/target/lvp/x86/initrd/hardware b/target/lvp/x86/initrd/hardware index d4f6f550f..5d5057f16 100644 --- a/target/lvp/x86/initrd/hardware +++ b/target/lvp/x86/initrd/hardware @@ -1,7 +1,51 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/initrd/hardware +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- echo "Running udevstart to get /dev started ... " +/sbin/udevstart +cd /dev ; rm -f fd +ln -sf /proc/kcore core +ln -sf /proc/self/fd fd +ln -sf fd/0 stdin +ln -sf fd/1 stdout +ln -sf fd/2 stderr +ln -sf misc/psaux mouse +cd / + +read a b version c < /proc/version +/bin/hwscan -k ${version} >/tmp/hardware + +if [ `grep -c '^# ' /tmp/hardware` -gt 0 ] ; then + echo 'Found the following:' + while read line ; do + line=${line#\# } + echo ${line} + done < <( grep '^# ' /tmp/hardware ) + echo 'Now trying to initialise them...' + . /tmp/hardware +fi + /sbin/udevstart if [ ! -e /dev/sound/dsp ] ; then diff --git a/target/lvp/x86/initrd/kernel b/target/lvp/x86/initrd/kernel index a3b50804e..2142e04da 100644 --- a/target/lvp/x86/initrd/kernel +++ b/target/lvp/x86/initrd/kernel @@ -1,5 +1,26 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/initrd/kernel +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- insmod /lib/modules/*/kernel/arch/i386/crypto/aes-i586.ko insmod /lib/modules/*/kernel/drivers/md/dm-mod.ko insmod /lib/modules/*/kernel/drivers/md/dm-crypt.ko diff --git a/target/lvp/x86/initrd/keymap b/target/lvp/x86/initrd/keymap index 0b90e4cd3..b9049e071 100644 --- a/target/lvp/x86/initrd/keymap +++ b/target/lvp/x86/initrd/keymap @@ -1,5 +1,26 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/initrd/keymap +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- for x in `cat /proc/cmdline` ; do if [[ ${x} = *keymap* ]] ; then keymap=`find /usr/share/kbd/keymaps -name "${x##*=}.map*" 2>/dev/null` diff --git a/target/lvp/x86/initrd/linuxrc b/target/lvp/x86/initrd/linuxrc index 8b0255bfe..23806eeba 100644 --- a/target/lvp/x86/initrd/linuxrc +++ b/target/lvp/x86/initrd/linuxrc @@ -1,23 +1,42 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/initrd/linuxrc +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- mount -n -t proc proc /proc mount -n -t tmpfs tmpfs /tmp -mount -n -t ramfs devfs /dev mount -n -t sysfs sys /sys +ttydevs="vc/2 vc/3" + +for x in ${ttydevs} ; do + ( ( while : ; do agetty -i 38400 ${x} -n -l /bin/login-shell ; done ) & ) +done + +mount -n -t ramfs devfs /dev + /bin/keymap /bin/hardware /bin/kernel -cd /dev ; rm -f fd -ln -sf /proc/kcore core -ln -sf /proc/self/fd fd -ln -sf fd/0 stdin -ln -sf fd/1 stdout -ln -sf fd/2 stderr -ln -sf misc/psaux mouse -cd / - exec < /dev/console > /dev/console 2> /dev/console ; cd / cat << EOF @@ -32,10 +51,4 @@ The LVP Team: -Benjamin 'blindcoder' Schieder EOF -ttydevs="vc/2 vc/3" - -for x in ${ttydevs} ; do - ( ( while : ; do agetty -i 38400 ${x} -n -l /bin/login-shell ; done ) & ) -done - agetty -i 38400 vc/1 -n -l /bin/linuxrc2 diff --git a/target/lvp/x86/initrd/linuxrc2 b/target/lvp/x86/initrd/linuxrc2 index 8783e957a..e44ba1246 100644 --- a/target/lvp/x86/initrd/linuxrc2 +++ b/target/lvp/x86/initrd/linuxrc2 @@ -1,5 +1,26 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/initrd/linuxrc2 +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- scan_for_lvp() { unset lvp_drives num_found=0 diff --git a/target/lvp/x86/initrd/login-shell b/target/lvp/x86/initrd/login-shell index ae7c24cf2..08e97f043 100644 --- a/target/lvp/x86/initrd/login-shell +++ b/target/lvp/x86/initrd/login-shell @@ -1,2 +1,23 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/initrd/login-shell +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- cd ; exec /bin/bash --login diff --git a/target/lvp/x86/isolinux.cfg b/target/lvp/x86/isolinux.cfg index f8b3af348..2eeb50212 100644 --- a/target/lvp/x86/isolinux.cfg +++ b/target/lvp/x86/isolinux.cfg @@ -7,10 +7,10 @@ DISPLAY help0.txt LABEL lvp kernel vmlinuz - APPEND root=/dev/ram devfs=nocompat initrd=initrd init=/linuxrc rw quiet + APPEND root=/dev/ram devfs=nocompat initrd=initrd init=/linuxrc rw quiet ramdisk_size=16384 LABEL dvorak kernel vmlinuz - APPEND root=/dev/ram devfs=nocompat initrd=initrd init=/linuxrc rw quiet keymap=dvorak + APPEND root=/dev/ram devfs=nocompat initrd=initrd init=/linuxrc rw quiet keymap=dvorak ramdisk_size=16384 LABEL de kernel vmlinuz - APPEND root=/dev/ram devfs=nocompat initrd=initrd init=/linuxrc rw quiet keymap=de-latin1-nodeadkeys + APPEND root=/dev/ram devfs=nocompat initrd=initrd init=/linuxrc rw quiet keymap=de-latin1-nodeadkeys ramdisk_size=16384 diff --git a/target/lvp/x86/livesystem/XF86Config b/target/lvp/x86/livesystem/XF86Config deleted file mode 100644 index 620ec1f95..000000000 --- a/target/lvp/x86/livesystem/XF86Config +++ /dev/null @@ -1,73 +0,0 @@ -Section "Module" - Load "dbe" - Load "glx" - SubSection "extmod" - Option "omit xfree86-dga" - EndSubSection - Load "type1" - Load "speedo" -EndSection - -Section "Files" - RgbPath "/usr/X11R6/lib/X11/rgb" - FontPath "/usr/X11R6/lib/X11/fonts/local/" - FontPath "/usr/X11R6/lib/X11/fonts/misc/" - FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" - FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" - FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" - FontPath "/usr/X11R6/lib/X11/fonts/Type1/" - FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" - FontPath "/usr/X11R6/lib/X11/fonts/freefont/" - FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" - FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" -EndSection - -Section "ServerFlags" -EndSection - -Section "InputDevice" - Identifier "Keyboard1" - Driver "Keyboard" - Option "AutoRepeat" "500 30" - Option "XkbRules" "xfree86" - Option "XkbModel" "pc101" - Option "XkbLayout" "us" -EndSection - -Section "InputDevice" - Identifier "Mouse1" - Driver "mouse" - Option "Protocol" "Auto" - Option "Device" "/dev/misc/psaux" -EndSection - -Section "Monitor" - Identifier "LVP Monitor" - HorizSync 31.5, 35.15, 35.5 - VertRefresh 40-150 -EndSection - -Section "Device" - Identifier "LVP Card" - Driver "LVPDEVICE" -EndSection - -Section "Screen" - Identifier "Screen 1" - Device "LVP Card" - Monitor "LVP Monitor" - DefaultDepth 16 - - Subsection "Display" - Depth 16 - Modes "1024x768" - ViewPort 0 0 - EndSubsection -EndSection - -Section "ServerLayout" - Identifier "Simple Layout" - Screen "Screen 1" - InputDevice "Mouse1" "CorePointer" - InputDevice "Keyboard1" "CoreKeyboard" -EndSection diff --git a/target/lvp/x86/livesystem/etc_lvp_10-encryption.sh b/target/lvp/x86/livesystem/etc_lvp_10-encryption.sh index 5cd5ffa41..c8765c02c 100644 --- a/target/lvp/x86/livesystem/etc_lvp_10-encryption.sh +++ b/target/lvp/x86/livesystem/etc_lvp_10-encryption.sh @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/livesystem/etc_lvp_10-encryption.sh +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- encryption_start() { if [ -e /lvp.data1 ] ; then diff --git a/target/lvp/x86/livesystem/etc_lvp_80-xf86config.sh b/target/lvp/x86/livesystem/etc_lvp_80-xf86config.sh deleted file mode 100644 index 5eb559274..000000000 --- a/target/lvp/x86/livesystem/etc_lvp_80-xf86config.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -detect_card_old() { - echo "Trying to autodetect Graphics card" - echo -n "- nVidia ... " - if [ `lspci | grep -ic nvidia` -gt 0 ] ; then - echo "yes" - driver="nv" - return 0 - fi - echo -en "no\n- 3Dfx ... " - if [ `lspci | grep -ic 3Dfx` -gt 0 ] ; then - echo "yes" - driver="tdfx" - return 0 - fi - echo -en "no\n- Matrox ... " - if [ `lspci | grep -ic Matrox` -gt 0 ] ; then - echo "yes" - driver="mga" - return 0 - fi - echo -en "no\n- VMware ... " - if [ `lspci | grep -ic VMware` -gt 0 ] ; then - echo "yes" - driver="vmware" - return 0 - fi - echo -e "no\nUsing vesa-compatible." - driver="vesa" - return 0 -} - -xf86config_start(){ - if [ `grep -c oldxconfig /proc/cmdline` -eq 1 ] ; then - echo "Running old X-Config" - detect_card_old - cat /etc/X11/XF86Config | sed "s,LVPDEVICE,${driver},g" >/tmp/XF86Config - else - echo -n "Running integrated XFree86-Autoconfiguration ... " - HOME="/tmp" /usr/X11/bin/X -configure -logfile /dev/null >/dev/null 2>&1 - mv /tmp/XF86Config.new /tmp/XF86Config - echo "done" - fi -} - -xf86config_stop(){ - echo -n -} - -eval "xf86config_${1}" diff --git a/target/lvp/x86/livesystem/etc_lvp_80-xorgconfig.sh b/target/lvp/x86/livesystem/etc_lvp_80-xorgconfig.sh new file mode 100644 index 000000000..968e5c209 --- /dev/null +++ b/target/lvp/x86/livesystem/etc_lvp_80-xorgconfig.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/livesystem/etc_lvp_80-xorgconfig.sh +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +xorgconfig_start(){ + echo -n "Running integrated X.org-Autoconfiguration ... " + HOME="/tmp" /usr/X11/bin/X -configure -logfile /dev/null >/dev/null 2>&1 + echo "done" +} + +xorgconfig_stop(){ + echo -n +} + +eval "xorgconfig_${1}" diff --git a/target/lvp/x86/livesystem/etc_profile b/target/lvp/x86/livesystem/etc_profile index 4fa911db1..1fc9d96fb 100644 --- a/target/lvp/x86/livesystem/etc_profile +++ b/target/lvp/x86/livesystem/etc_profile @@ -1 +1,23 @@ +#!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/livesystem/etc_profile +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- export PATH="${PATH}:/usr/X11/bin" diff --git a/target/lvp/x86/livesystem/linuxrc b/target/lvp/x86/livesystem/linuxrc index b90908a09..7be99cb33 100644 --- a/target/lvp/x86/livesystem/linuxrc +++ b/target/lvp/x86/livesystem/linuxrc @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/livesystem/linuxrc +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- mount -t proc proc /proc mount -t tmpfs tmpfs /tmp diff --git a/target/lvp/x86/livesystem/startlvp b/target/lvp/x86/livesystem/startlvp index 3b355f571..a759218d7 100644 --- a/target/lvp/x86/livesystem/startlvp +++ b/target/lvp/x86/livesystem/startlvp @@ -1,4 +1,25 @@ #!/bin/bash --login +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/livesystem/startlvp +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- exec < /dev/console > /dev/console 2> /dev/console ; cd / diff --git a/target/lvp/x86/livesystem/xinitrc b/target/lvp/x86/livesystem/xinitrc index 612cdc59d..2771e1e5e 100644 --- a/target/lvp/x86/livesystem/xinitrc +++ b/target/lvp/x86/livesystem/xinitrc @@ -1,3 +1,26 @@ +#!/bin/bash + +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/livesystem/xinitrc +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- cd / [ -e /lvp.xml ] && lvpxml="/lvp.xml" [ -e /mnt1/lvp.xml ] && lvpxml="/mnt1/lvp.xml" diff --git a/target/lvp/x86/release_skeleton/COPYING b/target/lvp/x86/release_skeleton/COPYING new file mode 100644 index 000000000..a43ea2126 --- /dev/null +++ b/target/lvp/x86/release_skeleton/COPYING @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) 19yy <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/target/lvp/x86/release_skeleton/README b/target/lvp/x86/release_skeleton/README index d4c198237..ab1b5e168 100644 --- a/target/lvp/x86/release_skeleton/README +++ b/target/lvp/x86/release_skeleton/README @@ -2,7 +2,8 @@ Using binary release of LVP Using the binary release of LVP is a rather simple process: -WARNING: You must be root to complete this process! +WARNING: You must be root to complete this process if you want to use +WARNING: encryption! Just start ./config.sh, make your settings, use options c and i to create the iso and then burn this iso (named lvp.iso) diff --git a/target/lvp/x86/release_skeleton/config.sh b/target/lvp/x86/release_skeleton/config.sh index aa47bb1f9..041b2c6dc 100644 --- a/target/lvp/x86/release_skeleton/config.sh +++ b/target/lvp/x86/release_skeleton/config.sh @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/config.sh +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- . scripts/functions @@ -34,6 +55,38 @@ while [ "${quit}" == "0" ] ; do scripts/create_iso read -p "Press -<enter>- to continue" ;; + w) + clear + cat <<-EOF + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + EOF + read -p "Press -<enter>- to continue" + ;; + L) + clear + more COPYING || cat COPYING + read -p "Press -<enter>- to continue" + ;; *) get ${choice} ;; diff --git a/target/lvp/x86/release_skeleton/scripts/cleanup b/target/lvp/x86/release_skeleton/scripts/cleanup index 7f0b31a0b..f98cdde0d 100644 --- a/target/lvp/x86/release_skeleton/scripts/cleanup +++ b/target/lvp/x86/release_skeleton/scripts/cleanup @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/scripts/cleanup +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- echo "Warning: This will delete all video files in the directory livesystem/" read -p "Are you sure [yes/no] ? " sure diff --git a/target/lvp/x86/release_skeleton/scripts/configuration b/target/lvp/x86/release_skeleton/scripts/configuration index d82b7b8c0..02d27a91f 100644 --- a/target/lvp/x86/release_skeleton/scripts/configuration +++ b/target/lvp/x86/release_skeleton/scripts/configuration @@ -1,3 +1,26 @@ +#!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/scripts/configuration +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + multi LVP_TYPE plain "How to store data on the LVP" plain encrypted if [ "${LVP_TYPE}" == "encrypted" ] ; then multi LVP_ENTROPY_SOURCE random "What device to use for creating the pseudo-filesystems" random urandom zero @@ -12,6 +35,7 @@ text LVP_MPLAYER_OPTS "" "Parameters to add to mplayer" text LVP_FILES "" "Files to put on this medium" +bool LVP_USE_MULTI_LANGUAGE 0 "Query for different language settings for .ogm and .mkv files" bool LVP_USE_DEFAULTS 1 "Batch mode (assume default answer to everything)" comment "" @@ -21,5 +45,8 @@ comment "---" comment "c - Create LVP now" comment "i - Create ISO now" comment "x - Clean up" +comment "---" +comment "w - Warranty disclaimer" +comment "L - License information" comment "" comment "q - Quit" diff --git a/target/lvp/x86/release_skeleton/scripts/create_iso b/target/lvp/x86/release_skeleton/scripts/create_iso index 97db7635a..33d6b5a96 100644 --- a/target/lvp/x86/release_skeleton/scripts/create_iso +++ b/target/lvp/x86/release_skeleton/scripts/create_iso @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/scripts/create_iso +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- mkisofs -r -T -J -l -b isolinux/isolinux.bin -c isolinux/boot.catalog \ -no-emul-boot -boot-load-size 4 -boot-info-table -o lvp.iso \ diff --git a/target/lvp/x86/release_skeleton/scripts/create_lvp b/target/lvp/x86/release_skeleton/scripts/create_lvp index 818aea602..5a83c0f51 100644 --- a/target/lvp/x86/release_skeleton/scripts/create_lvp +++ b/target/lvp/x86/release_skeleton/scripts/create_lvp @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/scripts/create_lvp +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- . scripts/functions diff --git a/target/lvp/x86/release_skeleton/scripts/create_lvpxml b/target/lvp/x86/release_skeleton/scripts/create_lvpxml index 0442e7104..85f115ad0 100644 --- a/target/lvp/x86/release_skeleton/scripts/create_lvpxml +++ b/target/lvp/x86/release_skeleton/scripts/create_lvpxml @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/scripts/create_lvpxml +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- usage_create_lvpxml() { echo -n @@ -112,18 +133,19 @@ process_create_lvpxml() { EOF fi #a little "special" for multi-language anime - if [ "${file##*.}" == "mkv" -o "${file##*.}" == "ogm" ] ; then + if [ "${file##*.}" == "mkv" -o "${file##*.}" == "ogm" ] && [ "${LVP_USE_MULTI_LANGUAGE}" == "1" ] ; then echo "This looks like a multi-languaged file." confirm "Do you want to add a small button with a second language?" if [ ${?} -eq 0 ] ; then lvp_read alang "ja" Audio language [ja]: lvp_read slang "en" Sub language [en]: + lvp_read sub "ja" Button text [ja]: cat >> ${lvpxml} <<-EOF <item type="button"> <position x="$(( (${item} % 4) * 50 - 75 ))" y="$(( 75 - ((${item} - (${item} % 4)) / 4) * 50 - 22 - ${offset} ))" /> <action>/usr/bin/mplayer -alang ${alang} -slang ${slang} -fs -zoom ${mplayer_param} '${file}'</action> <size w="40" h="4" /> - <text>jap</text> + <text>${sub}</text> </item> EOF fi diff --git a/target/lvp/x86/release_skeleton/scripts/encrypted b/target/lvp/x86/release_skeleton/scripts/encrypted index 705b336fe..7ba509510 100644 --- a/target/lvp/x86/release_skeleton/scripts/encrypted +++ b/target/lvp/x86/release_skeleton/scripts/encrypted @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/scripts/encrypted +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- type_encrypted="encrypted" entrosource="${LVP_ENTROPY_SOURCE}" diff --git a/target/lvp/x86/release_skeleton/scripts/functions b/target/lvp/x86/release_skeleton/scripts/functions index f1d3123f0..4eb8f4389 100644 --- a/target/lvp/x86/release_skeleton/scripts/functions +++ b/target/lvp/x86/release_skeleton/scripts/functions @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/scripts/functions +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- bold="[1m" red="[31m" green="[32m" @@ -44,7 +65,7 @@ function lvp_read { # {{{ confirm function confirm { unset yesno - if [ ${LVP_USE_DEFAULTS} -eq 1 ] ; then + if [ ${LVP_USE_DEFAULTS:-0} -eq 1 ] ; then echo "${@} [yes|no] ? yes (batch mode)" yesno="yes" fi @@ -57,6 +78,20 @@ function confirm { } # }}} +if [ ! -e .license_accepted ] ; then + echo "You must accept this software's license first." + echo "Press -<enter>- to do so now or press Ctrl-C to stop now" + read + more COPYING || cat COPYING + if confirm "Accept license?" ; then + touch .license_accepted + else + echo "Without accepting the license you can't use this software." + echo "Have a nice day." + exit 1 + fi +fi + # {{{ menu_init menu_init () { block_level=0 @@ -126,6 +161,7 @@ comment (){ # {{{ display display () { i=1 + echo -e "\t\tWelcome to the LVP configuration\n" while [ ${i} -le ${items} ] ; do eval "type=\${type_${i}}" case "${type}" in diff --git a/target/lvp/x86/release_skeleton/scripts/plain b/target/lvp/x86/release_skeleton/scripts/plain index 8ffbaa1be..84bf6370f 100644 --- a/target/lvp/x86/release_skeleton/scripts/plain +++ b/target/lvp/x86/release_skeleton/scripts/plain @@ -1,4 +1,25 @@ #!/bin/bash +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/target/lvp/x86/release_skeleton/scripts/plain +# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- type_plain="plain"