This commit is contained in:
milisbir 2018-09-03 01:26:44 +03:00
parent a05a47764c
commit a2562c0139
2 changed files with 20 additions and 19 deletions

View File

@ -5,17 +5,17 @@
# Grup: sistem
isim=dracut
surum=046
surum=048
devir=1
kaynak=(http://kernel.org/pub/linux/utils/boot/dracut/$isim-$surum.tar.xz)
derle() {
git_indir https://github.com/milisarge/dracut-milis dracut-milis
#git_indir https://github.com/milisarge/dracut-milis dracut-milis
cd $isim-$surum
./configure --prefix=/usr \
--sysconfdir=/etc \
--loginstalldir=/var/log/dracut
make -j1 sysconfdir=/etc prefix=/usr
make sysconfdir=/etc prefix=/usr DESTDIR=$PKG install
cp -rf $SRC/dracut-milis/moduller/* $PKG/usr/lib/dracut/modules.d/
#cp -rf $SRC/dracut-milis/moduller/* $PKG/usr/lib/dracut/modules.d/
}

View File

@ -2,29 +2,30 @@
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
# Paketçi: milisarge
# Gerekler:
# Grup: sistem
isim=kmod
surum=22
surum=25
devir=1
kaynak=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$surum.tar.xz )
derle()
{
cd $isim-$surum
./configure --prefix=/usr \
--bindir=/bin \
--sysconfdir=/etc \
--with-rootlibdir=/lib \
--disable-manpages \
--with-xz \
--with-zlib
cd $isim-$surum
./configure --prefix=/usr \
--bindir=/bin \
--sysconfdir=/etc \
--with-rootlibdir=/lib \
--disable-manpages \
--with-xz \
--with-zlib
make
make DESTDIR=$PKG install
mkdir $PKG/sbin
for target in depmod insmod modinfo modprobe rmmod; do
ln -sv ../bin/kmod $PKG/sbin/$target
done
ln -sv kmod $PKG/bin/lsmod
make
make DESTDIR=$PKG install
mkdir $PKG/sbin
for target in depmod insmod modinfo modprobe rmmod; do
ln -sv ../bin/kmod $PKG/sbin/$target
done
ln -sv kmod $PKG/bin/lsmod
}