Add few packages

This commit is contained in:
moparisthebest
2018-02-06 22:58:58 -05:00
parent 6d3d9c4434
commit aab7755bcb
9 changed files with 252 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
# Contributor: jim945 [at] mail . r [u]
pkgname=rootmp-hook
pkgver=1.8
pkgrel=2
pkgdesc="Initcpio hook for copyng root files or overlayfs in tmpfs or zram"
url="https://github.com/jim945"
arch=(any)
license=('GPL3')
install=${pkgname}.install
depends=('util-linux' 'rsync')
makedepends=('git')
source=(${pkgname%-git}::git+http://github.com/jim945/rootmp-hook.git)
package() {
install -o root -g root -D ${pkgname}/hooks/rootmp ${pkgdir}/usr/lib/initcpio/hooks/rootmp
install -o root -g root -D ${pkgname}/install/rootmp ${pkgdir}/usr/lib/initcpio/install/rootmp
}
md5sums=('SKIP')
+9
View File
@@ -0,0 +1,9 @@
post_install()
{
echo "To use this hook add rootmp in mkinitcio hooks"
}
post_remove()
{
echo "remember to remove rootmp from your mkinitcpio hooks array if you added it"
}