On 24/01/17 15:39, M. J. Everitt wrote:

On 24/01/17 13:19, Philip Müller wrote:

Hi all,

it is much simplier than you think. As on Manjaro we still support linux
3.12 series. I already released patches to make it work. Simply adopt
them. You can find it here [1].

Please get all patches and the aufs tarfile you find in my github project:

aufs3.12.31+-20141215.patch.bz2

Pre-Patch:

aufs312-3.12.45.patch

Patches applied after:

aufs312-3.12.37.patch
aufs312-3.12.45-2.patch

I recommend to apply them like this [2]:

# fix aufs patches
  rm ${srcdir}/aufs3-base.patch
  rm ${srcdir}/aufs3-standalone.patch
  cp -f ${startdir}/aufs3-base.patch ${srcdir}/aufs3-base.patch
  cp -f ${startdir}/aufs3-standalone.patch ${srcdir}/aufs3-standalone.patch
  cd "${srcdir}"
  patch -Np0 -i "${srcdir}/aufs312-3.12.45.patch"

  # add aufs3 support
  patch -Np1 -i "${srcdir}/aufs3.12.31+-${_aufs}.patch"
  patch -Np1 -i "${srcdir}/aufs3-base.patch"
  patch -Np1 -i "${srcdir}/aufs3-kbuild.patch"
  patch -Np1 -i "${srcdir}/aufs3-loopback.patch"
  patch -Np1 -i "${srcdir}/aufs3-mmap.patch"
  patch -Np1 -i "${srcdir}/aufs3-standalone.patch"
  patch -Np1 -i "${srcdir}/tmpfs-idr.patch"
  patch -Np1 -i "${srcdir}/vfs-ino.patch"
  patch -Np2 -i "${srcdir}/aufs312-3.12.37.patch"
  patch -Np1 -i "${srcdir}/aufs312-3.12.45-2.patch"

Good luck, Philip

[1] [1]https://github.com/manjaro/packages-core/tree/master/linux312
[2] [2]https://github.com/manjaro/packages-core/blob/master/linux312/PKGBUILD

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! [3]http://sdm.link/slashdot

Hi Philip,

Thanks very much for that - will give it a roll at the weekend. Got a
few python tasks to wade through, and a domestic upheaval .. and then
FOSDEM .. busy busy! :)
Cheers,
Michael.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! [4]http://sdm.link/slashdot

   Good news, all seemed to patch and compile successfully.
   I'm  a  bit confused that all the Gentoo instructions point to using a
   Hardened sources kernel .. I don't (yet) see a reason why, as Philip's
   patches  work  fine  on  3.12.52  "gentoo-sources" . If anyone has any
   suggestions as to why this might (have) be(en) the case,  it would fill in
   another piece in the jigsaw of linux knowledge! :D
   Cheers,
   Michael.

References

   1. https://github.com/manjaro/packages-core/tree/master/linux312
   2. https://github.com/manjaro/packages-core/blob/master/linux312/PKGBUILD
   3. http://sdm.link/slashdot
   4. http://sdm.link/slashdot

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

Reply via email to