Commit Graph

4611 Commits

Author SHA1 Message Date
David Michael
1d19e63d43 jenkins/sdk: Drop redundant update_chroot
This happens from "cork update --create" already.
2018-10-12 20:09:24 +00:00
David Michael
729575c22e update_chroot: Allow upgrading glibc and binutils 2018-10-12 17:58:09 +00:00
David Michael
51c9737789
Merge pull request #843 from dm0-/catalyst
bootstrap_sdk: Explicitly set the Python version to 2.7
2018-09-28 15:15:35 -04:00
David Michael
c887cfdce6 bootstrap_sdk: Explicitly set the Python version to 2.7
It has recently started picking Python 3 for /usr/bin/python.
2018-09-28 13:53:13 +00:00
Andrew Jeddeloh
057a085057
Merge pull request #842 from ajeddeloh/signing-server
signing/sign.sh: update to use correct keys/ips
2018-09-25 15:57:40 -07:00
Andrew Jeddeloh
756112f245 signing/sign.sh: update to use correct keys/ips
Update to use the actual key names and IPs.
2018-09-25 15:44:23 -07:00
David Michael
1b8c0a40f1
Merge pull request #838 from dm0-/kernel
kernel_menuconfig: Drop unused script
2018-08-31 13:49:42 -04:00
David Michael
40e5c11c69 kernel_menuconfig: Drop unused script
No one is known to be using this script, and it no longer works.
If it turns out to have users, the script will need to be updated
to work with the current config file format before re-adding it.
2018-08-31 17:43:13 +00:00
David Michael
237569143f
Merge pull request #835 from dm0-/portage
Work with new portage sysroot behavior
2018-08-31 13:38:52 -04:00
David Michael
5ffb938934 image_to_vm: Fix OEM install roots for new portage 2018-08-30 00:53:17 +00:00
David Michael
ce2e7e8a17 setup_board: Drop needless SYSROOT when installing binpkgs
For the less common case where binpkgs are not used, restructure
this so that it builds binpkgs in /usr/${CHOST} without installing
them, use those binpkgs to initialize /build/${BOARD}.
2018-08-29 21:40:21 +00:00
David Michael
8556474e6a build_torcx_store: Update for newer portage versions
Since EAPI=7 was supported, portage can no longer use different
ROOT and SYSROOT values.  The torcx images were installed into a
temporary root directory after being built using the board's
development files.  To continue using this setup, the torcx image's
packages are built as normal binary packages for the board root
without being installed, then the binary packages are installed in
the temporary torcx root.
2018-08-29 21:40:21 +00:00
David Michael
afff45366a build_toolchains: Update sysroot settings for newer portage
Since EAPI=7 was supported, portage can no longer use different
ROOT and SYSROOT values.  This adjusts the paths so that the first
phase builds cross-toolchains under /usr/${CHOST}, then the native
toolchains are built under /build/${BOARD} (as was being done
previously).  Now that the cross-toolchain development files can't
be used when building the native toolchain, the headers and libs
are stupidly copied into the board root to be used used and then
overwritten by the board packages as they are built.  Since this is
all done in a chroot, these changes shouldn't affect the SDK host.
2018-08-29 21:40:21 +00:00
David Michael
8a4fe09896
Merge pull request #836 from dm0-/arm64
build_toolchains: Stop building arm64 toolchains
2018-08-29 17:39:46 -04:00
David Michael
ecc6d6bd3e build_toolchains: Stop building arm64 toolchains 2018-08-29 18:04:55 +00:00
Benjamin Gilbert
cf8e145926
Merge pull request #833 from bgilbert/disarm
transfer.sh: Drop support for boards other than amd64-usr
2018-07-27 19:34:42 -04:00
Benjamin Gilbert
32863264fd transfer.sh: Drop support for boards other than amd64-usr
We're no longer publishing arm64-usr releases.
2018-07-26 15:14:23 -04:00
David Michael
ae58a7169a
Merge pull request #832 from dm0-/docker
build_torcx_store: Stop building the old LTS image
2018-07-26 12:43:00 -04:00
David Michael
fc8fae97a9 build_torcx_store: Stop building the old LTS image
The new Docker release schedule has a new release every six months
after 18.09, which has a support period longer than our current LTS
versions.  Drop the LTS torcx image and let Docker versions promote
normally again.
2018-07-26 13:45:04 +00:00
Andrew Jeddeloh
73d2dc45b5
Merge pull request #831 from ajeddeloh/rm-dev-image
Remove Developer Image
2018-07-25 13:26:29 -07:00
Andrew Jeddeloh
16d5f05275 build_image: rename dev_image to dev_container 2018-07-25 13:11:17 -07:00
Andrew Jeddeloh
ef3d52b7fc bin: remove dead scripts
We don't use any of this and it doesn't work or does nothing. Remove it.
2018-07-25 13:11:17 -07:00
Andrew Jeddeloh
1718adb22a *: remove dev image
The dev image has been broken for some time. Some bits are left because
the dev container (not broken) still uses them. They should be renamed.
2018-07-25 13:11:17 -07:00
David Michael
b5b2ba47bb
Merge pull request #829 from dm0-/docker
build_torcx_store: Bump the default Docker to 18.06
2018-07-23 23:49:31 -04:00
Andrew Jeddeloh
836a70aacc bin: remove dead symlinks 2018-07-23 16:43:48 -07:00
David Michael
b9383fce76 build_torcx_store: Bump the default Docker to 18.06 2018-07-19 00:44:26 +00:00
James Forcier
3ff2eacd3b
Merge pull request #821 from csssuf/signing-server
Add signing server support to signing scripts
2018-07-13 16:05:55 -07:00
James Forcier
9af91ae771 signing/prod-2.pub.pem: add production pubkey
signing/sign.sh expects to find the production public key in the signing
directory, so put it there.
2018-07-06 09:41:08 -07:00
David Michael
d4634de0ef
Merge pull request #826 from dm0-/seed
Revert "catalyst: Temporarily disable update_seed"
2018-06-29 19:42:43 -04:00
David Michael
be1344f12d Revert "catalyst: Temporarily disable update_seed"
This reverts commit efbc542c59.
2018-06-29 13:38:08 +00:00
David Michael
55b448e9e5
Merge pull request #825 from dm0-/profiles
catalyst: Temporarily disable update_seed
2018-06-25 19:25:04 -04:00
David Michael
efbc542c59 catalyst: Temporarily disable update_seed
This can be reverted after switching to an SDK with Python 3.6
built into it.
2018-06-25 09:28:37 -04:00
James Forcier
f162943ee3 core_dev_sign_update: add script
This script is used by developers to create their individual signatures
to be submitted together via sign.sh.
2018-06-21 17:31:43 -07:00
James Forcier
447efbb575 signing/sign: pass user signatures to core_sign_update 2018-06-21 17:31:43 -07:00
James Forcier
35622c2abb core_sign_update: add support for new signing server 2018-06-21 17:31:43 -07:00
James Forcier
9643128247 offline_signing: rename to signing
As signing will no longer be offline, rename the directory
appropriately.
2018-06-21 17:31:43 -07:00
Stephen Demos
92b9434883
Merge pull request #824 from sdemos/update-percent
transfer.sh: changes to updateservicectl usage for roller rollout strategies
2018-06-21 13:39:46 -07:00
Stephen Demos
495d335ed4
transfer.sh: new ready/roll command series
the ready command prepares the specified groups for the rollout - it
sets the channel to the new version and updates the update percent to
0%. this allows machines to force update, but updates don't get rolled
out automatically.

