mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
util-linux: build with libsmartcols if SWAP supported is enabled, dont build with libsmartcols in initramfs
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
98e5150a65
commit
c89a1aa9a1
@ -39,7 +39,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-gtk-doc \
|
|||||||
--enable-libuuid \
|
--enable-libuuid \
|
||||||
--enable-libblkid \
|
--enable-libblkid \
|
||||||
--enable-libmount \
|
--enable-libmount \
|
||||||
--disable-libsmartcols \
|
|
||||||
--disable-deprecated-mount \
|
--disable-deprecated-mount \
|
||||||
--disable-mount \
|
--disable-mount \
|
||||||
--enable-fsck \
|
--enable-fsck \
|
||||||
@ -99,7 +98,13 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-gtk-doc \
|
|||||||
--without-systemdsystemunitdir"
|
--without-systemdsystemunitdir"
|
||||||
|
|
||||||
PKG_CONFIGURE_OPTS_HOST="$PKG_CONFIGURE_OPTS_TARGET"
|
PKG_CONFIGURE_OPTS_HOST="$PKG_CONFIGURE_OPTS_TARGET"
|
||||||
PKG_CONFIGURE_OPTS_INIT="$PKG_CONFIGURE_OPTS_TARGET"
|
PKG_CONFIGURE_OPTS_INIT="$PKG_CONFIGURE_OPTS_TARGET --disable-libsmartcols"
|
||||||
|
|
||||||
|
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-libsmartcols"
|
||||||
|
else
|
||||||
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --disable-libsmartcols"
|
||||||
|
fi
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
rm -rf $INSTALL/usr/bin
|
rm -rf $INSTALL/usr/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user