Skip to content
Snippets Groups Projects
Commit f2ae170a authored by Frédéric Dalleau's avatar Frédéric Dalleau
Browse files

Move mildenhall theme from /var to /usr

The mildenhall themes are located in /var/lib/MILDENHALL_extensions.
Move this directory to /usr/share when building OSTree images.
Add a symbolic link so that unmodified binaries can still run.

Apertis: https://phabricator.apertis.org/T5362


Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>
parent b35a493c
No related branches found
No related tags found
1 merge request!29Move mildenhall theme from /var to /usr
......@@ -53,6 +53,11 @@ actions:
chroot: true
script: scripts/canterbury-platform-cache.sh
- action: run
description: Move theme directory
chroot: true
script: scripts/mildenhall-extensions-theme.sh
- action: run
chroot: true
script: scripts/ostree-prepare.sh
......
#!/bin/sh
set -e
TMPFILE=/usr/lib/tmpfiles.d/mildenhall-extensions.conf
SOURCE=/var/lib/
TARGET=/usr/share/
MILDENHALL=MILDENHALL_extensions
# Move the MILDENHALL_extensions directory to /usr/share
mkdir -p $TARGET
mv $SOURCE/$MILDENHALL $TARGET/
# Create a symbolic link at the standard place
echo "L+ $SOURCE/$MILDENHALL - - - - $TARGET/$MILDENHALL" > $TMPFILE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment