diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emulation/domi | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-emulation/domi')
-rw-r--r-- | app-emulation/domi/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/domi/domi-20060816.ebuild | 38 | ||||
-rw-r--r-- | app-emulation/domi/files/domi.conf | 95 | ||||
-rw-r--r-- | app-emulation/domi/files/fix_install_links.patch | 15 | ||||
-rw-r--r-- | app-emulation/domi/metadata.xml | 8 |
5 files changed, 157 insertions, 0 deletions
diff --git a/app-emulation/domi/Manifest b/app-emulation/domi/Manifest new file mode 100644 index 000000000000..469488ebbc05 --- /dev/null +++ b/app-emulation/domi/Manifest @@ -0,0 +1 @@ +DIST domi-20060816-153213.tar.gz 15503 SHA256 2eba3bbd36738764a1443544388472dbc603db81974b74402954d2693d231c78 SHA512 ea8fea65860f399ea1f4474f7cba957c29298b126c6b8aded1af07a09e987bad6d5fbe9af552977d33480562e28e77774690c6f5d6958e29f3533c892a69c207 WHIRLPOOL 0d71ff2cc25496e6c3dfa35f5a7f96a071a0ff2ec683f709a9479f89f4b98f8d8ce37ceb1982289e6f1f853a78f22b694e83a2b1d4eaa6ce0dcf60e079df02d8 diff --git a/app-emulation/domi/domi-20060816.ebuild b/app-emulation/domi/domi-20060816.ebuild new file mode 100644 index 000000000000..5384bc754b3f --- /dev/null +++ b/app-emulation/domi/domi-20060816.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils +DESCRIPTION="Scripts for building Xen domains" +HOMEPAGE="http://www.bytesex.org" +EXTRA_VERSION="153213" +SRC_URI="http://dl.bytesex.org/cvs-snapshots/${P}-${EXTRA_VERSION}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="app-emulation/xen-tools + app-arch/rpm + sys-block/parted + sys-apps/yum + sys-fs/lvm2 + sys-fs/multipath-tools" +# there are some other depends we may need depending on the target system +# these packages aren't in gentoo yet. feel free to submit ebuilds via bugzilla. +# y2pmsh +RESTRICT="test" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + sed -i -e 's:/dev/loop\$:/dev/loop/\$:' "${S}"/domi + cd "${S}" + epatch "${FILESDIR}"/fix_install_links.patch +} + +src_install() { + einstall || die + insinto /etc + doins "${FILESDIR}"/domi.conf || die +} diff --git a/app-emulation/domi/files/domi.conf b/app-emulation/domi/files/domi.conf new file mode 100644 index 000000000000..429a16505156 --- /dev/null +++ b/app-emulation/domi/files/domi.conf @@ -0,0 +1,95 @@ +#!/bin/bash +#This script is generated by http://bugs.gentoo.org/show_bug.cgi?id=112407 and the domi.man file +#domi - xen domain installer /etc/domi.conf +#domi is a shell script which sets up virtual machines. It creates +#virtual disks using either LVM or image files and installs a linux +#distribution on the newly created disk. +# +#domi reads the configuration from /etc/domi.conf and the config file +#passed on the command line. Then goes ahead and sets up the virtual +#disk without asking further questions, so be careful. +#The config files are simply sourced. Thus the syntax for setting the +#config options is the usual shell variable style, i.e. VAR="value", +#hashmark works for comments and so on. +############################################ +#DOMI_NAME="myexample" # Required +DOMI_NAME=" " + +##Name of the virtual machine. +#Distribution to install. Valid choices are suse, fedora, debian and gentoo. +#DOMI_DISTRO="gentoo" # Required. +DOMI_DISTRO="" + +#DOMI_CACHE Location where downloaded files are cached. +#Default: /var/cache/domi +DOMI_CACHE="/var/cache/domi" + +#DOMI_FSTYPE File system to use +#Default: ext2 +DOMI_FSTYPE="ext2" + +#DOMI_PASSWD Initial root password +#Default: root +DOMI_PASSWD="secret" + +#DOMI_VDISK +#Name of the virtual disk (inside the vm). "xvda" should do just +#fine with all modern, udev-based distros which create the device +#nodes automatically. In case of trouble you can try "hda" instead. +#Default: xvda +DOMI_VDISK="xvda" + +#DOMI_XEN_CONF +#Recommended. +#If specified the script writes a initial Xen config file to the given +#location. +#DOMI_XEN_CONF="/etc/xen/auto/myexample-startscript" +DOMI_XEN_CONF=" " + +#DOMI_XEN_KERNEL Xen kernel (for the Xen config file). +#Default: /boot/vmlinuz-xen +#DOMI_XEN_KERNEL="/path/to/the/DomU-kernel" +DOMI_XEN_KERNEL="" + +#DOMI_XEN_MEMORY +#Main memory (for the Xen config file, in megabytes). +#Default: 128 +DOMI_XEN_MEMORY="128" + +#DOMI_DISK_VG +#LVM volume group to use for storage. If specied the script will +#create a volume with DOMI_NAME in that volume group and use it to +#setup the virtual disk. +#Recommended. +#DOMI_DISK_VG="volg-md9"# without a "/" +DOMI_DISK_VG="" + +#DOMI_DISK_FILE +#If you don't use LVM you can specify an image file to use for the +#virtual disk. Setting either DOMI_DISK_VG or DOMI_DISK_FILE is +#required. +#DOMI_DISK_FILE="/path/to/my/myexample.file" +DOMI_DISK_FILE="" + +#DOMI_DISK_SPARSE +#Set this to some non-empty value to make domi use sparse file for the +#disk images. Has no effect if you use LVM. + +#DOMI_DISK_SIZE +#Default: 4096 +#Size of the virtual disk, in megabytes. +DOMI_DISK_SIZE="4096" + +#DOMI_SWAP_SIZE +#Default: 256 +#Size of the swap partition, in megabytes. +DOMI_SWAP_SIZE="256" + +#DOMI_ROOT_SIZE +#Default: DOMI_DISK_SIZE - DOMI_SWAP_SIZE +#Size if the root filesystem, in megabytes + +#DOMI_HOOK_POST +#Custom postinstall script to run. + +################### diff --git a/app-emulation/domi/files/fix_install_links.patch b/app-emulation/domi/files/fix_install_links.patch new file mode 100644 index 000000000000..29a7eb7ca299 --- /dev/null +++ b/app-emulation/domi/files/fix_install_links.patch @@ -0,0 +1,15 @@ +--- Makefile.orig 2008-10-05 18:59:51.000000000 +0200 ++++ Makefile 2008-10-05 19:37:58.000000000 +0200 +@@ -23,9 +23,9 @@ + install -d $(DESTDIR)$(mandir)/man8 + install -m755 $(scripts) $(DESTDIR)$(libdir) + install -m644 domi.man $(DESTDIR)$(mandir)/man8/domi.8 +- ln -s $(libdir)/domi $(DESTDIR)$(bindir)/domi +- ln -s $(libdir)/ttylinux $(DESTDIR)$(bindir)/ttylinux +- ln -s $(libdir)/initramfs $(DESTDIR)$(bindir)/busybox.initramfs ++ ln -s ../share/domi/domi $(bindir)/domi ++ ln -s ../share/domi/ttylinux $(bindir)/ttylinux ++ ln -s ../share/domi/initramfs $(bindir)/busybox.initramfs + + test: + su -c tests/Run diff --git a/app-emulation/domi/metadata.xml b/app-emulation/domi/metadata.xml new file mode 100644 index 000000000000..001651048e99 --- /dev/null +++ b/app-emulation/domi/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <longdescription>Scripts for building Xen domains</longdescription> +</pkgmetadata> |