cgroupfs-mount (NEW): Scripts to mount the cgroupfs hierarchy

This commit is contained in:
James Mills 2014-03-17 14:10:29 +10:00
parent 0ae1fc08e2
commit 6c4ccc78cf
4 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,4 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/cgroupfs-mount
-rwxr-xr-x root/root usr/bin/cgroupfs-umount

0
cgroupfs-mount/.md5sum Normal file
View File

1
cgroupfs-mount/.nostrip Normal file
View File

@ -0,0 +1 @@
.*

30
cgroupfs-mount/Pkgfile Normal file
View File

@ -0,0 +1,30 @@
# Description: Scripts to mount the cgroupfs hierarchy
# URL: https://github.com/tianon/cgroupfs-mount
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
#
# Depends on: git
name=cgroupfs-mount
version=06bcb5e9d5
release=1
source=()
build() {
cd $PKGMK_SOURCE_DIR
if [ ! -d $name ]; then
git clone git://github.com/tianon/cgroupfs-mount.git $name
else
cd $name
git pull --rebase
fi
cp -r $PKGMK_SOURCE_DIR/$name $SRC
cd $SRC/$name
git checkout $version
# Package
install -D -m 755 cgroupfs-mount $PKG/usr/bin/cgroupfs-mount
install -D -m 755 cgroupfs-umount $PKG/usr/bin/cgroupfs-umount
chown -R root:root $PKG
}