Commit Graph

3233 Commits

Author SHA1 Message Date
Michael Marineau
2fb67c87e6 Merge pull request #187 from marineam/usr
fix(build_image): The kernel is now in /usr/boot
2014-03-12 17:50:12 -07:00
Michael Marineau
0c1198c3bb feat(disk_util): Switch from SYSLINUX's gptmbr.bin to mbr.bin
cgpt now supports generating hybrid MBRs and the classic style mbr.bin
from any version of SYSLINUX should work the same with the hybrid MBR.
The other code, gptmbr.bin, changes after SYSLINUX 3. Switching lets me
play with different versions of SYSLINUX without breaking everything.

With this change all images feature a hybrid MBR so the special case for
some VM platforms has been removed.
2014-03-12 15:38:34 -07:00
Michael Marineau
88820b12d3 fix(build_image): The kernel is now in /usr/boot in /usr images 2014-03-12 14:36:07 -07:00
Michael Marineau
a79eb9305a Merge pull request #186 from marineam/hvm
fix(vm_image_util): Skip kexec when booting on Xen HVM
2014-03-11 21:18:20 -07:00
Michael Marineau
c90ea5f504 fix(vm_image_util): Skip kexec when booting on Xen HVM
This is buggy, instead we will need to handle Xen HVM similar to PV
except this requires SYSLINUX config tweaking instead of grub's menu.lst
2014-03-11 11:38:46 -07:00
polvi
b644bcb004 Merge pull request #185 from polvi/add-serve
stupid script to serve the latest images
2014-03-07 12:41:49 -08:00
Alex Polvi
5b47df4672 stupid script to serve the latest images 2014-03-07 12:39:03 -08:00
brian
f96ddc8d77 Merge pull request #184 from marineam/btrfs
fix(disk_util): Fix undefined variable introduce in 4dbdb391
2014-03-06 13:31:08 -08:00
Michael Marineau
87c0814006 fix(disk_util): Fix undefined variable introduce in 4dbdb391 2014-03-06 12:41:07 -08:00
Michael Marineau
d4bc782220 Merge pull request #183 from marineam/btrfs
Switch to btrfs
2014-03-06 10:29:50 -08:00
Michael Marineau
4dbdb391a4 feat(disk_util): Switch to btrfs for root filesystem in /usr images
This is all that is required to swap out ext4 for btrfs.
No btrfs user space tools or auto-resize support yet.
2014-03-05 18:52:23 -08:00
Michael Marineau
2aa3571e45 rename(configure_bootloaders): Remove the legacy use of "legacy" 2014-03-05 16:00:24 -08:00
Michael Marineau
a022642e54 rename(disk_layout): Remove the legacy use of "legacy" 2014-03-05 15:57:22 -08:00
Michael Marineau
96ede2334d Merge pull request #182 from marineam/lock
fix(catalyst): Don't disable ebuild-locks
2014-03-05 10:52:58 -08:00
Michael Marineau
695ff028b3 fix(catalyst): Don't disable ebuild-locks
This doesn't make things go faster and I am suspicious that it makes
things worse. For example /etc/xml/catalog winds up empty from time to
time and I wonder if this locking is related to that.
2014-03-04 23:08:37 -08:00
Michael Marineau
6bebce9dec Merge pull request #181 from marineam/resize
fix(build_image): Switch STATE/ROOT partitions to coreos-resize type.
2014-03-03 15:48:05 -08:00
Michael Marineau
ae03aaf368 fix(build_image): Switch STATE/ROOT partitions to coreos-resize type.
This is used by the new resize implementation to identify which
partition to resize during boot.
2014-03-03 13:08:31 -08:00
polvi
c465be03f2 Merge pull request #180 from marineam/fix-digests-again
fix(release_util): Fix DIGESTS regression from feb59db9f
2014-03-01 09:23:03 -08:00
Michael Marineau
1177d198da fix(release_util): Fix DIGESTS regression from feb59db9f
While attempting to fix the easy to mix up DIGESTS names in feb59db9f I
stumbled across yet another way that the DIGESTS names were a bit
unpredictable: previously a .bz2 got stuck into the file name when
upload_images automatically compressed some file types. The new code
missed this and never added the .bz2. Correct this now, both for
image_to_vm which has a pile of glue to keep the legacy names in place
for now and build_image which I never intended to change.
2014-02-19 17:50:40 -08:00
Michael Marineau
dc9a03c40f Merge pull request #179 from marineam/nofast
Disable parallel_emerge, fix using SDKs w/ new baselayout
2014-02-18 17:18:22 -08:00
Michael Marineau
16bc3521e5 fix(make_chroot): Fix SDK setup w/ empty passwd and group files
New baselayout 3 based SDKs define system files in separate read-only
files so the normal group and passwd files don't exist yet.
2014-02-17 22:48:52 -08:00
Michael Marineau
10025571d9 fix(common): Disable parallel_emerge by default for most commands.
I would like to phase out parallel_emerge so disable it for all commands
other than build_image which is the only one that shows a noticeable
benefit from it (~2 min with --fast, ~3 min with --nofast).
2014-02-17 12:42:22 -08:00
Michael Marineau
d4166b4998 Merge pull request #178 from marineam/gentoo-release
fix(prod_image_util): restore /etc/gentoo-release
2014-02-17 11:20:14 -08:00
Michael Marineau
930260ab9e fix(prod_image_util): restore /etc/gentoo-release
Vagrant reads this file to determine that we are CoreOS... so lets not
break that just yet. A PR to switch to os-release has been posted:
https://github.com/mitchellh/vagrant/pull/2985

