[arch-commits] Commit in linux/trunk (PKGBUILD linux.install)
Tobias Powalowski
tpowa at archlinux.org
Sat Jul 23 08:23:29 UTC 2011
Date: Saturday, July 23, 2011 @ 04:23:28
Author: tpowa
Revision: 132341
initramfs fixes
Modified:
linux/trunk/PKGBUILD
linux/trunk/linux.install
---------------+
PKGBUILD | 18 +++++++++---------
linux.install | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-07-23 08:19:09 UTC (rev 132340)
+++ PKGBUILD 2011-07-23 08:23:28 UTC (rev 132341)
@@ -22,6 +22,10 @@
# standard config files for mkinitcpio ramdisk
${pkgname}.preset)
sha256sums=()
+md5sums=('398e95866794def22b12dfbc15ce89c0'
+ 'fc6aae0fb4d70feff92ec762d29dee45'
+ 'fd5a1712ddea696eee5255de2d854218'
+ 'be30b7266d85e8baed3b37574bc52b98')
build() {
cd ${srcdir}/linux-$_basekernel
@@ -68,12 +72,7 @@
# pwc, ieee80211 and hostap-driver26 modules are included in linux kernel now
# nforce package support was abandoned by nvidia, kernel modules should cover everything now.
# kernel24 support is dropped since glibc24
- replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
- 'alsa-driver' 'ieee80211' 'hostap-driver26'
- 'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
- 'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
- 'gspcav1' 'atl2' 'wlan-ng26' 'rt2500' 'nouveau-drm'
- 'kernel26')
+ replaces=('kernel26')
install=${pkgname}.install
optdepends=('crda: to set the correct wireless channels of your country')
@@ -95,8 +94,8 @@
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-i $startdir/${pkgname}.install
sed \
- -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgname}.img\"|g" \
- -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgname}-fallback.img\"|g" \
+ -e "s|default_image=.*|default_image=\"/boot/initramfs-ARCH.img\"|g" \
+ -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-ARCH-fallback.img\"|g" \
-i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
# remove build and source links
@@ -219,7 +218,7 @@
package_linux-docs() {
pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux kernel."
- replaces=('kernel26-doccs')
+ replaces=('kernel26-docs')
cd ${srcdir}/linux-$_basekernel
mkdir -p $pkgdir/usr/src/linux-$_kernver
mv Documentation $pkgdir/usr/src/linux-$_kernver
@@ -228,3 +227,4 @@
# remove a file already in linux package
rm -f $pkgdir/usr/src/linux-$_kernver/Documentation/DocBook/Makefile
}
+
Modified: linux.install
===================================================================
--- linux.install 2011-07-23 08:19:09 UTC (rev 132340)
+++ linux.install 2011-07-23 08:23:28 UTC (rev 132341)
@@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=
-KERNEL_VERSION=2.6.39-ARCH
+KERNEL_VERSION=3.0.0-ARCH
post_install () {
# updating module dependencies
More information about the arch-commits
mailing list