mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
parted: install 'parted' and 'partprobe' to initramfs if parted support is enabled in initramfs
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7fb9d61ea8
commit
255bd9d610
@ -25,6 +25,7 @@ PKG_SITE="http://www.gnu.org/software/parted/"
|
||||
PKG_URL="http://ftp.gnu.org/gnu/parted/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_HOST="toolchain util-linux:host"
|
||||
PKG_DEPENDS_TARGET="toolchain util-linux parted:host"
|
||||
PKG_DEPENDS_INIT="toolchain util-linux:init"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="system"
|
||||
PKG_SHORTDESC="parted: GNU partition editor"
|
||||
@ -33,17 +34,17 @@ PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--disable-shared --without-readline"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-device-mapper \
|
||||
--disable-shared \
|
||||
--without-readline \
|
||||
--disable-rpath \
|
||||
--with-gnu-ld"
|
||||
--disable-shared \
|
||||
--without-readline \
|
||||
--disable-rpath \
|
||||
--with-gnu-ld"
|
||||
|
||||
PKG_CONFIGURE_OPTS_INIT="$PKG_CONFIGURE_OPTS_TARGET"
|
||||
PKG_CONFIGURE_OPTS_HOST="$PKG_CONFIGURE_OPTS_TARGET"
|
||||
|
||||
post_make_target() {
|
||||
# dont build parallel
|
||||
MAKEFLAGS=-j1
|
||||
makeinstall_init() {
|
||||
mkdir -p $INSTALL/sbin
|
||||
cp parted/parted $INSTALL/sbin
|
||||
cp partprobe/partprobe $INSTALL/sbin
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user