forked from coreos/fedora-coreos-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manifests: enable OSTree autopruning for ppc64le
The ppc64le arch has been blocked [1] from being fully released because of size limitations in /boot not being able to hold 3 copies of kernel+initramfs because the kernel on ppc64le isn't compressed [2]. Now that OSTree Autopruning [3] has landed let's enable it on ppc64le to unblock ourselves. [1] coreos/fedora-coreos-tracker#987 (comment) [2] coreos/fedora-coreos-tracker#1247 (comment) [3] coreos/fedora-coreos-tracker#1495
- Loading branch information
1 parent
60c10ab
commit e52c04a
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Enable OSTree autopruning to help with /boot size constraints | ||
# https://github.com/coreos/fedora-coreos-tracker/issues/1495 | ||
postprocess: | ||
- | | ||
#!/usr/bin/env bash | ||
mkdir -p /usr/lib/systemd/system/ostree-finalize-staged.service.d | ||
cat <<'EOF' > /usr/lib/systemd/system/ostree-finalize-staged.service.d/ostree-autoprune.conf | ||
[Service] | ||
# https://github.com/coreos/fedora-coreos-tracker/issues/1495 | ||
Environment=OSTREE_SYSROOT_OPTS=early-prune | ||
EOF |