diff --git a/README.md b/README.md index 772ff7d..b009999 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ This project is actively maintained and is ready for use by sophisticated and interested users, but not ready for widespread promotion. +See some [https://lists.fedoraproject.org/archives/list/desktop@lists.fedoraproject.org/thread/J6BJS7Z4NKNOQUZWGYXZZIEKYMWBBSUY/](discussion about the first release). + Installing ------------ diff --git a/fedora-ostree-workstation.json b/fedora-ostree-workstation.json index a1d801b..217b77a 100644 --- a/fedora-ostree-workstation.json +++ b/fedora-ostree-workstation.json @@ -9,7 +9,7 @@ "automatic_version_prefix": "28", - "initramfs-args": ["--no-hostonly"], + "boot_location": "new", "etc-group-members": ["wheel"], diff --git a/post.sh b/post.sh index d139161..77c5977 100755 --- a/post.sh +++ b/post.sh @@ -1,8 +1,23 @@ -#!/bin/bash +#!/usr/bin/env bash +# This file is very similar to treecompose-post.sh +# from fedora-atomic: https://pagure.io/fedora-atomic +# Make changes there first where applicable. set -xeuo pipefail -# See https://bugzilla.redhat.com/show_bug.cgi?id=1265295 ; some -# aspects of that have been fixed, but apparently this is still -# necessary, and generally makes things less finicky -echo 'Storage=persistent' >> /etc/systemd/journald.conf +# Work around https://bugzilla.redhat.com/show_bug.cgi?id=1265295 +# Also note the create-new-then-rename dance for rofiles-fuse compat +if ! grep -q '^Storage=persistent' /etc/systemd/journald.conf; then + (cat /etc/systemd/journald.conf && echo 'Storage=persistent') > /etc/systemd.journald.conf.new + mv /etc/systemd.journald.conf{.new,} +fi + +# See: https://src.fedoraproject.org/rpms/glibc/pull-request/4 +# Basically that program handles deleting old shared library directories +# mid-transaction, which never applies to rpm-ostree. This is structured as a +# loop/glob to avoid hardcoding (or trying to match) the architecture. +for x in /usr/sbin/glibc_post_upgrade.*; do + if test -f ${x}; then + ln -srf /usr/bin/true ${x} + fi +done