6268 Commits

Author SHA1 Message Date
Kai Lüke
5ff7a3464c sys-auth/sssd: Drop unstable versions 2020-08-10 20:34:12 +02:00
Kai Lüke
38929f12ff sys-auth/sssd: Sync from Gentoo 2020-08-10 20:33:29 +02:00
Kai Lüke
29e522f210 dev-libs/cyrus-sasl: Apply Flatcar patch and drop r4 ebuild 2020-08-07 16:36:58 +02:00
Kai Lüke
7001363e52 dev-libs/cyrus-sasl: Sync from Gentoo 2020-08-07 15:32:07 +02:00
Kai Lüke
f282ca0fd4 app-crypt/trousers: Apply Flatcar modifications 2020-08-07 13:38:10 +02:00
Kai Lüke
16dbf342bc app-crypt/trousers: Sync from Gentoo 2020-08-07 13:29:26 +02:00
Kai Lüke
bc594381c6 Overwrite openssl mask in portage-stable
The outdated portage-stable mask file can't be updated until we update
glibc or unmask it. Instead of dealing with glibc masking, just address
the situation of this openssl version being masked in the outdated file.
2020-08-05 21:58:36 +02:00
Kai Lüke
ebe7f74a27 net-misc/openssh: Apply CoreOS changes
- Drop the init.d files.
- Remove the socket unit's rate limiting.

Instead of dropping bindist, enable it with the profiles now so it
doesn't need to be modified on future updates.
2020-08-05 21:57:25 +02:00
Kai Lüke
406ad6140a net-misc/openssh: Sync with Gentoo's latest stable 2020-08-05 21:57:19 +02:00
Kai Lüke
b3c4c2f834 dev-libs/openssl: Apply CoreOS changes
- Drop pkg_postinst.
- Create /etc/ssl with tmpfiles (and package it for the SDK).
2020-08-05 21:50:29 +02:00
Kai Lüke
e752ae84a0 dev-libs/openssl: Sync with Gentoo's latest 1.1.1 stable 2020-08-05 21:50:17 +02:00
Sayan Chowdhury
f6a979a364 Merge pull request #511 from flatcar-linux/sayan/systemd-v245-flatcar-sync
sys-apps/systemd: Update systemd to v245.7
2020-08-05 15:25:39 +05:30
Sayan Chowdhury
072ed741b1 sys-apps/systemd: Update systemd to v245.7
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
2020-08-05 15:21:40 +05:30
Kai Lüke
e931f97a79 Merge pull request #506 from flatcar-linux/kai/exclude-weave-from-networkd
coreos-base/coreos-init: Update to exclude weave network devices
2020-08-04 15:10:25 +02:00
Marga Manterola
64226cd354 bootengine: move to version with disk randomization fix
This includes adding execution permissions to the new disk-uuid script.
2020-08-04 11:42:52 +02:00
Kai Lüke
acf53beabb Merge pull request #510 from flatcar-linux/kai/amazon-aws-agent
Build amazon-ssm-agent package but disable it for now
2020-08-03 19:12:54 +02:00
Kai Lüke
4d826abf41 Build amazon-ssm-agent package but disable it for now
The amazon-ssm-agent package was never built and caused the vm-matrix
job to find no binary package.
Build it as part of build_packages but don't install it on openstack
or brightbox images. The plan is to add it for EC2 but currently the
binaries are too large.
2020-08-03 18:24:12 +02:00
Kai Lüke
03cdfb5bd9 Revert "Build app-emulation/amazon-ssm-agent with EC2 AMI images"
This reverts commit 58c8b0dc393ce08047f7a4f530ed5da9aa205799.
2020-08-03 18:16:38 +02:00
Flatcar Buildbot
9fd5a44e39 sys-kernel: Upgrade coreos-kernel 5.4.53 to 5.4.55 2020-08-01 07:18:42 +00:00
Kai Lüke
b1af220ef9 coreos-base/coreos-init: Update to exclude weave network devices
The special weave devices are now excluded from networkd to prevent
interference.
This pulls in
https://github.com/flatcar-linux/init/pull/22
2020-07-31 15:09:47 +02:00
Kai Lüke
f45f540b65 sys-apps/systemd: Add tmpfile directive for /var/log/journal/remote
The folder /var/log/journal/remote used to be part of the inital rootfs
through a keepdir directive in the build. However, any paths except
/usr are ephemeral and can be deleted at any time and should be recreated
with tmpfile directives. When upstream Gentoo removed the line
"keepdir /var/log/journal/remote" our tests started to fail but in fact
they could have failed earlier if they had tested with Ignition creating
a new root filesystem which lacks the /var/log/journal/remote folder.
Add a directive to create /var/log/journal/remote at runtime in any case.
2020-07-30 19:16:47 +02:00
Kai Lüke
7b28342265 sys-fs/lvm2: Run lvm2-activation(-early).service only once
Increase the revision and apply a new lvm2-2.02.145-oneshot.patch:
  The lvm2-activation(-early).service was triggered multiple times which
  if done too quickly leads to a failure like this:
  systemd[1]: Finished Activation of LVM2 logical volumes.
  systemd[1]: lvm2-activation-early.service: Start request repeated too quickly.
  systemd[1]: lvm2-activation-early.service: Failed with result 'start-limit-hit'.
  Set RemainAfterExit=yes as done for the other oneshot services to
  prevent the unit from running multiple times in a row and hitting the
  restart limit.
