Commit Graph

443 Commits

Author SHA1 Message Date
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
Albert Hopkins 26dac946ac * Pre-emerge xz-utils as some packages need this to unpack
* Clean up Makefile a little
2010-11-06 17:49:19 -04:00
Albert Hopkins 63cae4a119 Various fixes 2010-11-06 04:41:15 -04:00
Albert Hopkins 62801481e7 Make stage3 tarball always have the same filename 2010-11-05 10:52:04 -04:00
Albert Hopkins 295b1d9a96 Switch from ext4 to ext2 as an experiment 2010-11-05 08:59:18 -04:00
Albert Hopkins a5af02ae14 Move umounting in it's own target and don't ||true it 2010-11-05 08:06:13 -04:00
Albert Hopkins 7a21aed5fe * Use rsync --exclude-from instead of copying and removing
* Made a change so that "make -j2" works
2010-11-05 01:53:07 -04:00
Albert Hopkins 4f2bcd184e Merged changes 2010-11-04 23:25:47 -04:00
Albert Hopkins 543619d871 Various tweaks 2010-11-04 23:17:00 -04:00
Albert Hopkins 795211626e Make (hopefully) work with non-gentoo hosts 2010-11-04 23:10:54 -04:00
Albert Hopkins d0a5559775 base/critical: remove python 2010-10-26 20:01:20 -04:00
Albert Hopkins 717589eb4b Makefile(clean): umount each mount point individually 2010-10-26 20:00:50 -04:00
Albert Hopkins ae2a135467 gnome: work around yelp's cups dependency 2010-10-10 20:55:02 -04:00
Albert Hopkins 48854856b3 teamplayer: use postgresql 9.0 2010-10-08 00:55:38 -04:00