mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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_URL="http://ftp.gnu.org/gnu/parted/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS_HOST="toolchain util-linux:host"
|
PKG_DEPENDS_HOST="toolchain util-linux:host"
|
||||||
PKG_DEPENDS_TARGET="toolchain util-linux parted:host"
|
PKG_DEPENDS_TARGET="toolchain util-linux parted:host"
|
||||||
|
PKG_DEPENDS_INIT="toolchain util-linux:init"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="system"
|
PKG_SECTION="system"
|
||||||
PKG_SHORTDESC="parted: GNU partition editor"
|
PKG_SHORTDESC="parted: GNU partition editor"
|
||||||
@ -33,17 +34,17 @@ PKG_IS_ADDON="no"
|
|||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_HOST="--disable-shared --without-readline"
|
|
||||||
PKG_CONFIGURE_OPTS_TARGET="--disable-device-mapper \
|
PKG_CONFIGURE_OPTS_TARGET="--disable-device-mapper \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
--without-readline \
|
--without-readline \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--with-gnu-ld"
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
PKG_CONFIGURE_OPTS_INIT="$PKG_CONFIGURE_OPTS_TARGET"
|
||||||
PKG_CONFIGURE_OPTS_HOST="$PKG_CONFIGURE_OPTS_TARGET"
|
PKG_CONFIGURE_OPTS_HOST="$PKG_CONFIGURE_OPTS_TARGET"
|
||||||
|
|
||||||
post_make_target() {
|
makeinstall_init() {
|
||||||
# dont build parallel
|
mkdir -p $INSTALL/sbin
|
||||||
MAKEFLAGS=-j1
|
cp parted/parted $INSTALL/sbin
|
||||||
|
cp partprobe/partprobe $INSTALL/sbin
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user