dracut
This commit is contained in:
parent
a05a47764c
commit
a2562c0139
|
@ -5,17 +5,17 @@
|
||||||
# Grup: sistem
|
# Grup: sistem
|
||||||
|
|
||||||
isim=dracut
|
isim=dracut
|
||||||
surum=046
|
surum=048
|
||||||
devir=1
|
devir=1
|
||||||
kaynak=(http://kernel.org/pub/linux/utils/boot/dracut/$isim-$surum.tar.xz)
|
kaynak=(http://kernel.org/pub/linux/utils/boot/dracut/$isim-$surum.tar.xz)
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
git_indir https://github.com/milisarge/dracut-milis dracut-milis
|
#git_indir https://github.com/milisarge/dracut-milis dracut-milis
|
||||||
cd $isim-$surum
|
cd $isim-$surum
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--loginstalldir=/var/log/dracut
|
--loginstalldir=/var/log/dracut
|
||||||
make -j1 sysconfdir=/etc prefix=/usr
|
make -j1 sysconfdir=/etc prefix=/usr
|
||||||
make sysconfdir=/etc prefix=/usr DESTDIR=$PKG install
|
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/
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,29 +2,30 @@
|
||||||
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
|
# URL: http://www.kernel.org/pub/linux/kernel/people/rusty/modules
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler:
|
# Gerekler:
|
||||||
|
# Grup: sistem
|
||||||
|
|
||||||
isim=kmod
|
isim=kmod
|
||||||
surum=22
|
surum=25
|
||||||
devir=1
|
devir=1
|
||||||
|
|
||||||
kaynak=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$surum.tar.xz )
|
kaynak=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$surum.tar.xz )
|
||||||
|
|
||||||
derle()
|
derle()
|
||||||
{
|
{
|
||||||
cd $isim-$surum
|
cd $isim-$surum
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-rootlibdir=/lib \
|
--with-rootlibdir=/lib \
|
||||||
--disable-manpages \
|
--disable-manpages \
|
||||||
--with-xz \
|
--with-xz \
|
||||||
--with-zlib
|
--with-zlib
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
mkdir $PKG/sbin
|
mkdir $PKG/sbin
|
||||||
for target in depmod insmod modinfo modprobe rmmod; do
|
for target in depmod insmod modinfo modprobe rmmod; do
|
||||||
ln -sv ../bin/kmod $PKG/sbin/$target
|
ln -sv ../bin/kmod $PKG/sbin/$target
|
||||||
done
|
done
|
||||||
ln -sv kmod $PKG/bin/lsmod
|
ln -sv kmod $PKG/bin/lsmod
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue