Commit Graph

206 Commits

Author SHA1 Message Date
Albert Hopkins 7183961164 teamplayer: Added optional zeroconf broadcast support 2011-02-24 23:35:34 -05:00
Albert Hopkins 4841126b93 Makefile: created "inroot" macro for running commands in the chroot 2011-02-24 23:20:38 -05:00
Albert Hopkins 45b7cefbc6 xfce: gdk-pixbuf requires X USE flag 2011-02-24 23:19:38 -05:00
Albert Hopkins 5ff35f7768 pass --noinput to sync since admin is disabled and there's no adminable stuff 2011-02-22 22:51:31 -05:00
Albert Hopkins f236ffc4bb xfce: replace mousepad with leafpad 2011-02-21 07:13:24 -05:00
Albert Hopkins 74ad01a19d Merge 2011-02-05 00:10:40 -05:00
Albert Hopkins db1cc15a3b New Makefile variable: EXTERNAL_KERNEL
If set to YES, then the kernel sources will not be installed and a kernel
is not built, nor is grub installed/configured.  This is can be useful when
building appliances for hypervisors such as Xen and Qemu/KVM which can run
from external kernel/initramfs configurations. Default is NO
2011-02-05 00:06:23 -05:00
Albert Hopkins 08e6aaf37d teamplayer: requires unstable version of python-mpd now 2011-01-23 10:31:07 -05:00
Albert Hopkins 84911f1824 moved "rm -f umount" from "remove_checkpoints" to "clean" because if make
is run with parallel jobs the file may not exist yet for remove_checkpoints
to remove
2011-01-23 07:48:58 -05:00
Albert Hopkins a67cef9da2 Added global Makefile option to enable sshd in the appliance 2011-01-20 18:17:32 -05:00
Albert Hopkins 4ba07fdd86 Initialize postgres to use utf8 2011-01-19 22:00:50 -05:00
Albert Hopkins 49a48fe340 xinit no longer includes the xdm script so we start xdm manually 2011-01-19 21:18:04 -05:00
Albert Hopkins 6745ad7bba Small tweak to allow downloading of stage3 and portage in parallel (with -j2) 2011-01-19 21:16:13 -05:00
Albert Hopkins 3b6351d610 New makefile variable, ROOT_PASSWORD, to set the (encrypted) root password 2011-01-11 22:47:14 -05:00
Albert Hopkins 93a6eaf2f6 Makefile: hard-code eselect python set python2.6 2011-01-11 17:00:09 -05:00
Albert Hopkins 16efcaea51 hemp-node: Remove python-3 and kernel sources on post install 2011-01-06 19:28:16 -05:00
Albert Hopkins 6b9c82adbd x/package.use: add python USE flag to libxml2 2011-01-05 17:35:49 -05:00
Albert Hopkins f0fa9c4f68 kde/package.use: dev-libs/libxml2 requires python support 2011-01-04 18:33:37 -05:00
Albert Hopkins f90afbd7e8 kernel.config: updated kernel config for 2.6.36 2010-12-25 12:12:42 -05:00
Albert Hopkins b8ae482359 Added virtual appliance for building hemp machine images 2010-12-19 23:07:41 -05:00
Albert Hopkins 83da160f9f Change needed for previous commit to work 2010-12-19 23:04:36 -05:00
Albert Hopkins 76be9a9aa0 Makefile: make changing of root password and removing or portage tree both optional 2010-12-19 23:04:11 -05:00
Albert Hopkins f9ef73eb07 Force eth0 to release dhcp address on shutdown 2010-12-16 21:03:48 -05:00
Albert Hopkins fb4d34b3f0 Add "quiet" to kernel command line 2010-12-11 23:07:26 -05:00
Albert Hopkins 312faaa621 changed PROFILE variable to profile to avoid clobbering builds 2010-12-06 20:19:37 -05:00
Albert Hopkins ff82a997eb package.use add +extensions to sqlite package 2010-12-03 13:40:15 -05:00
Albert Hopkins c8644251fa Merged 2010-11-30 00:14:29 -05:00
Albert Hopkins 97926be0c8 kde: configured so that sound notifications are disabled by default
If you don't do this then KDE will hang when you try to log out
2010-11-30 00:07:30 -05:00
Albert Hopkins 87584f8538 Automated merge with file:///home/percy/Hg/virtual-appliance 2010-11-29 21:29:08 -05:00
Albert Hopkins 733ca07d0f export OVERLAY variable 2010-11-29 21:29:04 -05:00
Albert Hopkins 3c2525242b Added ssl support to libsoup so that Epiphany can do https 2010-11-28 21:15:45 -05:00
Albert Hopkins cf312bbe10 Added a kernel config for testing branch 2010-11-27 16:53:56 -05:00
Albert Hopkins e48f309029 kde/local: but it will not build without this file :) 2010-11-27 16:44:19 -05:00
Albert Hopkins c08d85dace Minor changes to make kde/unstable build again 2010-11-27 16:43:40 -05:00
Albert Hopkins 725544c9bc Added x11-apps/xrandr to world file 2010-11-27 16:42:53 -05:00
Albert Hopkins 62d929f7df xfce/critical: fixed so that PRUNE_CRITICAL works 2010-11-27 16:42:22 -05:00
Albert Hopkins 7e3dc437fd Added EMERGE_WARNING_DELAY="0" to make.conf to speed up unmerging system packages 2010-11-27 16:41:27 -05:00
Albert Hopkins a2ae8c6816 Add x11-apps/xauth to world file 2010-11-27 16:40:51 -05:00
Albert Hopkins 3bb8e3fd37 Makefile: change filesystem label 2010-11-26 07:33:45 -05:00
Albert Hopkins 287fb84d9e eds needs weather use flag (so why even make it optional?) 2010-11-26 00:48:23 -05:00
Albert Hopkins bfe83132f1 package.use for previous commit 2010-11-26 00:47:33 -05:00
Albert Hopkins df60cb2643 xfce: include w web browser (firefox) 2010-11-26 00:46:59 -05:00
Albert Hopkins 21ec0d1722 kde: masked libgphoto2-2.4.10 until bug #346491 is fixed 2010-11-23 10:47:09 -05:00
Albert Hopkins 492e294c32 gnome/Makefile: fixed typo 2010-11-20 19:53:35 -05:00
Albert Hopkins 08a4ab2e90 make.conf: change --jobs to 2, add parallel-fetch to FEATURES 2010-11-20 19:52:52 -05:00
Albert Hopkins 4b396059dd teamplayer/Makefile: define INSTALL variable 2010-11-20 19:52:00 -05:00
Albert Hopkins abe5e4d98f Makefile tweaks 2010-11-20 19:51:27 -05:00
Albert Hopkins e89d24ccfe I learned a lot about Makefiles :D
So, basically I re-architeched things a bit:

The appliance/Makefile.inc fiels are now appliance/Makefile (again). The
main Makefile will call "make -C appliance preinstall" and "postinstall"
(and in future "clean").  So I got rid of the ugly make variables/include
thing.  Some of the main Makefile's variables are exported to the
sub-makes.  Appliances don't really need $(APPLIANCE) anymore as the
appliance directory is their CWD.

Added some new targets and smarter targets.  I can do more with this, but
it's a big improvment from last time.  Still learning a lot of Makefile
magic (been reading other people's Makefiles).

Verified that "make -j3" works (at least on the base appliance) but will
kill your hard drive :D

Introduced "profiles"  Which are files with variables you want to override.
The file will be "include"ed by the main Makefile.  For example, I have a
file, "local.cfg" that looks like this:

--- 8< -----------------------------
CHROOT = /var/scratch/marduk/vabuild
HEADLESS = YES
PRUNE_CRITICAL = NO
VIRTIO = YES
TIMEZONE = EST5EDT
DISK_SIZE = 60.0G
SWAP_SIZE = 48
PKGDIR = /var/scratch/packages
NBD_DEV = /dev/nbd8

all: qcow
--- 8< ------------------------------

Then, e.g. i can run "make PROFILE=local APPLIANCE=kde".  If you don't
specify a PROFILE variable, then it will default to the empty string, which
means the main Makefile will attempt to include .cfg

So, for example i have:

   $ ln -s local.cfg .cfg
   $ make APPLIANCE=kde

Don't set PROFILE inside your .cfg file (why would you?).  Also, if the
[pro]file does not exist, the include fails silently.

I will put this info in the wiki eventually...
2010-11-13 18:22:18 -05:00
Albert Hopkins e36ca3057b make.conf: Added ALSA_PCM_PLUGINS="*" (even though the default kernel
config does not compile alsa)
2010-11-10 14:44:05 -05:00
Albert Hopkins 63b8411f17 Should be compatible with 32bit guests 2010-11-06 18:46:07 -04:00