Commit Graph

162 Commits

Author SHA1 Message Date
Albert Hopkins 0144944c9d teamplayer/Makefile: Allow environment to override repo variable 2011-07-17 22:07:35 +00:00
Albert Hopkins d2d0adf57e Makfile: fixed bug where PRUNE_CRITICAL=YES didn't work 2011-07-15 15:25:54 +00:00
Albert Hopkins ab22626b63 drupal: Add PECL uploadprogress 2011-07-15 10:30:09 +00:00
Albert Hopkins b722b1a70b Don't make settings.php world-writable as the official Drupal docs say.
Gentoo's webapp-config already handle's this smartly.
2011-07-15 06:42:26 +00:00
Albert Hopkins 479dee63e0 drupal/firstboot.start: instead of moving to /root, rename with .disabled appended. 2011-07-15 02:21:45 -04:00
Albert Hopkins ef9337ec3d Added Drupal virtual appliance.
Enable appliance-specific motd.sh to be called
2011-07-15 05:43:50 +00:00
Albert Hopkins 85acce3879 motd.sh: Don't pass "-u" to the date command 2011-07-12 20:28:59 +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 71c1b22e6d teamplayer/package.use: "id3" USE flag renamed to "id3tag" 2011-07-07 03:08:36 +00:00
Albert Hopkins 28b6e2584c make SCROBBLER_AUTH a Makefile variable instead of hardcoding it into the
Makefile. This also fixes a build error when said file doesn't exist.
2011-07-07 01:41:28 +00:00
Albert Hopkins 962ae4b1e7 Default chroot directory should not fail when used in the appliance's Makefile 2011-07-07 01:40:20 +00:00
Albert Hopkins 581a30ec7f Only enable serial console when HEADLESS=YES 2011-07-01 13:58:26 -04:00
Albert Hopkins 1063bb69f1 Apparently /dev/shm has to be mounted from /dev/shm in fstab in order to
not get mounted twice
2011-06-29 01:40:06 -04:00
Albert Hopkins c5ffd84db2 * Move all the kernel-building logic to a seperate shell script
* Make the Makefile less ugly and embarrassing (I hope)

* Remove the stage3 devnode fix as the latest stage3s appear fixed
2011-06-29 00:43:12 -04:00
Albert Hopkins 1c52ff0e97 grub.conf: pass "rootfstype=ext4" to the kernel 2011-06-28 15:00:08 -04:00
Albert Hopkins 6bce5fffbb kernel.config: Add AHCI SATA driver 2011-06-28 13:52:54 -04:00
Albert Hopkins 23e20007a9 Make it so no kernel is compiled if a kernel is installed in /boot and an
emerge will only install the same kernel.

This (and other) logic really needs to be moved out of Makefile and into a
shell script where it can be better maintained and not look so ugly.
2011-06-28 08:20:05 -04:00
Albert Hopkins 3077913344 * kernel: Don't pass "-n" to emerge when emerging the kernel as stage4s
don't have the kernel sources and subsequent builds will fail

* kernel: Remove any old kernel and modules before installing new

* Don't link /bin/sh to dash if DASH != YES

* Add appliance name and creation date comments to package list files
2011-06-27 06:43:59 -04:00
Albert Hopkins a545aca3b2 UDEV=NO: Don't delete and then re-create dev nodes that are in the tarball.
Also create more virtio disk nodes
2011-06-25 21:48:16 -04: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 1878dd94d9 Make package list a Makefile variable
Add .lst files to .hgignore
2011-06-25 13:44:02 -04:00
Albert Hopkins 5337f24773 GNOME updates 2011-06-25 09:48:46 -04:00
Albert Hopkins 2dcd2fcd9d kde: minor update 2011-06-25 08:21:56 -04:00
Albert Hopkins 222def37a0 Switch kernel config to 2.6.38-gentoo-r6. Enable xz compression. 2011-06-24 23:09:57 -04:00
Albert Hopkins 6f594daebb Since RIT.edu's mirror is 30+ days behind, switch rsync mirror to GA Tech 2011-06-24 22:48:07 -04:00
Albert Hopkins f76eab5c82 kernel.config: enable LSI adapter (for vmware) 2011-06-23 18:56:26 -04:00
Albert Hopkins 40330d8858 Add preliminary support for Xen Virtual Appliance (xva) images. 2011-06-23 09:09:41 -04:00
Albert Hopkins d86cb09e04 * New Makefile variable PKGLIST. When set to 1 will create a file outside the
appliance with the list of installed packages on that appliance.  PKGLIST
  is off by default.

* Works with baselayout-2 stage3s, including the fix for the current broken
  stage3 tarballs.

* The new stage3 tarballs are much more limited as far as what dev nodes
  are included.  In addition to being broken stage3s themselves, it also
  broke the UDEV=NO option.  So I have included my own device node tarball
  which is installed when UDEV=NO.

