From c32104773508e8bf389dca56cb22e941635c8b3b Mon Sep 17 00:00:00 2001 From: Mike Staszel Date: Sat, 4 Dec 2010 00:42:02 -0600 Subject: [PATCH] Squashfs support in kernel26, waiting on Arch for a new revision though --- core/kernel26/2.6.36.1.config | 6 +++++- core/kernel26/PKGBUILD | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/core/kernel26/2.6.36.1.config b/core/kernel26/2.6.36.1.config index 6c316db48..f33be23a6 100644 --- a/core/kernel26/2.6.36.1.config +++ b/core/kernel26/2.6.36.1.config @@ -2922,7 +2922,11 @@ CONFIG_UBIFS_FS_ZLIB=y # CONFIG_UBIFS_FS_DEBUG is not set # CONFIG_LOGFS is not set CONFIG_CRAMFS=y -# CONFIG_SQUASHFS is not set +CONFIG_SQUASHFS=m +CONFIG_SQUASHFS_XATTR=y +CONFIG_SQUASHFS_LZO=y +CONFIG_SQUASHFS_EMBEDDED=y +CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 # CONFIG_VXFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_OMFS_FS is not set diff --git a/core/kernel26/PKGBUILD b/core/kernel26/PKGBUILD index f1bbcf49d..b393e1c42 100644 --- a/core/kernel26/PKGBUILD +++ b/core/kernel26/PKGBUILD @@ -6,7 +6,7 @@ pkgname=('kernel26' 'kernel26-headers') _kernelname=${pkgname#kernel26} _basekernel=2.6.36 pkgver=${_basekernel}.1 -pkgrel=3 +pkgrel=4 makedepends=('xmlto' 'docbook-xsl' 'uboot-mkimage' 'make') _patchname="patch-${pkgver}-${pkgrel}-ARCH" replaces=('kernel26-withlinux' 'kernel26-dockstar') @@ -24,7 +24,7 @@ source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2 kernel26.preset) md5sums=('61f3739a73afb6914cb007f37fb09b62' '6f13e6e06453f58ab1272cf2beb1877d' - '8a6da52da0464eb435de9c718fa526b8' + '1d3b6a3141c87273b8ce4517ffe24935' '0ed85186b0b5446c4afbbc45639a7466' 'e81eae381cc2c282d169c879cc4da54b' '25584700a0a679542929c4bed31433b6') @@ -114,6 +114,8 @@ package_kernel26-headers() { # copy arch includes for external modules mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH cp -a arch/$KARCH/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/ + mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-kirkwood + cp -a arch/$KARCH/mach-kirkwood/include ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/mach-kirkwood/ # copy files necessary for later builds, like nvidia and vmware cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}