Commit Graph

372 Commits

Author SHA1 Message Date
Albert Hopkins da9e895652 Makefile: Make the stage3 target inside the chroot
Then we don't have to manually clean it (it gets clean on the stage4
target).
2015-02-27 20:37:14 +00:00
Albert Hopkins 8240a836e1 Makefile:$(RAW_IMAGE) add stage4 tarball as a dependency.
If not then re-making the image won't happen if the image already exists
but older than the stage4.
2015-02-27 20:10:20 +00:00
Albert Hopkins 0799c48705 Makefile:preproot: Make sure we've always got a local copy of resolv.conf
Or else network will fail inside the chroot.
2015-02-27 20:09:13 +00:00
Albert Hopkins 4775bc9b07 gnome: Add "udev" flag to xorg-server.
It's required but unfortunately portage doesn't say so. It just dies in the
build if it's not enabled.
2015-02-27 20:08:25 +00:00
Albert Hopkins 958ef1a7b9 Merge in changes from stable. 2015-02-22 16:31:02 +00:00
Albert Hopkins d542be4ba2 make.conf: Switch python targets to 3.4
It's the latest stable python3.
2015-02-22 16:30:15 +00:00
Albert Hopkins c9a81d2806 The great systemd commit.
This change converts the appliances from openrc to systemd.  In addition,
systemd needs to at least be be installed on the build machine as we now
use systemd-nspawn instead of chroot/bind mounts do to the fact that
systemd-nspawn is much more robust and lese prone to errors.  In addition:

* All stage4 tarballs and images are now stored in the images/ directory by
  default.

* A package dir is now required and is set up in the packages/ directory by
  default.

* The portage directory is not unpacked in the chroot every time anymore
  and is instead bind-mounted from a directory by systemd-nspawn.  This is
  the portage/ directory by default.

* In addition there is a distfiles/ directory (by default) which is
  bind-mounted in the chroot.  It does what you'd probably expect.

* The Makefile learned new target, eclean, which will run eclean-dist and
  eclean-pkg to clean out obsolete distfiles and binary packages.

* The REMOVE_PORTAGE_TREE option is removed as portage is no longer
  installed.

* The unused/untested PRUNE_CRITICAL functionality has been removed.  I
  have no idea if it worked and if it didn't I didn't want to fix it.

* As appliances are always using systemd, UDEV is no longer optional.

* Timezones and hostnames are now handled by systemd (systemd-firstboot).

