23028 Commits

Author SHA1 Message Date
Brandon Philips
2e0a3d9a2e bump(coreos-init): create /srv and /opt 2013-07-26 11:28:43 -07:00
Brandon Philips
aa944b9be2 fix(coreos-installer): get dev image location fix 2013-07-26 11:09:51 -07:00
Brandon Philips
8bb371377f fix(coreos-base): move images/dev to overlays/usr/local 2013-07-26 10:49:19 -07:00
Brandon Philips
3970d28b5a fix(*): move /home/core/user to /home/core 2013-07-26 10:38:33 -07:00
Brandon Philips
3b30f8def3 fix(build_library): symlnks to stateful
add backward compat symlinks to the stateful directory
2013-07-26 10:20:29 -07:00
Brandon Philips
be72d56a50 fix(*): move dev_image to overlays
put the dev_image in overlays/usr/local
2013-07-26 10:20:18 -07:00
Brandon Philips
589a10d8d5 fix(coreos-base/*): move /mnt/stateful_partition around
This bumps all of the ebuilds to use the new /media/state code.
2013-07-26 08:56:08 -07:00
Brandon Philips
ca0b25028e Merge pull request #59 from philips/remove-container-stuff
chore(build_library): remove container library
2013-07-26 08:51:53 -07:00
Brandon Philips
cf8be2c320 fix(*): use /media/state and overlays dir
/mnt/stateful_partition was already a little unruly with
/mnt/stateful_partition/home and /mnt/stateful_partition/var_overlay
serving similar functional purposes.

Then we needed to also add /opt and /srv overlays.

I also have wanted to get rid of the ugly and weird
/mnt/stateful_partition name so lets just have one big move.

/mnt/stateful_partition -> /media/state
/mnt/stateful_partition/var_overlay -> /media/overlays/var
/mnt/stateful_partition/home -> /media/overlays/home

From there we add /media/overlays/srv and /media/overlays/opt
2013-07-26 08:44:47 -07:00
Brandon Philips
0ece58228f chore(*): remove unused scripts
bin/cros_update_image.sh
  cros_show_stacks
  image_to_usb.sh
  make_netboot.sh
  mod_image_for_recovery.sh
  update_kernel.sh
2013-07-26 08:40:32 -07:00
Brandon Philips
cb3e04d55b fix(*): use new stateful_partition location
moving /mnt/stateful_partition to /media/state
2013-07-26 08:30:22 -07:00
Brandon Philips
b585ebc2d6 chore(net-misc/strongswan): remove, we don't use it right now
remove strongswan, we aren't using it right now.
2013-07-26 06:42:56 -07:00
Brandon Philips
141d488da6 chore(build_library): remove container library
This is no longer used. It was used to debug early boot problems early
on.
2013-07-26 05:35:20 -07:00
polvi
7ed28ac286 Merge pull request #58 from marineam/baselayout
Baselayout/release file fixes
2013-07-25 21:14:35 -07:00
Michael Marineau
2acc703cc8 fix(set_lsb_release): Spelling is for suckers 2013-07-26 00:02:11 -04:00
Michael Marineau
9ed620c277 fix(build_image): Fix baselayout install in final images.
The basic system directory structure including the lib symlinks were
fixed for sysroot in the following commits but the image build uses an
entirely different bit of code to do the exact same set of hacks. Port
those changes to the image building code to hopefully make all happy.

2ae0c30f4ec3eb57581494151e4fe7a035af342f
ac931bd088781b226a16f1fffc768edaf0f1ab94
2013-07-25 23:22:12 -04:00
Michael Marineau
fcb2a614b6 fix(set_lsb_release): swap BUILD_ID and VERSION_ID
This is what happens when you run off without finishing testing.
2013-07-25 23:18:13 -04:00
polvi
a5366ee685 Merge pull request #57 from marineam/lsb_release
fix(set_lsb_release): Add option for production updates, misc updates.
2013-07-25 15:31:53 -07:00
polvi
e3b4bbb8c7 Merge pull request #125 from polvi/docker-start
re-add docker starting by default
2013-07-25 15:28:54 -07:00
Alex Polvi
20dc12868f add symlink 2013-07-25 15:24:05 -07:00
Michael Marineau
cc0873bbd8 fix(set_lsb_release): Add option for production updates, misc updates.
Add --production_track argument to set_lsb_release and
cros_make_image_bootable to support using the production update service
on developer builds of the 'prod' image. This replaces the previous hack
of setting COREOS_OFFICIAL=1 in the middle of the build.

Since lsb-release doesn't exist prior to the first call to
set_lsb_release switch to sudo_clobber instead of append. That way if it
is called a second time later the contents aren't duplicated.

Write the info to gentoo-release and os-release as well so everything
gets the same information.
2013-07-25 18:14:51 -04:00
Michael Marineau
4cc96fab60 Merge pull request #127 from marineam/sudo
fix(coreos-base/coreos-base): Disable sudo password for core user.
2013-07-25 15:13:27 -07:00
Michael Marineau
7006b267c2 fix(coreos-base/coreos-base): Disable sudo password for core user.
Considering access to production systems will be by ssh keys, not some
developer password, the user doesn't have a password to give sudo.
2013-07-25 15:45:48 -04:00
polvi
8a39a029fa Merge pull request #126 from marineam/zeroconf
fix(profiles): Disable zeroconf use flag globally.
2013-07-25 12:35:50 -07:00
Michael Marineau
8f733efe2f fix(profiles): Disable zeroconf use flag globally. 2013-07-25 15:30:44 -04:00
Alex Polvi
8affc38775 re-add docker starting by default 2013-07-25 12:28:53 -07:00
polvi
36afd6f4e9 Merge pull request #56 from polvi/oem-ami
feat(oem-ami): add oem support for amazon ec2
2013-07-25 12:15:11 -07:00
Greg Kroah-Hartman
16fefb8e54 Merge pull request #123 from marineam/virtio
fix(sys-kernel/coreos-kernel): Enable virtio block device support.
2013-07-25 11:20:02 -07:00
Michael Marineau
211c947145 fix(sys-kernel/coreos-kernel): Enable virtio block device support.
Enable virtual block devices to support qemu drives configured with
if=virtio instead of the default emulated hardware interface. While I'm
at it throw in the virtio scsi module just in case a need for fancier
devices comes along at some point.
2013-07-25 14:08:12 -04:00
Michael Marineau
b2b23fdaf4 Merge pull request #55 from marineam/vm
feat(image_to_vm): Refactor to make adding/changing vm formats easier.
2013-07-25 11:05:42 -07:00
Michael Marineau
9379ee19f0 fix(vm_image_util): Remove space before # comment in qemu config.
Last minute bug slipped in because of a line I commented out since the
current coreos kernel doesn't support virtio block devices (that change
coming soon). Qemu doesn't tolerate any spaces before # in comments.
2013-07-25 13:54:50 -04:00
polvi
6847a2e1bf Merge pull request #122 from philips/oem-ami-round2
Oem ami round2
2013-07-25 10:34:45 -07:00
Brandon Philips
7941c739f4 Merge pull request #54 from philips/use-lsb-coreos
chore(*): use COREOS lsb-release variables
2013-07-25 10:23:24 -07:00
Brandon Philips
6deddda025 Merge pull request #117 from philips/use-lsb-coreos
chore(*): use COREOS lsb-release variables
2013-07-25 10:23:21 -07:00
Michael Marineau
df886c91e7 fix(vm_image_util): Remove tab characters. 2013-07-25 13:16:04 -04:00
Alex Polvi
e073045707 Merge branch 'master' of https://github.com/coreos/coreos-overlay into oem-ami
Conflicts:
	coreos-base/coreos/coreos-0.0.1-r196.ebuild
	coreos-base/coreos/coreos-0.0.1-r199.ebuild
	coreos-base/coreos/coreos-0.0.1-r200.ebuild
	coreos-base/coreos/coreos-0.0.1.ebuild
	coreos-base/oem-ami/files/install-ec2-key.sh
2013-07-25 10:11:34 -07:00
Alex Polvi
3d4a8899e5 feat(coreos-base/oem-ami): add packages to make amis work 2013-07-25 10:11:16 -07:00
Alex Polvi
5982943b4e add scripts 2013-07-25 07:50:45 -07:00
Alex Polvi
d5befd8097 add ebs script 2013-07-24 21:32:29 -07:00
Brandon Philips
6ca5830ac8 Merge pull request #119 from philips/update-everything-to-use-coreos-lsb-release
chore(*): use COREOS lsb-release variables
2013-07-24 20:51:33 -07:00
Michael Marineau
033cf224f1 feat(image_to_vm): Refactor to make adding/changing vm formats easier.
The old script was heading towards spaghetti code realm. This breaks up
all the image variations such as hybrid MBR, OEM packages, etc into
configuration options and small functions that actually do the work.

All this is in the new vm_image_util.sh library but the command line
parsing and overall procedure remains in image_to_vm.sh

As part of this we gain support for putting some qemu options in a
config file as well as Xen virtual machines using pygrub and pvgrub.

Lots of generally unused options have been removed to simplify things
and keep output file names consistent.
2013-07-24 23:11:50 -04:00
Brandon Philips
fa976e84fd chore(*): use COREOS lsb-release variables
update these ebuilds to use the COREOS lsb-release variables

coreos-installer/coreos-installer
cros-devutils/cros-devutils
gmerge/gmerge
update_engine/update_engine
vboot_reference/vboot_reference
2013-07-24 19:14:25 -07:00
Brandon Philips
58bef67e6e Merge pull request #118 from marineam/fixinst
fix(sys-kernel/bootengne): Include missing dependency, code update.
2013-07-24 18:57:04 -07:00
Michael Marineau
22ebaa50f8 fix(sys-kernel/bootengne): Include missing dependency, code update.
The module install wasn't noticing the missing dep, should be good now.
2013-07-24 19:23:40 -04:00
Brandon Philips
9421147994 chore(*): use COREOS lsb-release variables
use the COREOS_ variables in /etc/lsb-release
2013-07-24 15:44:24 -07:00
Brandon Philips
b9568f9dce chore(*): use COREOS lsb-release variables
use the COREOS_ variables in /etc/lsb-release
2013-07-24 15:43:26 -07:00
Brandon Philips
98973c403a Merge pull request #116 from philips/install-terminfos
feat(sys-libs/ncurses): initial import
2013-07-24 09:26:46 -07:00
Greg Kroah-Hartman
7626b31cb7 Merge pull request #25 from philips/move-ncurses-to-coreos
chore(sys-libs/ncurses): move to coreos-overlay
2013-07-24 09:18:11 -07:00
Brandon Philips
2c6d7df403 feat(sys-libs/ncurses): initial import
import and add -256color variants of terminals.
2013-07-23 23:58:54 -07:00
Brandon Philips
0a68e01381 chore(sys-libs/ncurses): move to coreos-overlay
we have to tweak this ebuild to add the -256color variants
2013-07-23 23:54:29 -07:00