distribution/packages/tools/installer/package.mk
fewtarius 1f6d96325b
* Fix ALSA on x86_64 handhelds.
* Temporary drop or correct multiple packages that needed updates for x86_64.
* Update volume service to deprecate hard coded paths.
* system-utils and sleep to common packages.
* Add weston kiosk.ini for future use.
* Add DIRTY variable, if true it will not clean.
2022-08-31 17:50:23 -04:00

29 lines
977 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="installer"
PKG_VERSION="1"
PKG_LICENSE="GPL"
PKG_SITE="http://libreelec.tv/"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain busybox newt parted e2fsprogs syslinux grub"
PKG_LONGDESC="LibreELEC.tv Install manager to install the system on any disk"
PKG_TOOLCHAIN="manual"
post_install() {
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_DIR}/scripts/installer ${INSTALL}/usr/bin
sed -e "s/@DISTRONAME@/${DISTRONAME}/g" \
-e "s/@EXTRA_CMDLINE@/${EXTRA_CMDLINE}/g" \
-i ${INSTALL}/usr/bin/installer
mkdir -p ${INSTALL}/etc
find_file_path config/installer.conf
cp ${FOUND_PATH} ${INSTALL}/etc
sed -e "s/@SYSTEM_SIZE@/${SYSTEM_SIZE}/g" \
-e "s/@SYSTEM_PART_START@/${SYSTEM_PART_START}/g" \
-e "s/@SYSLINUX_PARAMETERS@/${SYSLINUX_PARAMETERS}/g" \
-i ${INSTALL}/etc/installer.conf
enable_service installer.service
}