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/files | |
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/files')
-rw-r--r-- | app-emulation/domi/files/domi.conf | 95 | ||||
-rw-r--r-- | app-emulation/domi/files/fix_install_links.patch | 15 |
2 files changed, 110 insertions, 0 deletions
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 |