4259 Commits

Author SHA1 Message Date
Dongsu Park
a4800c0ab0 build_library: enlarge rootfs size to 6G for dev container
Since the developer container image is only 3G in size for its rootfs,
it's hard for users to do specific work there, for example, to build
kernel modules.

Let's increase the size of rootfs to 6G.
2019-03-01 10:20:16 +01:00
Iago López Galeiras
8444f1439c *: switch GCE bucket name
We are now using Flatcar's own GCE account. Switch to the new bucket.
2019-03-01 10:20:16 +01:00
Dongsu Park
a735d7e0e5 Revert "signing/sign: pass user signatures to core_sign_update"
This reverts commit 447efbb575a7ea5b3c732e39df894bba8b5b0259.

This is just a temporary workaround to avoid conflicts when using fero.
In the future we should investigate use cases of fero, and use it
by following upstream changes.
2019-03-01 10:20:16 +01:00
Iago López Galeiras
2bc3c8a7d3 Change to Flatcar's public key 2019-03-01 10:20:16 +01:00
Iago López Galeiras
38c4a1faa9 Change release URLs to Flatcar's 2019-03-01 10:20:16 +01:00
Iago López Galeiras
34582728d1 Change SDK prefix to Flatcar's bucket 2019-03-01 10:20:16 +01:00
Iago López Galeiras
046baad34b Disable ARM for now
We'll be focusing on x86_64 for now.
2019-03-01 10:20:16 +01:00
Iago López Galeiras
0913959256 set_lsb_release: add ID_LIKE field in os-release
So applications that do the right thing and check ID_LIKE if ID doesn't
match what they want can identify us as a variant of Container Linux.
2019-03-01 10:20:16 +01:00
Iago López Galeiras
1658a334de set_lsb_release: change distro name to Flatcar
Also, change default update server to Flatcar's.
2019-03-01 10:20:16 +01:00
Iago López Galeiras
13b06b49a0 Change names of env vars, paths, files, etc. to Flatcar 2019-03-01 10:20:16 +01:00
David Michael
e3677bf8d0
Merge pull request #864 from dm0-/loop
disk_util: Add -I for mkfs.vfat
2019-02-11 11:16:21 -05:00
David Michael
4bd4cd5a8e disk_util: Add -I for mkfs.vfat
When loop device partition nodes aren't cleaned up, building images
will fail with:

mkfs.vfat: Partitions or virtual mappings on device '/dev/loop0', not making filesystem (use -I to override)

