mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/image: update /etc/os-release
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7bd11ef606
commit
91e109ec81
@ -86,14 +86,15 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
|
||||
fi
|
||||
|
||||
# create /etc/os-release
|
||||
echo -e "ID=openelec\n" > $INSTALL/etc/os-release
|
||||
echo -e "NAME=$DISTRONAME\n" >> $INSTALL/etc/os-release
|
||||
echo -e "VERSION=$OPENELEC_VERSION\n" >> $INSTALL/etc/os-release
|
||||
echo -e "PRETTY_NAME=$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "unofficial")) - Version: $OPENELEC_VERSION\n" >> $INSTALL/etc/os-release
|
||||
echo -e "HOME_URL=http://www.openelec.tv\n" >> $INSTALL/etc/os-release
|
||||
echo -e "BUG_REPORT_URL=https://github.com/OpenELEC/OpenELEC.tv\n" >> $INSTALL/etc/os-release
|
||||
echo -e "NAME=$DISTRONAME" > $INSTALL/etc/os-release
|
||||
echo -e "VERSION=$OPENELEC_VERSION" >> $INSTALL/etc/os-release
|
||||
echo -e "ID=openelec" >> $INSTALL/etc/os-release
|
||||
echo -e "VERSION_ID=$OS_VERSION" >> $INSTALL/etc/os-release
|
||||
echo -e "PRETTY_NAME=$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "unofficial")) - Version: $OPENELEC_VERSION" >> $INSTALL/etc/os-release
|
||||
echo -e "HOME_URL=http://www.openelec.tv" >> $INSTALL/etc/os-release
|
||||
echo -e "BUG_REPORT_URL=https://github.com/OpenELEC/OpenELEC.tv" >> $INSTALL/etc/os-release
|
||||
if [ -n "$GIT_HASH" ]; then
|
||||
echo -e "BUILD_ID=$GIT_HASH\n" >> $INSTALL/etc/os-release
|
||||
echo -e "BUILD_ID=$GIT_HASH" >> $INSTALL/etc/os-release
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user