* Put double quotes around hostname in /etc/conf.d/hostname.
2011-06-22 21:42:59 -04:00
Albert Hopkins ea6bda4f2e Don't set system Python to python-3* 2011-06-08 07:23:19 -04:00
Albert Hopkins 77ae4d8016 lodgeit: lodgeit.sh: Make posix-compliant 2011-05-19 16:11:08 -04:00
Albert Hopkins df1d7650d8 Baselayout-2/openrc compatibility and stage4 tarballs.
The first major change here is the support of baselayout-2/openrc.  So far
Gentoo has not released a stage3 tarball with baselayout-2, but I've tested
this enough that I feel it works even when doing an upgrade.  The
baselayout-1 stuff has been converted, however it is recommended to not use
this until baselayout-2 is available in Gentoo stage3s as I don't want to
support converting, or you can do this:

stage4 tarball support.  I'm not sure why I didn't support this before.
Now not only can stage4 tarballs be build, instead of or in addition to
virtual appliance images, but stage4 tarballs can also be used in lieu of a
stage3.  There is a new "stage4" make target, and also when building the
Makefile will first look for stage4/<appliance>-stage4.tar.bz2 and if that
exists use it instead of the Gentoo stage3.  If you specify stage4 as a
target and also already have a stage4, then the Makefile will unpack the
stage4 into the chroot, perform updates, and then re-create the stage4
based on the updates (atomically).  In addition there is a new Makefile
variable, SOFTWARE.  The default value is "1" meaning it will call the
software target (thereby installing/updatein software), but if you set
SOFTWARE=0, then the software phase will not be run.  This can allow, for
example, to build a VM image from a stage4 without performing software
updates, in effect a straight stage4 to image for quick image building.

Since most appliances are pretty much based on the "base" appliance, one
could imply copy the base stage4 to the new appliance stage4 and start from
there, instead of having to start from a vanilla stage3, for example:

# cp stage4/base-stage4.tar.bz2 stage4/kde-stage4.tar.bz2
# make APPLIANCE=kde stage4

Will take the already existing base stage4 and simply update it to kde,
which will be easier/faster than starting from a stage3.

There are still some tweaks that need to be done for the stage4 support.
Specifically Makefile targets need to be written with the assumption that
they may be called more than once (e.g. updating a stage4 or going from
stage4 to image with SOFTWARE=1).  For the most part things work according
to that assumption, but there are a few things that need to be tweeked,
such as the inittab settings if one is building a "headed" image but it's
based off a headless stage4.  New appliance authors should also write their
"preinstall" and "postinstall" targets with the assmption that it may be
called more than once.
2011-05-17 20:44:04 -04:00
Albert Hopkins 331a28bd11 Allow for scrobbler auth to be built into the TeamPlayer configuration 2011-05-17 20:28:53 -04:00
Albert Hopkins fc242370e6 xfce: Add support for baselayout-2 2011-05-14 12:33:28 -04:00
Albert Hopkins 827ee1dd6f x: support for baselayout-2 2011-05-14 12:31:45 -04:00
Albert Hopkins 369daeaf14 teamplayer: Make baselayout-2- and stage4-compatible 2011-05-13 06:51:24 -04:00
Albert Hopkins e96251a580 Forgot to add gnome/gdm.start 2011-05-12 18:29:10 -04:00
Albert Hopkins 47ace21ebc lodgeit: Make opernrc- and stage4- compatible 2011-05-12 15:16:20 -04:00
Albert Hopkins c15f4fbd3f kde: baselayout-2 fixes. Now supports KDE 4.6 2011-05-12 10:38:33 -04:00
Albert Hopkins 111ea2c4e5 gnome: baselayout-2 Fixes 2011-05-12 10:35:06 -04:00
Albert Hopkins bb3d3f77ac xfce: Updates 2011-04-23 00:05:01 -04:00
Albert Hopkins f44dffdc96 kde: Various updates for KDE, removed support for unstable tree build 2011-04-23 00:01:57 -04:00
Albert Hopkins 56c29e55a0 gnome: Updated USE flags 2011-04-22 22:25:59 -04:00
Albert Hopkins 467e417a40 Update kernel config for the latest stable kernel 2011-04-22 22:24:06 -04:00
Albert Hopkins 35f9a64e22 x: added minimal USE flags 2011-04-22 22:22:47 -04:00
Albert Hopkins fe8ecee7c7 Replacing dhcpcd with dhcp (client only) 2011-04-22 22:20:01 -04:00
Albert Hopkins 1d3b1e00fc base: Added "minimal" USE flag for ncurses and pam 2011-04-11 19:53:07 -04:00
Albert Hopkins 8f42ca1fc1 teamplayer: minimal USE flags for pambase and ncurses 2011-04-09 23:47:23 -04:00
Albert Hopkins a1a0c1d1f5 teamplayer: various updates. keeping up with the times... 2011-04-09 23:45:35 -04:00
Albert Hopkins 0c8126df93 lodgeit: Various fixes. Works with python2.7 and latest stage3 2011-04-09 10:01:18 -04:00
Albert Hopkins 1edf7ed990 New DASH Makefile variable, if set to "YES", will install app-shells/dash
and set it as the login shell for root.
2011-04-06 10:25:05 -04:00