Just add the flag unconditionally to work around it.
2019-02-10 02:44:01 +00:00
David Michael
62665ebcea
Merge pull request #863 from dm0-/catalyst
Revert "catalyst: Temporarily disable update_seed again"
2019-01-29 00:47:16 -05:00
David Michael
cea88d9c52 Revert "catalyst: Temporarily disable update_seed again"
This reverts commit 7d99b4dbddf9d4bd0ae9777e41d0fac82067c6f6.
2019-01-28 15:58:47 +00:00
David Michael
8dbffb9467
Merge pull request #862 from dm0-/perl
catalyst: Temporarily disable update_seed again
2019-01-26 00:37:26 -05:00
David Michael
06cbc02e0c check_root: Silence libperl warnings 2019-01-25 21:52:27 +00:00
David Michael
7d99b4dbdd catalyst: Temporarily disable update_seed again
The Perl update will break SDK bootstrapping during seed update, so
disable it again.  This can be reverted after bumping the SDK to a
version that includes the new Perl.
2019-01-25 18:12:55 +00:00
David Michael
6d9e0b0a81
Merge pull request #861 from dm0-/clean
Drop some old workarounds
2019-01-25 01:40:27 -05:00
David Michael
7b7c78b592 build_library: Drop old workarounds for toolchain binpkgs 2019-01-24 23:25:51 +00:00
David Michael
449066f395 update_chroot: Drop old workarounds for package renames 2019-01-19 23:17:10 +00:00
David Michael
09b8493a2d
Merge pull request #860 from dm0-/glsa
build_library: Drop whitelisted Go GLSAs
2018-12-21 16:05:16 -05:00
David Michael
45c9ef7867 build_library: Drop whitelisted Go GLSAs
Since Go is no longer cross-compiled, it won't hit the boards' GLSA
tests anymore.
2018-12-21 16:27:55 +00:00
Benjamin Gilbert
988512c358
Merge pull request #858 from bgilbert/sign
transfer.sh: add subcommands to devsign and sign releases
2018-11-20 14:06:54 -05:00
Benjamin Gilbert
6d1cfa6a75 transfer.sh: add subcommands to devsign and sign releases
Both subcommands take a SIGDIR argument which is assumed to be within
a git repo we can safely sync.  devsign creates commits but does not
(currently) push them, leaving that to the user.
2018-11-20 13:17:41 -05:00
Benjamin Gilbert
e443b9afdb transfer.sh: drop recursive chown
This shouldn't be needed now that we're not copying files via a USB stick.
2018-11-20 13:15:51 -05:00
David Michael
3f5af54465
Merge pull request #856 from dm0-/sdk
Revert "catalyst: Temporarily disable update_seed again"
2018-11-16 21:29:26 -05:00
Andrew Jeddeloh
48cad3ef0c
Merge pull request #857 from ajeddeloh/change-ip
signing/sign.sh: update fero ip
2018-11-16 13:04:02 -08:00
Andrew Jeddeloh
94fa9670b3 signing/sign.sh: update fero ip 2018-11-16 11:19:39 -08:00
David Michael
e1761bee54 Revert "catalyst: Temporarily disable update_seed again"
This reverts commit 373d5a814ba7b4ecba181ad37b8b4c8b98bd0402.
2018-11-16 14:11:00 +00:00
David Michael
ca516260e2
Merge pull request #854 from dm0-/rust
update_chroot: Work around dead cargo file conflicts
2018-11-15 08:36:45 -05:00
David Michael
fceffdb660 update_chroot: Work around dead cargo file conflicts 2018-11-14 21:09:52 +00:00
David Michael
41b71565d8
Merge pull request #853 from dm0-/glsa
build_library: Whitelist the systemd GLSA until we have 239
2018-11-01 12:14:14 -04:00
David Michael
103c7425fe build_library: Whitelist the systemd GLSA until we have 239 2018-11-01 14:45:21 +00:00
Andrew Jeddeloh
7fcdc14536
Merge pull request #848 from ajeddeloh/fix-sigs
signing/sign.sh: fix armoring
2018-10-29 10:53:08 -07:00
Andrew Jeddeloh
8e4d1dff44 signing/sign.sh: fix armoring
We use gpg --enarmor to convert the torcx manifest binary sigs to ascii
armored ones. Unfortunately --enarmor just wraps the binary blob without
realizing its a signature, which breaks torcx. Pipe the output through
sed to fix the header.
2018-10-29 08:09:39 -07:00
David Michael
dcfc5c173a
Merge pull request #849 from dm0-/arm64
Drop arm64 handling so scripts correctly give "unsupported board" errors
2018-10-26 16:51:46 -04:00
David Michael
373d5a814b catalyst: Temporarily disable update_seed again
This works around the edk2 rename breaking SDK bootstrapping.  It
can be reverted when an SDK has the new version built into it.
2018-10-25 17:08:02 -04:00
David Michael
ba7d7f1410 update_chroot: Add a workaround for a package rename
This avoids SDK update failures due to conflicts.  It can be
reverted once SDKs have the new version built into them.
2018-10-25 20:22:35 +00:00
David Michael
f9432f6702 vm_image_util: Switch back to edk2-ovmf paths
The custom sys-firmware/edk2 package has been replaced by Gentoo's
sys-firmware/edk2-ovmf package now that only amd64 is supported.

This partially reverts 1761d9d071794f50267da782d135fb44b8344e8b .
2018-10-25 17:15:03 +00:00
David Michael
2467923d56 Remove arm64 from supported board operations 2018-10-25 16:00:09 +00:00
David Michael
8e8d07f9a0 common.sh: Use amd64-usr as the default default board
We only support amd64-usr at this point, so this removes a required
step when setting up a new SDK.  If the default board is specified
normally or through the environment, it will override this value.
2018-10-25 14:11:42 +00:00
David Michael
8f761a7fdb core_dev_sign_update: Default to the amd64-usr board
There are no other supported boards at this point.
2018-10-23 17:38:55 +00:00
David Michael
e9f17c8143 jenkins: Drop the unused arm64 image format list 2018-10-23 17:36:30 +00:00
David Michael
a598864413 catalyst: Update sharedir for catalyst 3 2018-10-19 12:12:46 -04:00
David Michael
ca1b785812
Merge pull request #846 from dm0-/paths
Drop some useless paths on prod images
2018-10-18 13:12:17 -04:00
David Michael
23c5b018c6 prod_image_util: Drop /usr/include
This should be covered by INSTALL_MASK, but it apparently gets
confused by a symlink loop installed by json-c.  Remove it here.
2018-10-18 16:32:32 +00:00
David Michael
9adb659106 prod_image_util: Drop the portage cache database 2018-10-18 15:58:27 +00:00
David Michael
eba8219a3d
Merge pull request #845 from dm0-/profiles
update_chroot: Allow upgrading glibc and binutils
2018-10-15 18:08:58 -04:00
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