mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
new package:
- readd LVM2 - it is still needed for udisks
This commit is contained in:
parent
b28cb87ecd
commit
703fc0067b
31
packages/sysutils/LVM2/build
Executable file
31
packages/sysutils/LVM2/build
Executable file
@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $BUILD/$1*
|
||||
ac_cv_func_malloc_0_nonnull=yes \
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--disable-lvm1_fallback \
|
||||
--disable-static_link \
|
||||
--disable-readline \
|
||||
--enable-realtime \
|
||||
--enable-debug \
|
||||
--disable-profiling \
|
||||
--enable-devmapper \
|
||||
--disable-compat \
|
||||
--enable-o_direct \
|
||||
--enable-applib \
|
||||
--enable-cmdlib \
|
||||
--enable-pkgconfig \
|
||||
--enable-fsadm \
|
||||
--disable-dmeventd \
|
||||
--disable-selinux \
|
||||
--disable-nls \
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
18
packages/sysutils/LVM2/install
Executable file
18
packages/sysutils/LVM2/install
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/etc/lvm
|
||||
cp $BUILD/$1*/doc/example.conf $INSTALL/etc/lvm/lvm.conf
|
||||
|
||||
mkdir -p $INSTALL/sbin
|
||||
cp $BUILD/$1*/tools/lvm $INSTALL/sbin
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp -PR $BUILD/$1*/libdm/ioctl/libdevmapper.so $INSTALL/usr/lib/libdevmapper.so.1.02
|
||||
ln -sf /usr/lib/libdevmapper.so.1.02 $INSTALL/usr/lib/libdevmapper.so
|
||||
|
||||
# cp -PR $BUILD/$1*/liblvm/liblvm2app.so $INSTALL/usr/lib/liblvm2app.so.2.1
|
||||
# ln -sf /usr/lib/liblvm2app.so.2.1 $INSTALL/usr/lib/liblvm2app.so
|
||||
# cp -PR $BUILD/$1*/tools/liblvm2cmd.so $INSTALL/usr/lib/liblvm2cmd.so.2.02
|
||||
# ln -sf /usr/lib/liblvm2cmd.2.02 $INSTALL/usr/lib/liblvm2cmd.so
|
1
packages/sysutils/LVM2/url
Normal file
1
packages/sysutils/LVM2/url
Normal file
@ -0,0 +1 @@
|
||||
ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.54.tgz
|
Loading…
x
Reference in New Issue
Block a user