the roll command configures the rollout strategy. right now it creates a
linear rollout, going from 0% to 100% in the given number of hours for
each group. it uses the default frame size of 60 seconds (it sets it to
be explicit).
2018-06-20 14:34:13 -07:00
Stephen Demos
32f3d4165b
transfer.sh: use new group percent subcommand
updateservicectl removed the update-percent flag from group update to
force users to use the new api. update percents are now modified using
the group percent command.
2018-06-19 13:45:47 -07:00
Andrew Jeddeloh
f89ed6f143
Merge pull request #820 from ajeddeloh/remove-dead-code
Remove dead code
2018-06-11 14:42:53 -07:00
Andrew Jeddeloh
96a79a7678 jenkins/*: switch enter to --bind-gpg-agent=false
--experimental is deprecated.
2018-06-11 13:19:47 -07:00
Andrew Jeddeloh
118b26d305 sdk_lib: drop obsolete enter/make_chroot 2018-06-08 10:58:29 -07:00
Andrew Jeddeloh
a27b02bcb6 *: use cros_workon not cros_list_modified_pkgs
This removes a dependency on chromite
2018-05-30 13:07:58 -07:00
Andrew Jeddeloh
935466b68d *: remove restart_in_chroot_if_needed
Replace calls to restart_in_chroot_if_needed with assert_inside_chroot.
This removes a dependency on chromite.
2018-05-30 13:07:58 -07:00
Andrew Jeddeloh
60d6b80053 common.sh: remove dead choose function 2018-05-30 13:07:58 -07:00
Benjamin Gilbert
1bd0c0cd94
Merge pull request #817 from bgilbert/vmware
build_library: update VMware virtual hardware version to 11
2018-05-29 14:42:13 -04:00
Benjamin Gilbert
25fffe839d build_library: update VMware virtual hardware version to 11
This will run on ESXi 6.0 and above, and all non-EOL versions of Fusion
and Workstation.

Also enable a few useful VMX features (HPET; CPU and memory hotplug) that
are added by VMware Workstation 14.1.1's Change Hardware Compatibility
wizard. Correspondingly, enable CPU/memory hotplug in the OVF; omit
HPET because there's no obvious way to enable it.
2018-05-18 16:23:32 -04:00
David Michael
491e144966
Merge pull request #816 from dm0-/docker
Upgrade Docker to 18.05
2018-05-17 19:52:10 -04:00
David Michael
5df8231d67 build_torcx_store: Bump the default Docker to 18.05 2018-05-17 18:21:42 -04:00
Benjamin Gilbert
e9d1fd1d10
Merge pull request #815 from bgilbert/unrestricted
build_library: add --unrestricted to default GRUB menuentry
2018-05-17 17:37:21 -04:00