Michael Marineau
e59e366770
Merge pull request #197 from marineam/release-files
...
cleanup(set_lsb_release): Rework release config setup
2014-03-19 20:39:08 -07:00
Michael Marineau
9d073452ed
fix(build_image): Switch to SYSLINUX for our EFI bootloader.
...
Now with SYSLINUX 6 we can use the same bootloader on EFI and BIOS
systems. This replaces our previous reliance on building default kernel
options into the kernel image itself.
2014-03-19 17:53:00 -07:00
Brian Waldon
8a5f6f3d07
Merge pull request #198 from bcwaldon/virtualbox-mac
...
fix(vagrant): pad vagrant mac to six characters
2014-03-19 17:17:38 -07:00
Brian Waldon
899e7ddebe
fix(vagrant): pad vagrant mac to six characters
2014-03-19 17:03:24 -07:00
Michael Marineau
8244c7a260
cleanup(set_lsb_release): Rework release config setup
...
- Remove custom COREOS_* attributes from /etc/lsb-release
- Move dev image logic to dev_image_util
For extra fun fix detection of local host URL for devserver.
- Remove weirdly verbose "DESCRIPTION" format.
- Add COREOS_RELEASE_BOARD back to /usr/share/coreos/release
This is mostly just so update_engine and gmerge report the correct
board name to devserver, informative-only on prod images.
- Remove version info from /etc/gentoo-release
- Switch from 'track' to 'group' terminology.
2014-03-19 15:56:21 -07:00
Michael Marineau
e2536ad76f
feat(vm_image_util): Add qemu_no_kexec image type
...
This makes it easy to test booting without kexec on qemu/kvm similar to
how images are booted on Xen.
2014-03-18 15:07:09 -07:00
Michael Marineau
c3efd9b622
Merge pull request #194 from marineam/name
...
fix(set_lsb_release): Bear Creek Manor
2014-03-14 11:06:05 -07:00
Michael Marineau
ee207599af
fix(set_lsb_release): Bear Creek Manor
2014-03-14 10:53:59 -07:00
Brandon Philips
87de0fa5df
Merge pull request #192 from philips/no-https-on-roller-yet
...
fix(build_library): use http until we get certs on roller
2014-03-13 14:13:50 -07:00
Brandon Philips
d71aab28df
fix(build_library): use http until we get certs on roller
2014-03-13 14:08:37 -07:00
Brandon Philips
d68b8ece3f
Merge pull request #191 from philips/relative-link
...
Fixup all of the symlinks in set_lsb_release
2014-03-13 12:29:41 -07:00
Brandon Philips
98393b7a21
fix(build_library): mkdir /usr/share/coreos in the right order
...
This is important otherwise things fail to create files because the
directoreis don't exist.
2014-03-13 12:18:33 -07:00
Brandon Philips
6620d7a5a7
fix(build_library): put lsb-release in usr too
2014-03-13 12:08:50 -07:00
Brandon Philips
ed19e9f559
fix(build_library): use ln -sf instead of if
...
we don't need an if statement when we can force.
2014-03-13 12:05:33 -07:00
Brandon Philips
9ce005cf88
fix(build_library): make the usr link relative
...
Fix the problem of: "pecified switch root path %s does not seem to be an
OS tree. /etc/os-release is missing" because dracut doesn't have an
/usr/share/coreos/os-release file.
2014-03-13 12:04:10 -07:00
Greg Kroah-Hartman
96172f7f20
Merge pull request #190 from gregkh/os-release
...
set_lsb_release bugfix and os-release movement
2014-03-13 04:07:16 +00:00
Greg Kroah-Hartman
1d6d1f7539
feat(build_library) move os-release to /usr/share/coreos/
2014-03-13 03:14:02 +00:00
Greg Kroah-Hartman
9ee59adf6f
fix(build_library) fix the build breakage from previous amd64-user change
2014-03-13 03:13:12 +00:00
Greg Kroah-Hartman
9b300e6240
Merge pull request #189 from philips/new-update-files
...
fix(build_library): create /usr/share/coreos files
2014-03-13 02:50:52 +00:00
Brandon Philips
03c152a519
hack(build_library): support amd64-usr
...
Make special defaults for amd64-usr
2014-03-12 19:28:46 -07:00
Brandon Philips
b8fe368087
fix(build_library): create /usr/share/coreos files
...
create the basic files in /usr/share/coreos that should exist
2014-03-12 18:45:51 -07:00
Michael Marineau
54ad9b0565
Merge pull request #188 from marineam/syslinux
...
feat(disk_util): Switch from SYSLINUX's gptmbr.bin to mbr.bin
2014-03-12 18:44:39 -07:00
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