Michael Marineau
ff29c10f7a
update_distfiles: remove old .boto file check
...
The config may be located other places these days.
2016-03-09 15:39:36 -08:00
Michael Marineau
d723eebe45
Merge pull request #508 from marineam/dist
...
core_promote: upload gce image name to private build bucket
2016-03-09 13:45:07 -08:00
Michael Marineau
c0139769dc
core_promote: upload gce image name to private build bucket
...
The build bucket should now be writable anyone performing releases,
allowing us to ensure that the original build and public buckets are
exactly in sync.
2016-03-09 13:02:35 -08:00
Alex Crawford
55c8835f3c
Merge pull request #464 from sigma/t/feature/ovf-variables
...
ovf: define variables accepted by coreos-cloudinit
2016-03-07 11:33:05 -08:00
Yann Hodique
2828c365da
ovf: define variables accepted by coreos-cloudinit
...
OVF environment variables for VMware deployments, including cloud config
and network configuration
2016-03-05 15:15:45 -08:00
Michael Marineau
8c6407da01
Merge pull request #507 from marineam/profile
...
prod_image_util: move profile.env to /usr
2016-03-02 11:39:16 -08:00
Michael Marineau
10fa4b5a0c
prod_image_util: move profile.env to /usr
...
profile is already set up to source /usr/share/baselayout/profile.env
but it never has because I forgot to add this line during the migration
to amd64-usr images. Sure took us a while to notice that one... :(
2016-02-29 18:54:12 -08:00
Michael Marineau
ecec1ea82b
Merge pull request #506 from marineam/seoul
...
ami: add new Soeul region
2016-02-26 09:51:16 -08:00
Michael Marineau
2c5cfcb2ca
ami: add new Soeul region
2016-02-26 09:45:18 -08:00
Alex Crawford
b77aa4d248
Merge pull request #504 from knoepfchendruecker/master
...
enable spaces in path names, add minimum error handling
2016-02-25 18:02:31 -08:00
Anders Henke
eda59ed214
Added simple error message on failed mkisofs.
...
When mkisofs failed, the script would still claim "Success".
2016-02-25 13:53:03 +01:00
Anders Henke
7b572d73f9
Added quotes around directory/file variables to enable working in a path with spaces in its name.
2016-02-25 13:31:44 +01:00
Michael Marineau
06485872b0
Merge pull request #501 from marineam/rsync
...
core_promote: switch from gsutil cp to rsync
2016-02-23 13:19:33 -08:00
Michael Marineau
fc33f611fe
Merge pull request #503 from marineam/vm-pkgs
...
Add --getbinpkg flag to image_to_vm
2016-02-23 13:19:22 -08:00
Michael Marineau
66ea5974ce
image_to_vm: add --getbinpkg option
...
Now image_to_vm can be used without first running build_packages.
2016-02-23 13:06:49 -08:00
Michael Marineau
3fc9091ee3
Merge pull request #502 from marineam/vm-pkgs
...
build_library: add a little script for checking oem packages
2016-02-23 13:05:46 -08:00
Michael Marineau
744faa2df4
vm_image_util: oems are always from ebuild, others always from binary
...
This resolves two issues:
- Large dependencies are *never* built during image_to_vm,
build_packages must now handle that.
- Since build_packages can't resonably do the oem-* packages (they all
conflict with eachother) we do want to build them from the ebuild.
This is now enforced so a old binpkg is never used. This resolves
confusing issues people have always had while when editing oem
ebuilds but getting a stale build instead.
2016-02-23 12:50:52 -08:00
Michael Marineau
65864a3a2d
build_library: add a little script for checking oem packages
2016-02-23 12:23:40 -08:00
Michael Marineau
bc4b774610
core_promote: switch from gsutil cp to rsync
2016-02-23 11:21:25 -08:00
Michael Marineau
344553986f
Merge pull request #500 from marineam/setup
...
Support using build_image without running build_packages first
2016-02-22 11:30:18 -08:00
Michael Marineau
743d4bce37
build_image: Add support for --getbinpkg
...
Allows build_image to be used without first running build_packages.
Note: setup_board --force is required before build_packages will work
properly after doing this since baselayout won't be installed otherwise.
2016-02-20 14:26:50 -08:00
Michael Marineau
bc5de30442
board_options: new portageq wrappers
...
- May be sourced early, so explicitly die if source fails.
- Add a function for getting the latest version of a package.
- Read PROVIDES metadata using portageq, enabling data to be read from
binary packages in addition to installed packages. The performance
issue is not an issue here and needed to support empty build roots.
2016-02-20 14:17:45 -08:00
Michael Marineau
ab3f1ee0b8
build_image: remove hack to work around an old bug
2016-02-20 14:14:16 -08:00
Michael Marineau
9ab853a668
build_image: remove eclean, run in build_packages instead
...
Allows the binary package cache to be preserved when using build_image
without a fully populated board root.
2016-02-20 14:11:41 -08:00
Michael Marineau
61672f7f75
setup_board: always create tmp directories
2016-02-20 14:05:50 -08:00
Michael Marineau
a714804ca6
setup_board: check regen flags before calling update_chroot
...
Abort early if applicable, skip update_chroot if regen only is enabled.
2016-02-19 13:24:44 -08:00
Michael Marineau
7979650cde
setup_board: move arm64 grub recompile to update_chroot
2016-02-19 13:21:16 -08:00
Michael Marineau
89e31f1e57
setup_board: add --regen_configs_only flag
2016-02-19 13:08:57 -08:00
Michael Marineau
bba9413c8d
Merge pull request #499 from marineam/mini
...
vm_image_util: add a small openstack image for wedging into tiny places
2016-02-16 12:52:38 -08:00
Michael Marineau
707c6c6f12
vm_image_util: add a small openstack image for wedging into tiny places
...
Most vm images have an expanded root partiton to make them practical to
use as-is. Some deployments may not want such a large root, putting most
storage on other volumes.
2016-02-16 11:22:59 -08:00
Michael Marineau
3216a22078
Merge pull request #493 from glevand/for-merge-grub
...
setup_board: Build grub platform modules
2016-02-16 10:56:27 -08:00
Michael Marineau
b09593f8a5
Merge pull request #498 from marineam/version
...
A little cleanup and a ❤️
2016-02-15 14:44:59 -08:00
Michael Marineau
06d5ac79b1
set_lsb_release: a little cleanup, a new name
...
❤️
2016-02-15 14:17:37 -08:00
Michael Marineau
5ba4c7181d
*: drop usage of COREOS_VERSION_STRING
...
This variable was semi-deprecated ages ago so `version.txt` could follow
a similar variable naming pattern to `os-release`. Finally drop usage of
it here in favor of `$COREOS_VERSION`.
2016-02-15 13:55:55 -08:00
Michael Marineau
bc2703d6e4
Merge pull request #497 from marineam/fix-usepkg
...
Fixes for the new --usepkgonly flag
2016-02-04 12:01:52 -08:00
Michael Marineau
9b00ea5495
*: disable reinstalling rebuilt binaries with --usepkgonly
...
When --usepkgonly is mixed with the right update flags it will
re-install any binary packages that have a newer build. Since the full
set of SDK and board packages are rebuilt quite often this leads to
excessive reinstalling.
2016-02-04 11:50:36 -08:00
Michael Marineau
5411bf574e
setup_board: fix passing --usepkgonly state through to update_chroot
2016-02-04 11:42:07 -08:00
Michael Marineau
f471b4a709
Merge pull request #496 from marineam/usepkgonly
...
New build script flag --usepkgonly
2016-02-03 22:12:24 -08:00
Michael Marineau
d327840ce8
*: add --usepkgonly flag to avoid building from source
2016-02-03 18:29:16 -08:00
Michael Marineau
a3fceb1957
update_chroot: cleanup flags, include all in usage
2016-02-03 18:29:16 -08:00
Michael Marineau
81ee5389c0
build_packages: accept package names as an argument
2016-02-03 18:29:16 -08:00
Michael Marineau
a42ffcddbb
build_packages: include all flags in usage message
2016-02-03 17:37:38 -08:00
Michael Marineau
bf104d415e
build_packages: remove old --reuse_pkgs_from_local_boards flag
...
Removed from setup_board in ancient times e6b3c608.
2016-02-03 17:30:10 -08:00
Michael Marineau
10a7864ff0
build_packages: flip weird inverted boolean flag
...
Use `--workon` and `--noworkon` instead of `--nonoworkon` and `--noworkon`
2016-02-03 17:26:24 -08:00
Michael Marineau
602412fd2a
build_packages: remove unused --accept_licenses
...
This flag was dropped from setup_board way back in commit 7d6619df8.
2016-02-03 17:23:20 -08:00
Michael Marineau
5a42bd8565
setup_board: cleanup flags section
...
Move most flags into the usage message and use a more consistent style.
2016-02-03 17:22:15 -08:00
Michael Marineau
b3a64cc7c4
Merge pull request #495 from marineam/date
...
core_date: dumb little script so I can stop doing math
2016-02-01 14:53:06 -08:00
Michael Marineau
867ccc06c6
core_date: dumb little script so I can stop doing math
...
Compute coreos version for a date or the date of a coreos version.
Arguments are passed to `date` except for `-v` which takes an optional
version value and converts it to a date. `-v` must be the first arg.
$ ./core_date
945
$ ./core_date -d wed
947
$ ./core_date -v
Fri Jan 29 00:00:00 UTC 2016
$ ./core_date -v +%D
01/29/16
$ ./core_date -v 1000
Sun Mar 27 00:00:00 UTC 2016
$ ./core_date -v 1000 +%D
03/27/16
2016-02-01 14:39:59 -08:00
Michael Marineau
143c7b312e
Merge pull request #494 from marineam/boto
...
release_util: use BOTO_PATH instead of searching for .boto
2016-01-28 13:25:57 -08:00
Michael Marineau
9332cb697e
release_util: use BOTO_PATH instead of searching for .boto
...
This simplifies the code a little and allows BOTO_PATH or BOTO_CONFIG to
be set in the environment. Now configs may be in arbitrary locations.
2016-01-28 13:10:01 -08:00