* following symbols defined (depending on the distro):
*
* REDHAT=1 For Fedora, RHEL, EPEL and workalikes.
- * DEBIAN=1 For Debian based distros.
+ * DEBIAN=1 For Debian.
+ * UBUNTU=1 For Ubuntu.
+ * ARCHLINUX=1 For Archlinux.
+ *
+ * There is also a list of packages which are excluded if they appear
+ * as dependencies of the packages below. See: excludelist.in
*/
-#if REDHAT == 1
+/* Basically the same with a few minor tweaks. */
+#ifdef UBUNTU
+#define DEBIAN 1
+#endif
+
+#ifdef REDHAT
augeas-libs
+ btrfs-progs
+ cryptsetup-luks
diffutils
+ e2fsprogs
/* e4fsprogs only exists on RHEL 5, will be ignored everywhere else. */
e4fsprogs
+ gfs-utils
+ gfs2-utils
+ grub
+ hfsplus-tools
iputils
kernel
MAKEDEV
+ nilfs-utils
ntfsprogs
- scrub
+ ntfs-3g
+ reiserfs-utils
libselinux
+ systemd /* for /sbin/reboot */
udev
util-linux-ng
-#elif DEBIAN == 1
+ vim-minimal
+ xz
+ zfs-fuse
+#endif /* REDHAT */
+
+#ifdef DEBIAN
bsdmainutils
+ btrfs-tools
+ cryptsetup
+ diff
+ e2fsprogs
+ gfs-tools
+ gfs2-tools
+ grub-pc
+ hfsplus
iproute
libaugeas0
+ linux-image
+ nilfs-tools
+ ntfs-3g
+ ntfsprogs
+ reiserfsprogs
udev
+ ufsutils
util-linux
-#endif
+ vim-tiny
+ xz-utils
+ zfs-fuse
+#endif /* DEBIAN */
+
+#ifdef ARCHLINUX
+ kernel26
+ vim
+ btrfs-progs-unstable
+ cryptsetup
+ diffutils
+ augeas
+ zfs-fuse
+ e2fsprogs
+ grub
+ iputils
+ nilfs-utils
+ ntfsprogs
+ ntfs-3g
+ reiserfsprogs
+ udev
+ util-linux-ng
+ xz
+#endif /* ARCHLINUX */
+acl
+attr
bash
binutils
coreutils
+cpio
dosfstools
file
-grub
+findutils
+grep
+gzip
+jfsutils
lsof
lvm2
module-init-tools
net-tools
-ntfs-3g
+/*
+Enabling this pulls out 140 extra packages
+into the appliance:
+ocfs2-tools
+*/
+parted
procps
+scrub
strace
+tar
+#ifndef UBUNTU
+/* on Ubuntu contains a file in /lib64 which conflicts with libc6 that has
+ * /lib64 as a symbolic link
+ */
xfsprogs
+#endif
zerofree