The patch was sent to upstream lvm-devel@redhat.com
2020-07-30 18:11:37 +02:00
Kai Lüke
4ac7513875 app-misc/ca-certificates|sys-apps/baselayout: Run flatcar-tmpfiles|clean-ca-certificates only once
The flatcar-tmpfiles and clean-ca-certificates services were run
many times and finally failed to run because they were spawned too
often during the allowed time period.
Mark them as active after they ran once. Also ensure that when they
run all mounts are ready.
Pulls in https://github.com/flatcar-linux/baselayout/pull/4
2020-07-30 18:11:37 +02:00
Kai Lüke
8f994d6963 sys-apps/baselayout: Work around systemd-tmpfiles not finding libidn2
The baselayout ebuild file calls systemd-tmpfiles but despite that
the systemd ebuild file depends on libidn2 through a use flag, it was
not built early enough.
Ensure that libidn2 is built before baselayout wants to use it.
2020-07-29 16:33:32 +02:00
Kai Lüke
c66b25ccfe sys-apps/systemd: Guard deletion of hwdb.d folder behind use flag
Building systemd in the SDK bootstrap failed because the hwdb.d folder
did not exist. The upstream ebuild file has this guard:
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/systemd/systemd-245.5.ebuild#n390
2020-07-29 12:37:54 +02:00
Kai Lüke
c0d4c41ae3 Merge pull request #498 from flatcar-linux/kai/no-md5-cache
metadata: Delete md5-cache
2020-07-28 16:52:46 +02:00
Kai Lüke
158f72af0f Merge pull request #494 from flatcar-linux/kai/migrate-github-actions
Migrate GitHub actions
2020-07-28 15:36:10 +02:00
Kai Lüke
a1727654a8 .github: Do not create metadata/md5-cache commits 2020-07-28 15:12:58 +02:00
Kai Lüke
0066ee57e0 .github: Setup kernel updates for maintenance branches 2020-07-28 15:05:31 +02:00
Kai Lüke
0324dd7f93 metadata: Delete md5-cache
The metadata/md5-cache folder is machine-generated based on the
other files in the repository. It causes merge conflicts when at
one time they were not regernated in a commit and then later a
commit does it and includes cache changes which	are incompatible
with later or newer states.
Remove the folder as it	is not necessary to have it and was removed
in upstream Gentoo, too.
2020-07-27 16:20:16 +02:00
Kai Lüke
1965865b12 Revert "sys-libs/glibc: update to 2.30-r8"
This reverts commit 7ed010a557a898ffce6697f4006e27294f2d77f6.
2020-07-27 11:54:27 +02:00
Kai Lüke
eba038aed2 Revert "sys-libs/glibc: Apply Flatcar changes"
This reverts commit 640d6894a1cd788f4e3250878f2d31b801728ed3.
2020-07-27 11:54:19 +02:00
Dongsu Park
06166e3b6e Merge pull request #488 from flatcar-linux/linux-5.4.53-alpha
Upgrade Linux Kernel in Alpha from 5.4.52 to 5.4.53
2020-07-24 15:32:00 +02:00
Kai Lüke
4e25834549 .github: Only update the new main branch
The new main branch is the only branch that should get new software
updates with the exception of the maintenance branches that get kernel
updates.
Only target the main branch with GitHub Actions until we add discovery
for all active channel maintenance branches.
2020-07-23 19:26:09 +02:00
Dongsu Park
bb6a5945f4 .github: replace COMMIT_ID in runc ebuilds
So far Github actions have not changed existing `COMMIT_ID` variable in
runc ebuilds. As a result, the result PRs have correct versions with wrong
commit hashes.