* Stage4 tarballs are now directly importable as systemd containers (and
  probably docker too though I haven't tested that yet).

* A number of packages (for example dhcpd, acpid) have been removed from the
  appliances when systemd provides equivalent functionality.

* We no longer override etc-update.conf.  There's no reason.

* A number of Makefile targets, checkpoints, temp files, etc have been
  removed as they are no longer needed.
2015-02-22 15:32:16 +00:00
Albert Hopkins 50a4a28567 Makefile: Name images/tarball after appliance name not hostname.
The reason being that when you are distributing an image you are likely
distributing an general appliance, not a specific host so it makes sense
that the image name be the name of the appliance and not, e.g., ln33.  This
can always be overriden on the command line or in a profile.
2015-02-21 13:21:05 +00:00
Albert Hopkins 928dcf9e1c Merge in stable fix. 2015-02-21 13:18:10 +00:00
Albert Hopkins efeeb737b6 Makefile: export RSYNC_MIRROR
Another forgotten artifact from cs bcbd924efc3a.
2015-02-21 13:17:08 +00:00
Albert Hopkins 2f34925b43 Merge in changes from stable. 2015-02-20 20:25:52 +00:00
Albert Hopkins d41c60f9bb xfce: Change firefox to firefox-bin.
Use the bin package instead.
2015-02-20 20:25:21 +00:00
Albert Hopkins 5a89b2a70b Merge in fixes from stable branch. 2015-02-17 20:31:35 +00:00
Albert Hopkins 5ca8aefb99 teamplayer: Use the new "mood" AUTOFILL_STRATEGY 2015-02-17 20:25:43 +00:00
Albert Hopkins 8823b3f922 teamplayer: Use python3.4
Instead of 3.3 (3.4 is stable now).
2015-02-17 20:23:58 +00:00
Albert Hopkins 2e4eeb4238 teamplayer/package.use: Add use flag for libevent.
This fixes a build issue with ntp.  The bug is already reported upstream.
2015-02-17 20:21:58 +00:00
Albert Hopkins e3836906f6 configs/make.conf.*: Add "bindist" to USE variable.
I thought I had committed this already.  Since appliances/images may be
distributed, we should have bindist set.  It only took me nearly 5 years to
fix this bug.
2015-02-17 20:20:39 +00:00
Albert Hopkins ff025a25c5 Merge in fixes from stable. 2015-02-16 19:17:55 +00:00
Albert Hopkins 38352472d7 configs: Update x86 kernel to 3.19 2015-02-16 19:14:39 +00:00
Albert Hopkins 6050e549a0 scripts/sync-stage3.sh: Make work with x86
... until one of these days when I give up on 32-bit altogether.
2015-02-16 18:39:52 +00:00
Albert Hopkins 2841b6ebf7 configs: Update amd64 kernel to 3.19 2015-02-16 18:27:29 +00:00
Albert Hopkins f61e01f1dd sync_stage3: Use a helper script
The Makefile logic was lousy and broken.  Add a more robust helper script.
2015-02-16 18:03:44 +00:00
Albert Hopkins 64d32b83ac appliances: Drop drupal.
It didn't build last I checked and I don't use it anyway so...
2015-02-14 20:24:31 +00:00
Albert Hopkins 6d149c6bd4 Creating a tag (and stable branch).
Keeping a stable branch as I commence to convert to systemd.
2015-02-14 20:04:28 +00:00
Albert Hopkins 076daba560 airport: Updates. 2015-01-07 22:27:18 +00:00
Albert Hopkins bc31fc05bb teamplayer: Updates. 2015-01-07 13:07:38 +00:00
Albert Hopkins 8d4eae03a4 configs: Update x86 kernel config to 3.18 2014-12-22 21:49:49 +00:00
Albert Hopkins e2761bb99c configs: Update amd64 kernel config to 3.18 2014-12-22 20:34:18 +00:00
Albert Hopkins 014d33472a configs: Update x86 kernel config to 3.17 2014-10-10 18:29:36 +00:00
Albert Hopkins e2214a04a1 configs: Update am64 kernel config to 3.17 2014-10-10 14:07:33 +00:00
Albert Hopkins c3aeba709c configs: Update amd64 kernel config to 3.16.2. 2014-09-11 13:11:09 +00:00
Albert Hopkins f9aad343ca kernel.config. update x86 for kernel 3.16.1 2014-08-30 18:18:57 +00:00
Albert Hopkins 9aecaedcd6 Makefile: image, stage4: clean up after oneself
Make these targets that have temporary targets/mount-points clean up after
themselves.
2014-08-30 18:12:04 +00:00
Albert Hopkins 1fe98b6b7c Makefile: don't pass $(USEPKG) to @preserved-rebuild
... kinda defeats the purpose.
2014-08-30 16:53:30 +00:00
Albert Hopkins c8cec7093c package.use: Use internal-glib for pkgconfig.
This rids of circular deps and running @preserved-rebuild (which currently
doesn't work but will in the next commit).
2014-08-30 16:01:35 +00:00
Albert Hopkins 4d066f719b scripts/kernel.sh: copy kernel .config before making mrproper.
Else it don't work :P
2014-06-14 21:52:04 +00:00
Albert Hopkins fd40aac3bf Makefile: export USEPKG so that submakes can use it.
I thought this was already being done, but apparently not.
2014-06-14 21:51:21 +00:00
Albert Hopkins cf3dbf1dda scripts/kernel.sh: Run "make mrproper" after kernel install.
This allows "emerge --depclean" to completely clean out the kernel source
directory.
2014-06-13 11:18:26 +00:00
Albert Hopkins 2ecdbeae49 scripts/kernel.sh: Don't re-install kernel package that's already installed. 2014-06-13 11:16:25 +00:00
Albert Hopkins 15c50ddc8d configs: Update 64-bit config for linux 3.15 2014-06-13 11:15:01 +00:00
Albert Hopkins fa09145213 configs: Update 32-bit config for linux 3.15 2014-06-13 10:59:40 +00:00
Albert Hopkins 4b01342bf1 Makefile: use losetup instead of qemu-nbd for loop mounting.
It's more dynamic, is faster, and the newer versions support auto-creating
device nodes for partions.  So it's prefereable to qemu-nbd.
2014-06-11 15:59:57 +00:00
Albert Hopkins f79cc8a353 Move appliances/configs/scripts to seperate directories.
Instead of having everything in the root directory, split them in seperate
directories (appliances, scripts, & configs).  This makes things a little
tidier.

Also added a now Makefile target, appliance-list, that prints a list of the
available appliances.  The split directory change made this easier.
2014-06-09 02:26:17 +00:00
Albert Hopkins a5621ab89d teamplayer: Add teamplayer middleware to settings.
This is required for the newer TeamPlayer to work.
2014-06-02 22:38:12 +00:00
Albert Hopkins aedc7a4b06 Remove arangodb appliance.
It doesn't look like this is being picked up by Gentoo and the overlays are
either out-dated or fail to build with my setup.  I don't use it anyway so
I'm removing it.  I may bring it back if it ever makes it into the official
tree.
2014-05-18 18:51:30 +00:00
Albert Hopkins 9bbba6d985 kernel.config: Update x86 config to 3.14.3 2014-05-18 18:45:48 +00:00
Albert Hopkins 0234357706 kernel.config: Update amd64 config to 3.14.4. 2014-05-18 18:43:13 +00:00
Albert Hopkins 23a18a78aa mongodb: Updates. 2014-05-18 17:03:34 +00:00
Albert Hopkins 86ba13e15d mongodb: Updates. 2014-05-18 16:59:17 +00:00
Albert Hopkins 9c75a490e8 kde: Updates. 2014-05-18 16:58:45 +00:00