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 becaue 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
Showing
2 changed files
with
16 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,10 @@ | ||
|
||
postprocess: | ||
# Enable OSTree autopruning to help with /boot size constraints | ||
# https://github.com/coreos/fedora-coreos-tracker/issues/1495 | ||
- | | ||
#!/usr/bin/env bash | ||
mkdir -p /usr/lib/systemd/system/rpm-ostreed.service.d | ||
overrides_file=/usr/lib/systemd/system/rpm-ostreed.service.d/ostree-autoprune.conf | ||
echo "# https://github.com/coreos/fedora-coreos-tracker/issues/1495" > $overrides_file | ||
echo "OSTREE_ENABLE_AUTO_EARLY_PRUNE=1" >> $overrides_file |