Commit Graph

4592 Commits

Author SHA1 Message Date
Kai Lüke
d1fb202fe2
build_library/dev_container_util.sh: Use correct BINHOST URLs
The BINHOST was still configured to be the CoreOS CL upstream location
which does not work for independent Flatcar CL releases. This broke
binary package installation in the development container.
Use the correct BINHOST to fix installation of binary packages in the
development container.
2020-05-04 13:17:59 +02:00
Kai Lüke
aebba12996
build_library/template_vmware.ovf: Document and add cloud-init OVF vars
The configuration variables for the Ignition configuration also serve as
data source for coreos-cloudinit config data (which includes plain scripts).
Document them properly and also call out that the networking variables only
work if coreos-cloudinit data is used.
For some use cases, too few networking variables were available. Add secondary
routing variables for the main network interface and add a second interface.
2020-04-27 13:48:10 +02:00
Kai Lüke
42cf3423d4
build_library/template_vmware.ovf: Remove old CoreOS OVF variables
There was a logical mistake in Ignition that caused ignition.config.*
only to work when it was part of the ovfenv. Thus they were added but
the old CoreOS variables marked deprecated and kept. With both as OVF
variables each of them worked but directly specifying ignition.config.*
as guest variable still didn't because of the logical mistake.
Now there is a fix and both work well when specified directly as guest
variable (https://github.com/flatcar-linux/ignition/pull/11).
Delete the old CoreOS OVF variables because they just clutter the UI
and only the Ignition variables should be used in the UI.
2020-04-17 17:05:02 +02:00
Kai Lüke
687bbefad8
build_library/vm_image_util.sh: Generate iPXE script
Write out an iPXE script file for Packet.
The script uses relative URLs to refer to
the other PXE files and thus can be copied
along with the files to any server.
This is useful because it saves the creation
of an iPXE script for a release/channel on a
third-party service. For CI testing it is
also helpful because the script does not only
end up on the release server but also already
on the Google buckets, refering to unpublished
PXE payloads.
2020-03-18 16:09:40 +01:00
Kai Lüke
f9c8feb09c
build_library/template_vmware.ovf: Use Ignition OVF vars
For the Ignition variables to be usable they need to be
specified in the OVF.
Call out that the CoreOS variables are deprecated to
reduce confusion when both are displayed besides each other.
2020-03-10 13:18:36 +01:00
Kai Lüke
1bf2bba4bf
build_library/dev_container_util.sh: Correct repo URLs
Same content as in flatcar-build-2387.
2020-02-19 14:12:02 +01:00
Kai Lüke
d61e6f9a1b
jenkins/images.sh: Generate production tar ball 2020-02-07 17:33:39 +01:00
Kai Lüke
42068f1cbc
build_image: Add prodtar command to build a tar ball
Create a tar ball with the contents of the / and /usr partitions
to be used as follows with systemd-nspawn (via machinectl):
  machinectl import-tar flatcar-container.tar.gz flatcar-container
  machinectl start flatcar-container
  machinectl shell flatcar-container
or with docker by converting it to an OCI image:
  docker import -c "CMD /bin/bash" flatcar-container.tar.gz flatcar-container

Since the new "prodtar" command relies on the results of the "prod" command,
it bundles it so that "prod prodtar" and "prodtar" is the same.
2020-02-07 17:33:37 +01:00
Kai Lüke
2531228c62
Merge pull request #49 from flatcar-linux/kai/flatcar-build-2387.0.0-same-app-id
Use same APPID for arm64 and amd64
2020-01-22 11:31:04 +01:00
Kai Lüke
1a1fcadf0a
Use same APPID for arm64 and amd64
Nebraska supports an additional arch
variable to distinguish both boards.
2020-01-22 10:50:25 +01:00
Kai Lüke
b085b38ef4
Merge pull request #46 from flatcar-linux/kai/flatcar-build-2387.0.0-pick
Pick commits from flatcar-master for alpha branch
2020-01-21 13:45:09 +01:00
Andrew Jeddeloh
15745d520e
disk_util: retry loopback mounts if they fail
This fails frequently but should succeed if retried. This should reduce
failed builds.
2020-01-21 13:29:45 +01:00
Andrew Jeddeloh
00d77d199a
build_library/disk_util: work around losetup bug
Retry losetup if it fails, up to 5 times with 5 seconds between retries.
2020-01-21 13:29:30 +01:00
Flatcar Buildbot
5b8c706c70
2387.0.0 2020-01-20 16:41:15 +01:00
Flatcar Buildbot
8ac3182bc3 2345.0.1 2019-12-05 09:01:56 +01:00
Flatcar Buildbot
c7bbb2b1e2 2345.0.0 2019-12-04 14:59:11 +01:00
Flatcar Buildbot
7ee9c9c033 2331.0.0 2019-11-22 14:34:26 +01:00
Flatcar Buildbot
1dad511f69 2317.0.1 2019-11-07 19:40:01 +01:00
Benjamin Gilbert
913140d5d1
Merge pull request #883 from bgilbert/glsa
test_image_content: whitelist Perl and dbus GLSAs
2019-09-16 15:26:20 -04:00
Benjamin Gilbert
bd79eaf9d1 test_image_content: whitelist Perl and dbus GLSAs
Backported the dbus GLSA.  Ignoring the Perl one.
2019-09-10 21:47:55 -04:00
Benjamin Gilbert
ffbd3e267f
Merge pull request #882 from bgilbert/glsa
test_image_content: whitelist polkit GLSA
2019-08-25 16:00:25 -04:00
Benjamin Gilbert
97e61a164b test_image_content: whitelist polkit GLSA
Both CVE fixes were backported.
2019-08-24 01:28:29 -04:00
Andrew Jeddeloh
e9d949a8f0
Merge pull request #880 from ajeddeloh/binutils
Revert "setup_board: add workaround for binutils issue"
2019-08-23 18:14:52 -07:00
Andrew Jeddeloh
02ac9cb5b8 Revert "setup_board: add workaround for binutils issue"
This reverts commit 3d60305f24.
2019-08-24 00:48:45 +00:00
Andrew Jeddeloh
cebe2d12da
Merge pull request #876 from ajeddeloh/binutils
setup_board: add workaround for binutils issue
2019-08-23 14:54:48 -07:00
Andrew Jeddeloh
3d60305f24 setup_board: add workaround for binutils issue
Add a workaround to be sure we're using the correct binutils when SDK
sharing.
2019-08-23 21:52:30 +00:00
David Michael
471dd4c196
Merge pull request #875 from dm0-/glsa
Revert "build_library: Add temporary workaround for binutils update"
2019-08-08 16:09:40 -04:00
David Michael
9b863fa7ae Revert "build_library: Add temporary workaround for binutils update"
This reverts commit faf07f1b8f.
2019-08-08 15:53:06 +00:00
David Michael
da9301e545
Merge pull request #874 from dm0-/jenkins
jenkins: Stop trying to install catalyst
2019-08-06 15:34:27 -04:00
David Michael
0148b0df16 jenkins: Stop trying to install catalyst
It's already built into the SDK.
2019-08-05 10:53:27 -04:00
David Michael
e49a215ece
Merge pull request #873 from coreos/glsa
build_library: Add temporary workaround for binutils update
2019-08-04 00:17:38 -04:00
David Michael
faf07f1b8f build_library: Add temporary workaround for binutils update
Revert this after the new binutils is built into the SDK.
2019-08-03 16:24:27 +00:00
David Michael
40517864cb
Merge pull request #870 from dm0-/jenkins
jenkins: Free more disk space on successful job completion
2019-08-02 16:04:51 -04:00
David Michael
e45c7f1ec1 jenkins: Make the package build ccache more visible 2019-07-30 17:29:52 +00:00
David Michael
0bcf0e9fcf jenkins: Move workspace cleanup to the pipeline
More space can be saved by removing things that get overwritten on
the next job run, but they are used after this script runs (e.g.
for fingerprinting).  Drop the cleanup from these scripts and move
it all to the post-build pipeline stage.
2019-07-30 17:29:52 +00:00
Andrew Jeddeloh
5d0af879ae
Merge pull request #871 from ajeddeloh/bump-size
disk_layout: bump dev container from 3 to 4GB
2019-06-11 16:00:56 -07:00
Andrew Jeddeloh
006fe8765d disk_layout: bump dev container from 3 to 4GB
Builds are beginning to run out of space with 3GB. Bump to 4GB.
2019-06-11 21:39:02 +00:00
David Michael
3c7e94864c
Merge pull request #869 from dm0-/revert
Revert "catalyst: Temporarily disable update_seed again"
2019-05-02 12:26:11 -04:00
David Michael
2791e33eb5 Revert "catalyst: Temporarily disable update_seed again"
This reverts commit a85cb08443.
2019-05-02 03:23:07 +00:00
David Michael
3444f460cf
Merge pull request #868 from dm0-/glsa
catalyst: Temporarily disable update_seed again
2019-04-23 15:22:44 -04:00
David Michael
a85cb08443 catalyst: Temporarily disable update_seed again
The glib security update blocks itself.  Disable this until a new
SDK is generated, then it can be reverted again.
2019-04-23 03:29:09 +00:00
David Michael
9ca5893ba7
Merge pull request #867 from dm0-/glsa
build_library: Drop whitelisted systemd GLSA
2019-03-12 18:56:29 -04:00
David Michael
3254c63690 build_library: Drop whitelisted systemd GLSA
This no longer matches since upgrading to 241.
2019-03-12 16:29:48 +00: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 7d99b4dbdd.
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