We need to replace `COMMIT_ID` with one that matches with the new version.
To do that, clone the repo completely, since it is not possible to get
the commit hash by running `git rev-parse` on a shallow cloned repo.
Parse commit from a tag with an original version with `-` as its
delimiter, e.g. `v1.0.0-rc91`, because a transformed
tag like `v1.0.0_rc91` does not exist in the upstream repo.
2020-07-23 18:32:28 +02:00
Sayan Chowdhury
39b5c5d2e0 .github/workflows: Update the kernel release edge version to 5.7
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
2020-07-23 18:32:28 +02:00
Dongsu Park
faf94bbe20 .github: update rust versions also in profiles
We need to update rust versions also in multiple files in profiles,
e.g. `package.accept_keywords`. Otherwise `emerge rust` will fail,
due to mismatches between rust versions, in profiles and the actual
ebuilds.
2020-07-23 18:32:28 +02:00
Dongsu Park
ee7960d64e .github: fix version format in docker-runc
docker-runc ebuild has lines of runc versions with not only underscore
(`_`) but also hyphen (`-`). So when we replace the runc version, we
need to also care about versions with hyphen, for example, `1.0.0-rc10`.
2020-07-23 18:32:28 +02:00
Dongsu Park
e4c1f9b59a .github: correctly check status of checkout_branches
`exit` command will simply fail the whole script, so it would not be
possible to check for status of `checkout_branches`. Instead, we need to
use `return` for the error checks.
2020-07-23 18:32:28 +02:00
Dongsu Park
b330d54042 .github: update Kernel version to 5.4 for beta
Now that we updated Kernel to 5.4 for Beta, we also need to set Kernel
version to 5.4 in Github Actions.
2020-07-23 18:32:28 +02:00
Dongsu Park
730ae31678 .github: skip branch checkout if it exists
In case the target branch already exists, `checkout_branch()` needs to
simply `exit 0`, so the subsequent steps could be skipped.
In that case, it has to set `UPDATE_NEEDED` to 0, so the Github action
could avoiding creating another PR.

It resolves occasional issues that happen when subsequent PRs overwrite
existing open PRs made on the very same version. It would be no problem
if there was no change in the PR. However, if there was any manual
change in the previous open PR, the change will be simply overwritten.
That would be very unfortunate.
2020-07-23 18:32:27 +02:00
Dongsu Park
e48aa048a2 .github: check out with a specific channel name
When checking out into a branch name, append `-${CHANNEL}` to the name,
so the branch can be distinguished from each other. To do that, make
every Github actions yaml file pass in its corresponding `CHANNEL`
variable.
2020-07-23 18:32:27 +02:00
Dongsu Park
ee727b639f .github: generate package versions from input values
We do not need to specify each version from each workflow yaml file.
Make *-apply.patch scripts instead generate `$VERSION_SHORT` from the
input version value.
2020-07-23 18:32:27 +02:00
Dongsu Park
596136827b .github: detect latest cork version during SDK setup
We do not need to specify a cork version from each Github action.
Simply detect the latest version in `setup-flatcar-sdk.sh`, before
downloading cork binary file from Github.

Also remove the env variable for cork version from each Github action.
2020-07-23 18:32:27 +02:00
Dongsu Park
566be32dfd .github: update Kernel version to 5.4 for Alpha
Now that Kernel was updated to 5.4 in flatcar-master-alpha, we need
to update also Kernel versions for Alpha in Github actions.
2020-07-23 18:32:27 +02:00
Dongsu Park
8ae55c6d77 .github: schedule weekly Github actions for containerd
To get containerd in sync with upstream, we need to schedule weekly
Github actions. It runs on Friday every week, only for Alpha and Edge.
Similar to those for Docker, we need to deal with torcx ebuilds as well,
as they contain containerd versions.
2020-07-23 18:32:27 +02:00
Dongsu Park
eba279d24f .github: run weekly once to check for usual packages
We do not need to run once in a day to check for updates from
ordinary packages. Most releases happen once in more than a week.
So schedule the Github actions only once in a week for most packages.
Go on Mon, Rust on Tue, Docker on Wed, Runc on Thu.

Note, we still need to check for Kernel once in a day, as Kernel
releases happen quite often.
2020-07-23 18:32:27 +02:00
Dongsu Park
f6d9de2f68 .github: detect kernel version correctly
`kernel-apply-patch.sh` cannot detect the existing kernel version,
if the version does not have a patchlevel, e.g. `5.6`. So the old
kernel version variable becomes an empty string, and the final pull
request has an empty field after the `from` string.

If the Manifest does not have a `patch-` line, try to read a `linux-`
line again, to detect the correct kernel version.
2020-07-23 18:32:26 +02:00
Dongsu Park
0d4a0194be .github: split out from runc into common.sh
To avoid duplicates, make runc-apply-patch.sh use the helper
functions in `common.sh`.
2020-07-23 18:32:26 +02:00
Dongsu Park
c74c31a835 .github: split out from docker into common.sh
To avoid duplicates, make docker-apply-patch.sh use the helper
functions in `common.sh`.
2020-07-23 18:32:26 +02:00