Carlos O'Donell 33fde8
This package supports working with patch files using quilt.
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
To regenerate the quilt series file run:
Carlos O'Donell 33fde8
./gen-quilt-series.sh
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
Setup environment:
Carlos O'Donell 33fde8
export QUILT_PATCHES=$PWD
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
Setup the source:
Carlos O'Donell 33fde8
./quilt-patch.sh
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
Create a new patch:
Carlos O'Donell 33fde8
cd glibc-2.17-c758a686/
Carlos O'Donell 33fde8
quilt new glibc-rh1234622.patch
Carlos O'Donell 33fde8
quilt add ports/sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist
Carlos O'Donell 33fde8
vi ports/sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist
Carlos O'Donell 33fde8
quilt refresh
Carlos O'Donell 33fde8
cd ..
Carlos O'Donell 33fde8
git add glibc-rh1234622.patch
Carlos O'Donell 33fde8
<Then edit the glibc.spec file to build with the new patch>
Carlos O'Donell 33fde8
e.g.
Carlos O'Donell 33fde8
...
Carlos O'Donell 33fde8
PatchXXXX: glibc-rh1234622.patch
Carlos O'Donell 33fde8
...
Carlos O'Donell 33fde8
%patchXXXX -p1
Carlos O'Donell 33fde8
...
Carlos O'Donell 33fde8
git add glibc.spec
Carlos O'Donell 33fde8
git commit
Carlos O'Donell 33fde8
Carlos O'Donell 33fde8
You're done!