mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
kernel*: update to 2.6.28.1, without unionfs/squashfs.
--HG-- extra : convert_revision : 46a38da454341ff361d349e6a1ef26e8fd1749c6
This commit is contained in:
parent
a490aa8945
commit
374c65648b
4 changed files with 297 additions and 129 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'kernel-headers'
|
# Template file for 'kernel-headers'
|
||||||
pkgname=kernel-headers
|
pkgname=kernel-headers
|
||||||
version=2.6.27.9
|
version=2.6.28.1
|
||||||
# Vanilla kernel + UnionFS + SquashFS patches.
|
# Vanilla kernel + UnionFS + SquashFS patches.
|
||||||
patch_files="
|
patch_files="
|
||||||
unionfs-2.5_for_2.6.27-rc6.diff.bz2
|
unionfs-2.5_for_2.6.27-rc6.diff.bz2
|
||||||
|
@ -12,7 +12,7 @@ distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="The Linux kernel headers"
|
short_desc="The Linux kernel headers"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=fd710a841be6119cdd2c42f92ca405265fb156e279006bb89bb874e4198b3e5e
|
checksum=5374cbe80c288a366b307b5c9617c8e87248c800edcdb2eca0ea5c52ab9f13e5
|
||||||
long_desc="
|
long_desc="
|
||||||
This package provides the linux kernel headers."
|
This package provides the linux kernel headers."
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ do_install()
|
||||||
{
|
{
|
||||||
local destdir=$XBPS_DESTDIR/$pkgname-$version/usr/src/$pkgname-$version
|
local destdir=$XBPS_DESTDIR/$pkgname-$version/usr/src/$pkgname-$version
|
||||||
local arch=
|
local arch=
|
||||||
local incdirs="acpi asm-generic asm-x86 config linux math-emu media \
|
local incdirs="acpi asm-generic config linux math-emu media \
|
||||||
net pcmcia scsi sound video"
|
net pcmcia scsi sound video"
|
||||||
local archs="alpha arm arm26 avr32 blackfin cris frv h8300 ia64 m32r \
|
local archs="alpha arm arm26 avr32 blackfin cris frv h8300 ia64 m32r \
|
||||||
m68k* mips mn10300 parisc powerpc ppc s390 sh* sparc* \
|
m68k* mips mn10300 parisc powerpc ppc s390 sh* sparc* \
|
||||||
|
@ -45,10 +45,11 @@ do_install()
|
||||||
|
|
||||||
install -D -m 644 Makefile $destdir/Makefile
|
install -D -m 644 Makefile $destdir/Makefile
|
||||||
install -D -m 644 kernel/Makefile $destdir/kernel/Makefile
|
install -D -m 644 kernel/Makefile $destdir/kernel/Makefile
|
||||||
install -D -m 644 .config $destdir//.config
|
install -D -m 644 .config $destdir/.config
|
||||||
for i in ${incdirs}; do
|
for i in ${incdirs}; do
|
||||||
cp -a include/$i $destdir/include
|
cp -a include/$i $destdir/include
|
||||||
done
|
done
|
||||||
|
cp -ar arch/x86/include/asm $destdir/include
|
||||||
cp -a scripts $destdir
|
cp -a scripts $destdir
|
||||||
|
|
||||||
mkdir -p $destdir/arch/x86/kernel
|
mkdir -p $destdir/arch/x86/kernel
|
||||||
|
@ -64,7 +65,6 @@ do_install()
|
||||||
mkdir -p $destdir/$(echo $i | sed 's|/Makefile.*||')
|
mkdir -p $destdir/$(echo $i | sed 's|/Makefile.*||')
|
||||||
cp $i $destdir/$i
|
cp $i $destdir/$i
|
||||||
done
|
done
|
||||||
cd $destdir/include && ln -s asm-x86 asm
|
|
||||||
cd $XBPS_DESTDIR/$pkgname-$version/usr/src && \
|
cd $XBPS_DESTDIR/$pkgname-$version/usr/src && \
|
||||||
ln -s $pkgname-$version linux
|
ln -s $pkgname-$version linux
|
||||||
for arch in ${archs}; do
|
for arch in ${archs}; do
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'kernel-libc-headers'
|
# Template file for 'kernel-libc-headers'
|
||||||
pkgname=kernel-libc-headers
|
pkgname=kernel-libc-headers
|
||||||
version=2.6.27.9
|
version=2.6.28.1
|
||||||
wrksrc="linux-$version"
|
wrksrc="linux-$version"
|
||||||
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
|
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
|
||||||
build_style=only-install
|
build_style=only-install
|
||||||
|
@ -9,7 +9,7 @@ make_install_target="
|
||||||
headers_install"
|
headers_install"
|
||||||
short_desc="The Linux kernel headers for development"
|
short_desc="The Linux kernel headers for development"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=fd710a841be6119cdd2c42f92ca405265fb156e279006bb89bb874e4198b3e5e
|
checksum=5374cbe80c288a366b307b5c9617c8e87248c800edcdb2eca0ea5c52ab9f13e5
|
||||||
long_desc="
|
long_desc="
|
||||||
This package provides the linux kernel headers for use in userspace."
|
This package provides the linux kernel headers for use in userspace."
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
# Template file for 'kernel'
|
# Template file for 'kernel'
|
||||||
pkgname=kernel
|
pkgname=kernel
|
||||||
version=2.6.27.9
|
version=2.6.28.1
|
||||||
# Vanilla kernel + UnionFS + SquashFS patches.
|
|
||||||
patch_files="
|
|
||||||
unionfs-2.5_for_2.6.27-rc6.diff.bz2
|
|
||||||
unionfs-2.5_fix_for_2.6.27.diff
|
|
||||||
squashfs3.4-2.6.27-rc4.diff.bz2"
|
|
||||||
patch_args="-p1"
|
|
||||||
wrksrc="linux-$version"
|
wrksrc="linux-$version"
|
||||||
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
|
distfiles="http://www.kernel.org/pub/linux/kernel/v2.6/linux-$version.tar.bz2"
|
||||||
build_style=gnu_makefile
|
build_style=gnu_makefile
|
||||||
|
@ -15,7 +9,7 @@ make_install_target="modules_install
|
||||||
INSTALL_MOD_PATH=$XBPS_DESTDIR/$pkgname-$version"
|
INSTALL_MOD_PATH=$XBPS_DESTDIR/$pkgname-$version"
|
||||||
short_desc="The Linux kernel and associated stuff (2.6 branch)"
|
short_desc="The Linux kernel and associated stuff (2.6 branch)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=fd710a841be6119cdd2c42f92ca405265fb156e279006bb89bb874e4198b3e5e
|
checksum=5374cbe80c288a366b307b5c9617c8e87248c800edcdb2eca0ea5c52ab9f13e5
|
||||||
long_desc="
|
long_desc="
|
||||||
This package provides the linux kernel image, kernel modules
|
This package provides the linux kernel image, kernel modules
|
||||||
and firmware files."
|
and firmware files."
|
||||||
|
@ -49,11 +43,6 @@ post_install()
|
||||||
{
|
{
|
||||||
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
||||||
|
|
||||||
local incdirs="acpi asm-generic asm-x86 config linux math-emu media \
|
|
||||||
net pcmcia scsi sound video"
|
|
||||||
local _archs="alpha arm arm26 avr32 blackfin cris frv h8300 ia64 m32r \
|
|
||||||
m68k* mips mn10300 parisc powerpc ppc s390 sh* sparc* \
|
|
||||||
um v850 xtensa"
|
|
||||||
#
|
#
|
||||||
# Install the kernel, modules and firmware files.
|
# Install the kernel, modules and firmware files.
|
||||||
# This is based in the kernel26 pkgbuild from Arch Linux.
|
# This is based in the kernel26 pkgbuild from Arch Linux.
|
||||||
|
|
Loading…
Add table
Reference in a new issue