- adding script for showing versions information
This commit is contained in:
Stephan Raue 2010-04-12 13:13:14 +02:00
parent 70fc13f79f
commit b35c7f4534
3 changed files with 5 additions and 1 deletions

View File

@ -60,7 +60,6 @@ case "$2" in
echo $TARGET_ARCH > $INSTALL/etc/arch
echo "$OPENELEC_VERSION" > $INSTALL/etc/version
echo "OpenELEC.tv - Date of build: $BUILD_DATE Build: $BZR_BUILD" > $INSTALL/etc/openelec-release
echo "OpenELEC.tv - Date of build: $BUILD_DATE Build: $BZR_BUILD" > $INSTALL/etc/lsb-release
# Network support
[ "$NETWORK" = yes ] && $SCRIPTS/install network

View File

@ -21,6 +21,7 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
mkdir -p $INSTALL/bin
ln -sf /bin/sh $INSTALL/bin/bash
cp $PKG_DIR/scripts/lsb-release $INSTALL/bin/
mkdir -p $INSTALL/sbin
cp $PKG_DIR/scripts/init $INSTALL/sbin/

View File

@ -0,0 +1,4 @@
#!/bin/sh
# show release information
echo `cat /etc/openelec-release`