Michael Marineau
4ca4b65dba
Merge pull request #303 from marineam/fixes
...
Toolchain build fixes
2014-07-22 12:44:41 -07:00
Alex Crawford
abf24663a2
Merge pull request #305 from crawford/fillings
...
Pull teeth. Replace with onmetal.
2014-07-21 20:44:36 -05:00
Alex Crawford
712c1a3d9b
Pull teeth. Replace with onmetal.
2014-07-21 18:40:36 -07:00
Michael Marineau
4b359375d7
Merge pull request #304 from marineam/hostname
...
qemu: set DHCP hostname based on image name and version
2014-07-21 18:32:08 -07:00
Michael Marineau
2a004f0081
qemu: set DHCP hostname based on image name and version
...
Provides an easy way to test this setting hostname from DHCP, most other
systems rely on it.
2014-07-21 16:43:48 -07:00
Michael Marineau
986845608a
setup_board: fix compiling toolchains from scratch
...
Commit 0d29e735 broke this by not properly initializing the toolchain
ebuild flags when binary packages were disabled.
2014-07-20 21:32:53 -07:00
Michael Marineau
859cea0306
build_library: fix compatibility with latest crossdev version
2014-07-20 21:32:53 -07:00
Michael Marineau
946797f5d9
Merge pull request #302 from marineam/dev
...
Developing in dev images
2014-07-19 21:00:39 -07:00
Michael Marineau
f9e03a8e6f
build_image: add repos.conf and binpkgs url to dev images
...
Needed for portage 2.2. Sync URIs are included but not very useful yet
because portage only can do `git pull` but not `git clone`. An extra
helper script will be required to do the initial clone it seems.
Binary packages may be useful for re-installing a package with a
different INSTALL_MASK. Can be used to install debug symbols.
2014-07-19 19:20:51 -07:00
Michael Marineau
07cb281d6a
build_image: install the complete system package set in dev images
...
dev images, now with fancy tools like `make`!
2014-07-19 17:29:05 -07:00
Michael Marineau
a28a8966e4
build_image: use dev and prod profile variants
...
Instead of gluing in a special PROD_INSTALL_MASK for all images use
profiles to configure the differences between the base build root,
production images, and developer images. This offers much more
flexibility and is needed for providing a full dev environment in
developer images.
2014-07-19 17:17:28 -07:00
Michael Marineau
4d3c198161
tools: remove support for parallel_emerge
...
Using parallel_emerge has been disabled by default for all commands
except build_image for quite a while now, build_image kept it just
because it was still a bit faster than normal emerge. Keeping
parallel_emerge complicates future changes to build_image so it needs to
drop it entirely. Since that means nothing uses it by default we might
as well just rip out support for it entirely.
2014-07-19 16:38:17 -07:00
Michael Marineau
3d8948d91f
setup_board: copy portage's repos.conf files from the chroot
2014-07-19 16:10:34 -07:00
Michael Marineau
5446f7f06a
Merge pull request #301 from marineam/dev
...
Fixes/cleanups for package building
2014-07-19 15:27:43 -07:00
Michael Marineau
097196a6af
build_packages: break dependency loop between util-linux and systemd.
...
This is required to enable the udev use flag.
2014-07-19 15:07:00 -07:00
Michael Marineau
dea299312e
setup_board: remove extra pkg-config wrapper script
...
crossdev provides cross-pkg-config which respects $SYSROOT so we do not
need to do anything extra ourselves.
2014-07-19 11:37:03 -07:00
Michael Marineau
29412584a8
Merge pull request #300 from marineam/ami
...
ami: configure etcd with public addresses
2014-07-15 12:23:44 -07:00
Michael Marineau
d0d41a185f
ami: configure etcd with public addresses
...
When I created the new AMI build host I just accepted the default
'wizard' security group which seems to have placed the host in a VPC.
There doesn't seem to be a way to fix this and as-is the build host
cannot access the private addresses on the test VMs it launches.
Switching to the public ones work fine though. Didn't notice this at
first because it is only a problem when etcd sends a redirect.
2014-07-15 12:12:43 -07:00
Michael Marineau
7025bd734d
Merge pull request #299 from marineam/fix
...
update_chroot: fix transition to new os-release location
2014-07-14 18:25:17 -07:00
Michael Marineau
4b23a26667
update_chroot: fix transition to new os-release location
...
Previously /etc/os-release was installed both by set_lsb_release and
the baselayout package. Now it is only installed by set_lsb_release but
when baselayout is upgraded it removes /etc/os-release. So the first
update_chroot works but the second detects the chroot's version
incorrectly and tries to apply the one time updates in this directory.
Both of them are very old so we can just delete them. The second run
will now fix up /etc/os-release and we can all move on and be happy.
2014-07-14 17:59:15 -07:00
Michael Marineau
c9b4e1ff35
Merge pull request #298 from marineam/fix
...
bootstrap_sdk: setup /usr/lib correctly before calling set_lsb_release
2014-07-14 17:47:54 -07:00
Michael Marineau
1016bb323b
bootstrap_sdk: setup /usr/lib correctly before calling set_lsb_release
...
os-release is now written to /usr/lib but that is likely a symlink to
/usr/lib64 so a little extra logic is required to avoid clobbering the
symlink.
2014-07-14 17:41:18 -07:00
Michael Marineau
2fb518615a
Merge pull request #297 from marineam/systemd
...
Fixes for systemd 215
2014-07-14 16:42:21 -07:00
Michael Marineau
19a4ae59d0
build_library: enable remount-usr later in the boot process.
2014-07-14 15:55:03 -07:00
Michael Marineau
0326b5f57f
build_library: move os-release to new location for systemd 215
2014-07-14 15:55:00 -07:00
Michael Marineau
4673c459e5
Merge pull request #295 from marineam/updatectl
...
core_promote: update from old roller client to updatectl 1.2.0
2014-07-14 13:23:10 -07:00
Michael Marineau
a446114cd9
Merge pull request #296 from marineam/fixami
...
ami: fix generating ami lists
2014-07-14 11:58:58 -07:00
Michael Marineau
b707b7c628
ami: fix generating ami lists
2014-07-13 20:41:22 -07:00
Michael Marineau
72c59d3927
Merge pull request #294 from marineam/xen
...
vm_image: switch xen disk format back to raw
2014-07-10 19:21:10 -07:00
Michael Marineau
6489d9f186
core_promote: update from old roller client to updatectl 1.2.0
2014-07-10 17:58:03 -07:00
Michael Marineau
eeec7e1c65
vm_image: switch xen disk format back to raw
...
VHD was just for testing, raw is more useful for published images.
coreos-install will now be able to install working xen instances:
coreos-install -d /dev/xvda -o xen -c cloud-config.yml
2014-07-10 17:23:20 -07:00
Michael Marineau
3556632035
Merge pull request #292 from marineam/hvm
...
ami: support for building HVM AMIs along side PV AMIs.
2014-07-08 11:31:15 -07:00
Michael Marineau
2faa913198
ami: support HVM images in uploaded .txt files
2014-07-08 11:30:35 -07:00
Michael Marineau
3a21cd3eb9
ami: support HVM images in copy script
2014-07-08 11:30:35 -07:00
Michael Marineau
4cd9ed45ff
ami: initial support for building HVM AMIs along side PV AMIs.
...
This just updates the build and test scripts. The copy and upload
scripts still need work to handle the new set of AMIs.
2014-07-08 11:30:34 -07:00
Michael Marineau
1c0de92363
Merge pull request #291 from marineam/path
...
make_chroot: explicitly set path when entering the chroot.
2014-07-03 15:45:25 -07:00
Michael Marineau
946f730d7f
enter_chroot: set reasonable PATH when calling locale-gen
2014-07-03 15:23:18 -07:00
Michael Marineau
a075b1085a
make_chroot: explicitly set path when entering the chroot.
...
The host system's PATH may not be match the one required by the SDK.
When going through the enter_chroot script it gets reset because bash is
invoked as a login shell but this doesn't happen when using the plain
old chroot command.
Fixes https://github.com/coreos/scripts/pull/290
2014-07-03 14:51:32 -07:00
Michael Marineau
5a177c2528
Merge pull request #289 from marineam/cryptsetup
...
build_packages: break dependency loop when cryptsetup is enabled
2014-07-03 14:32:41 -07:00
Michael Marineau
55896af9c1
build_packages: break dependency loop when cryptsetup is enabled
2014-07-01 16:59:54 -07:00
Michael Marineau
319db165db
Merge pull request #288 from marineam/updatectl
...
Updatectl
2014-06-30 18:21:54 -07:00
Michael Marineau
eebe8d5fe9
build_library: long overdue for a code name change
2014-06-30 15:42:16 -07:00
Michael Marineau
27e00285d5
updates: include updatectl in update tools zip
2014-06-30 15:40:42 -07:00
Michael Marineau
ebdc4d5f43
Merge pull request #275 from brianredbeard/glance-image-load
...
feat(OpenStack): Add new scripts to support OpenStack OEM handling
2014-06-30 14:41:11 -07:00
Michael Marineau
4c5dca9c20
Merge pull request #287 from marineam/fixup
...
Fixup new releases
2014-06-26 10:42:54 -07:00
Michael Marineau
2a7c3f31e6
updates: switch to updatectl 1.1.0, remove metadata option.
2014-06-25 22:44:31 -07:00
Michael Marineau
112b60690c
updates: fix running core_sign_update from update.zip
2014-06-25 22:44:31 -07:00
Michael Marineau
f1c81df7f3
updates: minor fixes for offline signing wrapper script
...
- Fedora provides gpg2 by default, not gpg.
- The zip file's root must be the current directory.
2014-06-25 22:44:31 -07:00
Michael Marineau
fd88195d58
Merge pull request #286 from marineam/version2
...
minor build fixes
2014-06-25 12:57:53 -07:00
Michael Marineau
048ee51e6f
build_image: when generating update payload don't generate metadata
...
This feature was removed from delta_generator.
2014-06-25 12:37:36 -07:00