diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-10-19 09:02:00 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-10-19 09:02:00 +0200 |
commit | 6d49f1e4700b8237fb898eebf3428ae8e94ef02a (patch) | |
tree | 4edbf16743a9d09e6b6d798fac6dd211bf0ff835 | |
parent | ef26e623ae90051cf49cf1414542f51e1c8ac55c (diff) | |
download | nutyx-extra-6d49f1e4700b8237fb898eebf3428ae8e94ef02a.tar.gz nutyx-extra-6d49f1e4700b8237fb898eebf3428ae8e94ef02a.tar.bz2 nutyx-extra-6d49f1e4700b8237fb898eebf3428ae8e94ef02a.tar.xz nutyx-extra-6d49f1e4700b8237fb898eebf3428ae8e94ef02a.zip |
Ajout de lvm2#2.02.53-1
-rw-r--r-- | base/lvm2/.footprint | 117 | ||||
-rw-r--r-- | base/lvm2/.md5sum | 2 | ||||
-rw-r--r-- | base/lvm2/Pkgfile | 32 | ||||
-rwxr-xr-x | base/lvm2/lvmnodes | 39 |
4 files changed, 190 insertions, 0 deletions
diff --git a/base/lvm2/.footprint b/base/lvm2/.footprint new file mode 100644 index 000000000..caf5f18f8 --- /dev/null +++ b/base/lvm2/.footprint @@ -0,0 +1,117 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/lvm/ +drwx------ root/root etc/lvm/archive/ +drwx------ root/root etc/lvm/backup/ +-rw-r--r-- root/root etc/lvm/lvm.conf +drwxr-xr-x root/root etc/rc.d/ +drwx------ root/root etc/rc.d/init.d/ +-rwxr-xr-x root/root etc/rc.d/init.d/lvmnodes +drwx------ root/root etc/rc.d/rcsysinit.d/ +lrwxrwxrwx root/root etc/rc.d/rcsysinit.d/S29lvmnodes -> ../init.d/lvmnodes +drwxr-xr-x root/root lib/ +lrwxrwxrwx root/root lib/libdevmapper.so -> libdevmapper.so.1.02 +-r-xr-xr-x root/root lib/libdevmapper.so.1.02 +drwxr-xr-x root/root sbin/ +-r-xr-xr-x root/root sbin/dmsetup +-r-xr-xr-x root/root sbin/fsadm +lrwxrwxrwx root/root sbin/lvchange -> lvm +lrwxrwxrwx root/root sbin/lvconvert -> lvm +lrwxrwxrwx root/root sbin/lvcreate -> lvm +lrwxrwxrwx root/root sbin/lvdisplay -> lvm +lrwxrwxrwx root/root sbin/lvextend -> lvm +-r-xr-xr-x root/root sbin/lvm +lrwxrwxrwx root/root sbin/lvmchange -> lvm +lrwxrwxrwx root/root sbin/lvmdiskscan -> lvm +-r-xr-xr-x root/root sbin/lvmdump +lrwxrwxrwx root/root sbin/lvmsadc -> lvm +lrwxrwxrwx root/root sbin/lvmsar -> lvm +lrwxrwxrwx root/root sbin/lvreduce -> lvm +lrwxrwxrwx root/root sbin/lvremove -> lvm +lrwxrwxrwx root/root sbin/lvrename -> lvm +lrwxrwxrwx root/root sbin/lvresize -> lvm +lrwxrwxrwx root/root sbin/lvs -> lvm +lrwxrwxrwx root/root sbin/lvscan -> lvm +lrwxrwxrwx root/root sbin/pvchange -> lvm +lrwxrwxrwx root/root sbin/pvck -> lvm +lrwxrwxrwx root/root sbin/pvcreate -> lvm +lrwxrwxrwx root/root sbin/pvdisplay -> lvm +lrwxrwxrwx root/root sbin/pvmove -> lvm +lrwxrwxrwx root/root sbin/pvremove -> lvm +lrwxrwxrwx root/root sbin/pvresize -> lvm +lrwxrwxrwx root/root sbin/pvs -> lvm +lrwxrwxrwx root/root sbin/pvscan -> lvm +lrwxrwxrwx root/root sbin/vgcfgbackup -> lvm +lrwxrwxrwx root/root sbin/vgcfgrestore -> lvm +lrwxrwxrwx root/root sbin/vgchange -> lvm +lrwxrwxrwx root/root sbin/vgck -> lvm +lrwxrwxrwx root/root sbin/vgconvert -> lvm +lrwxrwxrwx root/root sbin/vgcreate -> lvm +lrwxrwxrwx root/root sbin/vgdisplay -> lvm +lrwxrwxrwx root/root sbin/vgexport -> lvm +lrwxrwxrwx root/root sbin/vgextend -> lvm +lrwxrwxrwx root/root sbin/vgimport -> lvm +-r-xr-xr-x root/root sbin/vgimportclone +lrwxrwxrwx root/root sbin/vgmerge -> lvm +lrwxrwxrwx root/root sbin/vgmknodes -> lvm +lrwxrwxrwx root/root sbin/vgreduce -> lvm +lrwxrwxrwx root/root sbin/vgremove -> lvm +lrwxrwxrwx root/root sbin/vgrename -> lvm +lrwxrwxrwx root/root sbin/vgs -> lvm +lrwxrwxrwx root/root sbin/vgscan -> lvm +lrwxrwxrwx root/root sbin/vgsplit -> lvm +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-r--r--r-- root/root usr/include/libdevmapper.h +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-r--r--r-- root/root usr/share/man/man5/lvm.conf.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-r--r--r-- root/root usr/share/man/man8/dmsetup.8.gz +-r--r--r-- root/root usr/share/man/man8/fsadm.8.gz +-r--r--r-- root/root usr/share/man/man8/lvchange.8.gz +-r--r--r-- root/root usr/share/man/man8/lvconvert.8.gz +-r--r--r-- root/root usr/share/man/man8/lvcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/lvdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/lvextend.8.gz +-r--r--r-- root/root usr/share/man/man8/lvm.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmchange.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmdiskscan.8.gz +-r--r--r-- root/root usr/share/man/man8/lvmdump.8.gz +-r--r--r-- root/root usr/share/man/man8/lvreduce.8.gz +-r--r--r-- root/root usr/share/man/man8/lvremove.8.gz +-r--r--r-- root/root usr/share/man/man8/lvrename.8.gz +-r--r--r-- root/root usr/share/man/man8/lvresize.8.gz +-r--r--r-- root/root usr/share/man/man8/lvs.8.gz +-r--r--r-- root/root usr/share/man/man8/lvscan.8.gz +-r--r--r-- root/root usr/share/man/man8/pvchange.8.gz +-r--r--r-- root/root usr/share/man/man8/pvck.8.gz +-r--r--r-- root/root usr/share/man/man8/pvcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/pvdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/pvmove.8.gz +-r--r--r-- root/root usr/share/man/man8/pvremove.8.gz +-r--r--r-- root/root usr/share/man/man8/pvresize.8.gz +-r--r--r-- root/root usr/share/man/man8/pvs.8.gz +-r--r--r-- root/root usr/share/man/man8/pvscan.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcfgbackup.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcfgrestore.8.gz +-r--r--r-- root/root usr/share/man/man8/vgchange.8.gz +-r--r--r-- root/root usr/share/man/man8/vgck.8.gz +-r--r--r-- root/root usr/share/man/man8/vgconvert.8.gz +-r--r--r-- root/root usr/share/man/man8/vgcreate.8.gz +-r--r--r-- root/root usr/share/man/man8/vgdisplay.8.gz +-r--r--r-- root/root usr/share/man/man8/vgexport.8.gz +-r--r--r-- root/root usr/share/man/man8/vgextend.8.gz +-r--r--r-- root/root usr/share/man/man8/vgimport.8.gz +-r--r--r-- root/root usr/share/man/man8/vgimportclone.8.gz +-r--r--r-- root/root usr/share/man/man8/vgmerge.8.gz +-r--r--r-- root/root usr/share/man/man8/vgmknodes.8.gz +-r--r--r-- root/root usr/share/man/man8/vgreduce.8.gz +-r--r--r-- root/root usr/share/man/man8/vgremove.8.gz +-r--r--r-- root/root usr/share/man/man8/vgrename.8.gz +-r--r--r-- root/root usr/share/man/man8/vgs.8.gz +-r--r--r-- root/root usr/share/man/man8/vgscan.8.gz +-r--r--r-- root/root usr/share/man/man8/vgsplit.8.gz +drwxr-xr-x root/root var/ +drwxrwxrwt root/root var/lock/ +drwx------ root/root var/lock/lvm/ diff --git a/base/lvm2/.md5sum b/base/lvm2/.md5sum new file mode 100644 index 000000000..b98cc2904 --- /dev/null +++ b/base/lvm2/.md5sum @@ -0,0 +1,2 @@ +f9ae3579bf15467b7f1d7aea8b9ed9b3 LVM2.2.02.53.tgz +70b51cdea7248db362d2e394786393de lvmnodes diff --git a/base/lvm2/Pkgfile b/base/lvm2/Pkgfile new file mode 100644 index 000000000..eeb1e1abd --- /dev/null +++ b/base/lvm2/Pkgfile @@ -0,0 +1,32 @@ +# Description: Outils pour la gestion des volumes logiques (lvm) +# URL: http://sourceware.org/lvm2/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=lvm2 +version=2.02.53 +release=1 +source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz\ + lvmnodes) +build() { + cd LVM2.$version + + ./configure \ + --prefix=/usr \ + --exec-prefix= \ + --mandir=/usr/share/man \ + --enable-lvm1_fallback \ + --disable-readline + + make + make DESTDIR=$PKG install + install -d -m 0700 $PKG/etc/rc.d/{init.d,rcsysinit.d} + cp ../lvmnodes $PKG/etc/rc.d/init.d/ + ln -s ../init.d/lvmnodes $PKG/etc/rc.d/rcsysinit.d/S29lvmnodes + install -d -m 0700 $PKG/etc/lvm/{archive,backup} + install -d -m 1777 $PKG/var/lock + install -d -m 0700 $PKG/var/lock/lvm +} + + diff --git a/base/lvm2/lvmnodes b/base/lvm2/lvmnodes new file mode 100755 index 000000000..28ef51732 --- /dev/null +++ b/base/lvm2/lvmnodes @@ -0,0 +1,39 @@ +#!/bin/sh +######################################################################## +# Begin $rc_base/init.d/lvmnodes +# +# Description : mknodes lvm +# +# Authors : guy_ +# +# Version : 00.00 +# +# Notes : +######################################################################### + +. /etc/sysconfig/rc +. ${rc_functions} + +boot_mesg "Mapping lvm drives..." +case "${1}" in + start) + if [ -f /sbin/lvm ]; then + /sbin/lvm vgscan --ignorelockingfailure --mknodes + evaluate_retval + error_value=${?} + if [ "${error_value}" = 0 ]; then + echo_ok + exit 0 + else + echo_failure + exit ${error_value} + fi + fi + ;; + *) + echo "Usage: ${0} {start}" + exit 1 + ;; +esac + +# End $rc_base/init.d/lvmnodes |