Greg Kroah-Hartman
b8332bffac
fix(cros-kernel/x86_64_defconfig) disable ext3 and ext2
...
ext4 can, and should, handle both of these filesystems now, so have it
do so.
2013-06-16 20:57:19 -07:00
Michael Marineau
0213194ec7
Merge pull request #20 from gregkh/kernel_slimdown
...
Kernel slimdown
2013-06-14 17:55:58 -07:00
Greg Kroah-Hartman
352e260000
fix(cros-kernel/x86_64_defconfig) disable HOTPLUG_PCI
...
The kernel does not need HOTPLUG_PCI enabled, so turn it off, which
disables a number of other unneeded drivers as well.
2013-06-14 14:36:10 -07:00
Greg Kroah-Hartman
45da329724
fix(cros-kernel/x86_64_defconfig) turn off SELINUX
...
SELinux does not need to be enabled in the kernel, so turn it off and
fall back to the "default" Linux security model
2013-06-14 14:12:26 -07:00
Greg Kroah-Hartman
095359b384
fix(cros-kernel/x86_64_defconfig) enable vmware drivers
...
Build the vmware drivers so that machines can be properly managed on
those systems.
2013-06-14 14:10:44 -07:00
Greg Kroah-Hartman
2a7d97cae3
fix(cros-bootkernel/x86_64_defconfig_boot) enable vmware drivers
...
Enable the vmware drivers which were somehow not being built.
2013-06-14 13:59:06 -07:00
Greg Kroah-Hartman
e66fffd4e5
fix(cros-bootkernel/x86_64_defconfig_boot) disable unneeded crypto modules
...
Now that the ethernet drivers are gone, we can disable a number of the
crypto modules that are no longer needed.
2013-06-14 13:41:16 -07:00
Greg Kroah-Hartman
d8175c1d5f
fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_PPS
...
This is no longer needed for the boot kernels, as we disabled ethernet
devices.
2013-06-14 13:32:10 -07:00
Greg Kroah-Hartman
7ce163dd33
fix(cros-bootkernel/x86_64_defconfig_boot) disable ACPI_HED and NETPRIO_CGROUP
...
Neither of these options are needed for the boot kernel, so disable
them.
2013-06-14 13:27:42 -07:00
Greg Kroah-Hartman
bd6c4a5373
fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_I2C
...
I2C is not needed for the boot kernel, so disable it, removing a bunch of
build options and modules.
2013-06-14 12:58:31 -07:00
Greg Kroah-Hartman
c98d19b9a5
fix(cros-bootkernel/x86_64_defconfig_boot) disable HOTPLUG_PCI
...
The boot kernel does not need HOTPLUG_PCI, so disable it, and the video
output control option.
2013-06-14 12:51:09 -07:00
Greg Kroah-Hartman
ba7d7d37cb
fix(cros-bootkernel/x86_64_defconfig_boot) build in VIRTIO drivers
...
The VIRTIO drivers should be built into the boot kernel.
Also disable OPENVSWITCH, as that is not needed in the boot kernel.
2013-06-14 12:38:09 -07:00
Greg Kroah-Hartman
b89f6118ed
fix(cros-bootkernel/x86_64_defconfig_boot) disable CONFIG_ETHERNET
...
No ethernet drivers are needed for the boot kernel, so disable them all.
2013-06-14 12:27:26 -07:00
Greg Kroah-Hartman
13cf49daa4
fix(cros-bootkernel/x86_64_defconfig_boot) more config cleanups
...
Build in a few ACPI drivers, and remove some hardware-specific drivers
that the boot kernel will never see.
Also disable CONFIG_WATCHDOG, as the boot kernel should never be alive
long enough for a watchdog to need to kick in.
2013-06-14 12:20:58 -07:00
Greg Kroah-Hartman
e24e8c95aa
fix(cros-bootkernel/x86_64_defconfig_boot) disable ISCSI
...
The boot kernel does not need ISCSI, so disable it.
2013-06-14 12:10:17 -07:00
Greg Kroah-Hartman
a98531f4c0
fix(cros-bootkernel/x86_64_defconfig_boot) disable DRM
...
The boot kernel does not need DRM, so disable it.
2013-06-14 12:05:42 -07:00
Greg Kroah-Hartman
03b11a07de
fix(cros-bootkernel/x86_64_defconfig_boot) disable some more network modules
...
The boot kernel does not care about bonding, tun/tap, or some other
minor network modules, so disable them.
2013-06-14 12:01:17 -07:00
Greg Kroah-Hartman
f1b77b9b5e
fix(cros-bootkernel/x86_64_defconfig_boot) enable HYPERV
...
Always build in the HYPERV modules and core to the bootkernel, as they
will be needed when booting on a Hyper-V system.
2013-06-14 11:56:51 -07:00
Greg Kroah-Hartman
6569caa690
fix(cros-bootkernel/x86_64_defconfig_boot) disable FUSE and PSTORE
...
These two options are not needed in a boot kernel.
2013-06-14 11:51:57 -07:00
Greg Kroah-Hartman
050d586ac1
fix(cros-bootkernel/x86_64_defconfig_boot) disable ext2 and ext3
...
The ext4 filesystem can handle both of these types of images, so only
build it, and not the others.
2013-06-14 11:45:39 -07:00
Greg Kroah-Hartman
6108e1c22a
fix(cros-bootkernel/x86_64_defconfig_boot) disable some filesystems
...
The boot kernel does not need aufs, xfs, btrfs, or vfat, so disable them
all.
2013-06-14 11:42:58 -07:00
Greg Kroah-Hartman
f8462139d6
fix(cros-bootkernel/x86_64_defconfig_boot) disable network filesystems
...
The boot kernel is not going to have to find a network filesystem, so
just disable those entirely.
2013-06-14 11:37:33 -07:00
Greg Kroah-Hartman
20c5ae7d64
fix(cros-bootkernel/x86_64_defconfig_boot) disable SELINUX
...
The boot kernel only needs the default Linux security model, so disable
SELinux and the other kernel security models.
2013-06-14 11:34:01 -07:00
Greg Kroah-Hartman
41d51ec880
fix(cros-bootkernel/x86_64_defconfig_boot) remove some network modules
...
There are a number of network protocols not needed for the boot kernel.
As these were being built as modules, just remove them, they are not
needed.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
d8103c93c2
fix(cros-bootkernel/x86_64_defconfig_boot) disable netfilter the like
...
The bootkernel doesn't need netfilter, and some other networking kernel
modules to be enabled, as all this kernel needs to do is to find the
root partitions and then boot them. So disable those kernel options
entirely.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
b8bec84f14
fix(cros-bootkernel/x86_64_defconfig_boot) build in the Xen modules
...
The boot kernel shouldn't have kernel modules, otherwise it will be a
two-step build process for the whole kernel/initrd package, so just
build in the Xen modules to the kernel image itself.
2013-06-14 11:23:23 -07:00
Greg Kroah-Hartman
d3284c9668
feat(cros-kernel/x86_64_defconfig) enable kvm
...
This lets the guest os host another guest os in a kvm machine.
It's turtles all the way down...
2013-06-13 12:50:28 -07:00
Greg Kroah-Hartman
6ad8262d5b
Merge pull request #17 from gregkh/bootkernel
...
feat(coreos-bootkernel) add coreos-bootkernel ebuild
2013-06-12 18:34:53 -07:00
Greg Kroah-Hartman
798c5718ff
fix(coreos-bootkernel) remove commented out line in ebuild
...
Found during code review, good eye.
2013-06-12 18:34:09 -07:00
Greg Kroah-Hartman
9bd4fb24b0
feat(coreos-bootkernel) add coreos-bootkernel ebuild
...
This is a separate kernel package, and configuration, for the "boot"
kernel. It reuses the same eclass for kernel builds, but does two
things differently for boot kernels:
- no boot/vmlinuz symlink
- picks the boot version of the kernel configuration.
2013-06-12 17:27:46 -07:00
Brandon Philips
020e18a61a
feat(profile): accept all portage-2.1.12*
...
2.1.12 has the CoreOS bugfix patch accept all of them
2013-06-12 17:10:06 -07:00
Greg Kroah-Hartman
4091bc7913
fix(eclass/cros-kernel/x86_64_defconfig) add ACPI support
...
This adds ACPI support to the kernel, which Azure needs in order to
properly boot. Also added is the needed disk drivers, and other hyper-v
drivers.
Bonus is that the shutdown problem is fixed for kvm images, they no
longer hang forever.
2013-06-12 14:54:01 -07:00
Brandon Philips
ff0d10e07c
Merge pull request #14 from gregkh/kernel-cleanup
...
Kernel versioning fixes
2013-06-12 10:27:47 -07:00
Greg Kroah-Hartman
ebf6e21b71
fix(eclass/cros-kernel/x86_64_defconfig) add pcnet32 support
...
This adds the two pcnet drivers to the kernel build, so that the image
will have working networking in a VirtualBox instance.
2013-06-12 10:21:18 -07:00
Greg Kroah-Hartman
0d2159f560
fix(sys-kernel/coreos-kernel) no more firmware files
...
The kernel package should not be building any firmware files, as they
are not needed in virtual machines, _and_ the firmware file locations
are not versioned, preventing multiple kernels to be installed at the
same time.
This change adds a patch to the kernel to not traverse into the firmware
directory at all, and patches the eclass to not do the firmare_install
build process.
2013-06-12 10:13:47 -07:00
Greg Kroah-Hartman
b4bd3d2e00
fix(eclass/cros-kernel2.eclass) version the debug kernel
...
The debug kernel image needs to be versioned, like the rest of the
kernel files, so that multiple kernels can be installed at the same
time. So put it into a unique directory.
2013-06-12 09:45:08 -07:00
Michael Marineau
393d00a697
Merge pull request #12 from philips/add-dracut
...
feat(dracut): add the packages necessary for dracut
2013-06-11 18:03:05 -07:00
Brandon Philips
16e4a79e2b
feat(dracut): add the packages necessary for dracut
...
We are going to need dracut since our initramfs will need udev, etc for
disk discovery. This pulls in the necessary packages.
2013-06-11 17:21:50 -07:00
Greg Kroah-Hartman
31e9b2c0bc
fix(eclass/cros-kernel/x86_64_defconfig) shrink the kernel configuration
...
This removes a bunch of hardware-specific kernel configuration options
that are not needed in a virtual machine. It also removes reiserfs
support as well.
Compressed kernel image has shrunk by 290Kb, and we have way fewer
kernel modules being built, and loaded, as well (what in the world was
loading the agp drivers at boot?!)
2013-06-11 16:35:34 -07:00
Greg Kroah-Hartman
b4761cc6b4
fix(eclass/cros-kernel2.eclass) remove fragment logic as we don't need it
...
We are using a default configuration file, so don't embed configuration
logic into the eclass.
2013-06-11 12:07:16 -07:00
Greg Kroah-Hartman
330b006114
fix(sys-kernel/coreos-kernel): enable CONFIG_IKCONFIG_PROC
...
CONFIG_IKCONFIG was already being built as a module, might as well
make it easy to get the configuration from the kernel when it is loaded.
The space savings is almost nothing to not enable this.
2013-06-09 20:50:13 -07:00
Brandon Philips
9eec050a4a
fix(sys-kernel/coreos-kernel): enable CHECKPOINT_RESTORE
...
run the defconfig through oldconfig and enable checkpoint_restore
properly. Also disable kprobes as we don't need these.
2013-06-08 21:19:06 -07:00
Brandon Philips
ac20d6fcf5
Merge pull request #8 from marineam/nspawn
...
fix(coreos-base/coreos-init): Version bump to fix systemd-nspawn booting
2013-06-08 19:39:27 -07:00
Michael Marineau
4766b3a2df
fix(coreos-base/coreos-init): Version bump to fix systemd-nspawn booting
2013-06-08 22:18:40 -04:00
Brandon Philips
1dad3615d5
feat(sys-process/criu): add features for criu
...
- add the necessary Kernel configurations
- add the sys-process/criu package (removing linux-info eclass to
workaround not having a /usr/src/linux directory)
- add build dependencies to the hard-host-depends package
- accept the unstable nature of criu in accept_keywords
2013-06-08 19:06:33 -07:00
Michael Marineau
d628e55c82
bump(coreos-base/coreos-init): config update
2013-06-06 17:56:10 -04:00
Michael Marineau
9a44eef0a7
fix(coreos-base/coreos-base): Remove dummy rootfs entry from fstab.
...
Remounting / read-write has been moved to the dev_mode helper script in
coreos-init instead of letting systemd do it based on fstab. Now if a
system boots without /root/.dev_mode the filesystem remains read-only.
2013-06-06 17:26:23 -04:00
Michael Marineau
feb372fdb4
bump(coreos-base/coreos-init): New code
...
Adds tmpfiles config, more units, and top level coreos-startup.target
which eliminates the need for maintaining that list in the ebuild.
2013-06-06 17:26:14 -04:00
Michael Marineau
be4215fec0
fix(systemd-rest+docker): Use keepdir to install empty /var directories.
...
Not only is this the safer way of installing empty directories but we
can now leverage keepdir to repopulate missing items in var.
2013-06-06 14:52:09 -04:00
Michael Marineau
42f161d1ba
bump(coreos-base/coreos-init): Update to latest code version.
...
This adds the new sshd-keygen unit.
2013-06-05 20:18:34 -04:00