Commit Graph

19 Commits

Author SHA1 Message Date
Albert Hopkins 977fcd0d9c Long-overdue updates (phase 1) 2014-01-04 20:22:40 +00:00
Albert Hopkins d83f2c6b7c x: Updates. 2013-09-01 19:12:46 +00:00
Albert Hopkins c09e945a06 x: Add nptl USE flag to xorg-server 2013-08-20 11:21:35 +00:00
Albert Hopkins 71b0b8527a Add nptl to gcc USE. 2013-08-19 18:25:39 +00:00
Albert Hopkins a047250c0d x: updates. 2013-08-19 18:21:15 +00:00
Albert Hopkins 29f13b1888 Add ~x86 ~amd64 to gentoo-sources 2013-08-19 18:21:15 +00:00
Albert Hopkins 9f46a64ec4 x: Point to /usr/lib instead of /usr/lib64 as to work with 32-bit builds. 2013-02-15 22:45:50 +00:00
Albert Hopkins d2eb7124a7 Use busybox for dhcp and acpi. 2012-12-16 15:49:21 +00:00
Albert Hopkins dc4e73082d x: USE flag updates. 2012-09-10 14:57:04 +00:00
Albert Hopkins 7ea5be2bf9 Don't add xorg-x11 as it now pulls in the X server. Instead add individual packages. 2012-06-28 11:39:46 +00:00
Albert Hopkins 2ba82fb92b Add EXTRA_WORLD Makefile variable to add extra packages to world 2011-11-16 11:44:32 +00:00
Albert Hopkins acef5c4a24 Added custom /etc/motd to each image (based on a script)
Removed minimal use flag for pambase as it disables motd
2011-07-12 20:15:55 +00:00
Albert Hopkins 571bcb64a4 Change net-misc/dhcpcd to dhcp in world files as we now use dhclient 2011-06-25 13:49:19 -04:00
Albert Hopkins 827ee1dd6f x: support for baselayout-2 2011-05-14 12:31:45 -04:00
Albert Hopkins 35f9a64e22 x: added minimal USE flags 2011-04-22 22:22:47 -04:00
Albert Hopkins 6b9c82adbd x/package.use: add python USE flag to libxml2 2011-01-05 17:35:49 -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 7cf0f4ecf2 Changed from preinstall/postintall scripts to Makefile include files 2010-10-06 07:37:32 -04:00
Albert Hopkins 4606d5a997 Added old-school X11 desktop appliance 2010-09-12 23:23:59 -04:00