kernel-lts.guncellendi
This commit is contained in:
parent
c82022fdd1
commit
4e4119e22c
|
@ -1,36 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
rm -Rf aufs4-standalone
|
|
||||||
# clone the aufs repository to the local disk
|
|
||||||
git clone git://github.com/sfjro/aufs4-standalone.git aufs4-standalone
|
|
||||||
cd aufs4-standalone
|
|
||||||
git branch -r
|
|
||||||
git checkout origin/aufs4.4
|
|
||||||
|
|
||||||
# modify what you want
|
|
||||||
|
|
||||||
# and after
|
|
||||||
# create the patch with the directories: fs, include and Documentation
|
|
||||||
|
|
||||||
rm -v $(find . -type f -name '*.orig')
|
|
||||||
#grep -qse 'EXPORT_SYMBOL(' aufs4-standalone.patch && \
|
|
||||||
#sed -i-old -e 's|EXPORT_SYMBOL(|EXPORT_SYMBOL_GPL(|' aufs4-standalone.patch
|
|
||||||
rm -rf ../tmp/linux-4.4
|
|
||||||
mkdir -p ../tmp/linux-4.4
|
|
||||||
cp -a fs ../tmp/linux-4.4
|
|
||||||
cp -a include ../tmp/linux-4.4
|
|
||||||
cp -a Documentation ../tmp/linux-4.4
|
|
||||||
rm ../tmp/linux-4.4/include/uapi/linux/Kbuild
|
|
||||||
cd ../tmp
|
|
||||||
diff -Naur null linux-4.4 | filterdiff | \
|
|
||||||
sed -e 's|null\(/include/uapi/linux/Kbuild\)|linux-4.4-old\1|;s|^--- null.*|--- /dev/null|;\|linux-4.4/include/uapi/linux/Kbuild|,${\|@@ -0,0 +1 @@|,$d}' | \
|
|
||||||
bzip2 > aufs$(sed -ne 's|#define.*AUFS_VERSION.*"\(.*\)"|\1|p' linux-4.4/include/uapi/linux/aufs_type.h).patch.bz2
|
|
||||||
mv *.bz2 $OLDPWD
|
|
||||||
cd $OLDPWD
|
|
||||||
mv *patch* ..
|
|
||||||
cd ..
|
|
||||||
rm -rf tmp aufs4-standalone
|
|
||||||
|
|
||||||
|
|
||||||
# the patch is created in ../tmp
|
|
||||||
# the other patches needed to compile are in the base directory
|
|
|
@ -6954,25 +6954,6 @@ CONFIG_PSTORE=y
|
||||||
# CONFIG_PSTORE_FTRACE is not set
|
# CONFIG_PSTORE_FTRACE is not set
|
||||||
CONFIG_PSTORE_RAM=m
|
CONFIG_PSTORE_RAM=m
|
||||||
# CONFIG_SYSV_FS is not set
|
# CONFIG_SYSV_FS is not set
|
||||||
CONFIG_AUFS_FS=y
|
|
||||||
CONFIG_AUFS_BRANCH_MAX_127=y
|
|
||||||
# CONFIG_AUFS_BRANCH_MAX_511 is not set
|
|
||||||
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
|
|
||||||
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
|
|
||||||
CONFIG_AUFS_SBILIST=y
|
|
||||||
CONFIG_AUFS_HNOTIFY=y
|
|
||||||
CONFIG_AUFS_HFSNOTIFY=y
|
|
||||||
CONFIG_AUFS_EXPORT=y
|
|
||||||
CONFIG_AUFS_INO_T_64=y
|
|
||||||
CONFIG_AUFS_XATTR=y
|
|
||||||
# CONFIG_AUFS_FHSM is not set
|
|
||||||
# CONFIG_AUFS_RDU is not set
|
|
||||||
# CONFIG_AUFS_SHWH is not set
|
|
||||||
# CONFIG_AUFS_BR_RAMFS is not set
|
|
||||||
# CONFIG_AUFS_BR_FUSE is not set
|
|
||||||
# CONFIG_AUFS_BR_HFSPLUS is not set
|
|
||||||
CONFIG_AUFS_BDEV_LOOP=y
|
|
||||||
# CONFIG_AUFS_DEBUG is not set
|
|
||||||
CONFIG_UFS_FS=m
|
CONFIG_UFS_FS=m
|
||||||
# CONFIG_UFS_FS_WRITE is not set
|
# CONFIG_UFS_FS_WRITE is not set
|
||||||
# CONFIG_UFS_DEBUG is not set
|
# CONFIG_UFS_DEBUG is not set
|
||||||
|
@ -7682,3 +7663,23 @@ CONFIG_FONT_AUTOSELECT=y
|
||||||
CONFIG_ARCH_HAS_SG_CHAIN=y
|
CONFIG_ARCH_HAS_SG_CHAIN=y
|
||||||
CONFIG_ARCH_HAS_PMEM_API=y
|
CONFIG_ARCH_HAS_PMEM_API=y
|
||||||
CONFIG_ARCH_HAS_MMIO_FLUSH=y
|
CONFIG_ARCH_HAS_MMIO_FLUSH=y
|
||||||
|
CONFIG_AUFS_FS=m
|
||||||
|
CONFIG_AUFS_BRANCH_MAX_127=y
|
||||||
|
# CONFIG_AUFS_BRANCH_MAX_511 is not set
|
||||||
|
# CONFIG_AUFS_BRANCH_MAX_1023 is not set
|
||||||
|
# CONFIG_AUFS_BRANCH_MAX_32767 is not set
|
||||||
|
CONFIG_AUFS_SBILIST=y
|
||||||
|
CONFIG_AUFS_HNOTIFY=y
|
||||||
|
CONFIG_AUFS_HFSNOTIFY=y
|
||||||
|
CONFIG_AUFS_EXPORT=y
|
||||||
|
CONFIG_AUFS_INO_T_64=y
|
||||||
|
# CONFIG_AUFS_FHSM is not set
|
||||||
|
# CONFIG_AUFS_XATTR is not set
|
||||||
|
CONFIG_AUFS_RDU=y
|
||||||
|
CONFIG_AUFS_SHWH=y
|
||||||
|
CONFIG_AUFS_BR_RAMFS=y
|
||||||
|
CONFIG_AUFS_BR_FUSE=y
|
||||||
|
CONFIG_AUFS_POLL=y
|
||||||
|
CONFIG_AUFS_BR_HFSPLUS=y
|
||||||
|
CONFIG_AUFS_BDEV_LOOP=y
|
||||||
|
# CONFIG_AUFS_DEBUG is not set
|
||||||
|
|
|
@ -166,15 +166,14 @@ case `uname -m` in
|
||||||
$PKG/boot/kernel-$version ;;
|
$PKG/boot/kernel-$version ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Reorgenise the sources
|
# Reorgenise the sources
|
||||||
cd $PKG/lib/modules/${KERNEL_VERSION}/
|
cd $PKG/lib/modules/${KERNEL_VERSION}/
|
||||||
|
|
||||||
rm {build,source}
|
rm {build,source}
|
||||||
|
|
||||||
mkdir $SRC/linux-${_version}
|
|
||||||
mv $PKG/usr/src/linux-${_version}/Documentation \
|
|
||||||
$SRC/linux-${_version}
|
|
||||||
|
|
||||||
# Firmware are in linux-firmware
|
# Firmware are in linux-firmware
|
||||||
rm -rf $PKG/lib/firmware
|
rm -rf $PKG/lib/firmware
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue