mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
installer: rework buildscript
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
63ed79d0a0
commit
38b0e34158
@ -39,16 +39,16 @@ if [ "$TARGET_ARCH" = "i386" -o "$TARGET_ARCH" = "x86_64" ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS flashrom"
|
||||
fi
|
||||
|
||||
pre_build_target() {
|
||||
mkdir -p $ROOT/$BUILD/$PKG_NAME-$PKG_VERSION
|
||||
PKG_BUILD="$ROOT/$BUILD/$PKG_NAME-$PKG_VERSION"
|
||||
}
|
||||
|
||||
make_target() {
|
||||
: # nothing to make here
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
: # nothing to install here
|
||||
}
|
||||
|
||||
post_install() {
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/installer $INSTALL/usr/bin
|
||||
|
||||
@ -58,9 +58,6 @@ makeinstall_target() {
|
||||
else
|
||||
cp $PKG_DIR/config/installer.conf $INSTALL/etc
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
enable_service installer.service
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user