diff --git a/features.in/live/live/image-scripts.d/65-os-release b/features.in/live/live/image-scripts.d/65-os-release new file mode 100755 index 00000000..c4f97d4d --- /dev/null +++ b/features.in/live/live/image-scripts.d/65-os-release @@ -0,0 +1,7 @@ +#!/bin/sh +# Install /etc/*-release files on live if needed +if [ -d /usr/share/branding-data-current ] && \ + ! [ -e /etc/altlinux-release ] && \ + ! [ -e /etc/os-release ]; then + cp -a /usr/share/branding-data-current/release/*-release /etc/ +fi