Skip to content

Commit 90b2789

Browse files
committed
Fix grep condition in prepare-root.conf
1 parent 67ee4fa commit 90b2789

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ postprocess:
6565
set -xeuo pipefail
6666
source /etc/os-release
6767
# always expect the file to be there, and that it turns on composefs
68-
grep -Pz '\[composefs\]\nenabled = true\n' /usr/lib/ostree/prepare-root.conf
68+
grep -Pz '\[composefs\]\nenabled = yes\n' /usr/lib/ostree/prepare-root.conf
6969
if [[ $VERSION_ID = 9.* ]]; then
70-
sed -i -e 's,enabled = true,enabled = maybe,' /usr/lib/ostree/prepare-root.conf
70+
sed -i -e 's,enabled = yes,enabled = maybe,' /usr/lib/ostree/prepare-root.conf
7171
fi
7272
7373
# Mark the OS as of the CoreOS variant.

0 commit comments

Comments
 (0)