Some day gentoo-release will be dropped but that day is not today.
2014-02-14 20:28:20 -08:00
Michael Marineau
cf668e9049 Merge pull request #177 from marineam/baselayout
Baselayout
2014-02-14 18:18:26 -08:00
Michael Marineau
7dd8d95b45 fix(build_image): Drop long unused overlays/usr/local bind mount
This was used by the old ChromeOS "dev image" scheme and does not get
mounted by default so stop shipping it.
2014-02-14 16:14:39 -08:00
Michael Marineau
438478f0cf fix(base_image_util): Do not auto-generate conflicting tmpfiles entries
Many directories are now handled by the new baselayout instead.
2014-02-14 16:13:31 -08:00
Michael Marineau
ae67e89159 Merge pull request #176 from marineam/nss
fix(update_chroot): Install/update nss-usrfiles early
2014-02-14 14:40:37 -08:00
Michael Marineau
e6d348cbd1 fix(update_chroot): Install/update nss-usrfiles early
Soon nss-usrfiles will be required to resolve users and groups properly.
To avoid potentially breaking during the transition we need to make sure
the package is installed early during the chroot upgrade process.
2014-02-13 18:53:53 -08:00
Michael Marineau
5dc090dae9 Merge pull request #175 from marineam/coretest
Use coretest in AMI test script
2014-02-11 21:36:14 -08:00
Michael Marineau
5bc66986cf feat(test_ami): Add coretest 2014-02-11 21:16:19 -08:00
Michael Marineau
6097c50ccf fix(test_ami): Update timeouts to what we've actually been using 2014-02-11 21:16:19 -08:00
Michael Marineau
02edace9da fix(test_ami): Drop old autotest based version.
This never worked and has been abandoned in favor of coretest.
2014-02-11 21:16:19 -08:00
Michael Marineau
2d20e79b38 Merge pull request #174 from marineam/fix-plus
fix(common): Fix dumb typo in bash alternate-value expansion
2014-02-10 22:46:18 -08:00
Michael Marineau
e6739a22a8 fix(common): Fix dumb typo in bash alternate-value expansion
Missing a :
Perhaps I'm getting to clever with my shell for my own good.
2014-02-10 21:56:59 -08:00
Michael Marineau
7453f7b749 Merge pull request #173 from marineam/auto-rev
fix(tag_release): increment minor version if major is unchanged
2014-02-10 15:23:14 -08:00
Michael Marineau
5c420c188e fix(tag_release): increment minor version if major is unchanged 2014-02-10 15:03:16 -08:00
Michael Marineau
f2c0c79775 Merge pull request #172 from marineam/load
fix(setup_board): increase load-based threshold to 2xCPUs
2014-02-09 21:34:12 -08:00
Michael Marineau
e1ee712a16 fix(setup_board): increase load-based threshold to 2xCPUs
My laptop has idle time! This cannot stand...
2014-02-09 21:01:39 -08:00
Michael Marineau
5bba92ce2c Merge pull request #171 from marineam/bashism
fix(vm_image_util): assert qemu wrapper is sh friendly
2014-02-09 19:59:24 -08:00
Michael Marineau
821d718a74 fix(vm_image_util): assert qemu wrapper is sh friendly 2014-02-09 18:22:34 -08:00
Michael Marineau
5abb561e19 Merge pull request #170 from marineam/catalyst
fix(catalyst): Recreate portage snapshot with --rebuild
2014-02-09 18:06:58 -08:00
Michael Marineau
a1026792aa fix(catalyst): Recreate portage snapshot with --rebuild 2014-02-09 17:37:53 -08:00
Michael Marineau
c39443e597 Merge pull request #169 from marineam/binhost
binhost config update
2014-02-09 16:06:29 -08:00
Michael Marineau
30b72754ff fix(setup_board): Remove note about annoying eselect warning
Silenced in eselect 1.4
2014-02-09 14:48:45 -08:00
Michael Marineau
7a43a07fef feat(setup_board): Configure binary package sources on the fly.
Generate list of board binhosts based on the new $COREOS_DOWNLOAD_ROOT
variable and optionally use packages only from a specific version
2014-02-09 14:24:01 -08:00
Michael Marineau
5524a7ce9a fix(common): Define VERSION_ID and BUILD_ID
Scripts can now use COREOS_VERSION_ID to get the base version instead of
having to strip off the BUILD_ID that is appended for unofficial builds.
2014-02-09 13:59:42 -08:00
Michael Marineau
50e54cea85 fix(release_util): Move default upload root to common, add --upload_root
Make it possible for other scripts to share the same value for our
release repository and equally easy to override with a custom value.
Also allow setting the root from the command line in addition to the
environment. Usually --upload_root is better to use than --upload_path.
2014-02-07 10:37:45 -08:00
Michael Marineau
d0e9240747 Merge pull request #166 from oremj/binbash
qemu_template: use /bin/bash instead of /bin/sh.
2014-02-07 10:34:33 -08:00
Jeremiah Orem
84b94c97f7 qemu_template: == is a bashism, change to =. 2014-02-07 00:17:14 -08:00