Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-27 | reimplement package patching and update-patches logic | Phil Sutter | |
This works by using git as backend for all the dirty work. This means that patches are not just applied, but committed separately on top of the base sources (which are put into an initial commit). A final empty commit marks the end of the applied patch series, which allows to have multiple sets of patches to apply on top of each other. So a git history might look like this: - OpenADK patch marker: 0000 (this is the initial commit, containing the unpatched sources) - patch 1 of series 1 - patch 2 of series 1 - patch 3 of series 1 - OpenADK patch marker: 0001 - patch 1 of series 2 - patch 2 of series 2 - OpenADK patch marker: 0002 In addition to the separating empty commits, for every patch series metadata files are added (which are used for update-patches): __patchfiles__: A list of the patches' file names __patchdir__: The directory containing the applied patches Since patches might have to be unzipped first and in order to allow calling git-am just once for each patch series, the patches (along with above metadata files) are cached in dedicated directories: .git/patch_tmp/NNNN (where NNNN is the series number with leading zeroes [so shell globbing returns them in the right order]). In case update-patches is called later, update_patches.sh works it's way reverse through the git history, searching for commits named 'OpenADK patch marker: NNNN'. For each one it finds, it uses the metadata info to first remove all source patch files, then export the history in between using git-format-patch. To change patches or add new ones, the user has to use git-rebase in order to get things where they need to be for update_patches.sh to put stuff at the right place. For an example, here is how to change patch 3 of series 1 in the sample history above: - make desired code changes - commit them, ideally using --fixup option - call 'git rebase -i --autosquash <hash of OpenADK patch marker: 0000>' Using --fixup and --autosquash is convenient, since it automatically edits the rebase todo as intended. It's optional though, editing the todo manually will do just fine as well. Signed-off-by: Phil Sutter <phil@nwl.cc> | |||
2016-03-27 | or1k: sync kernel config | Waldemar Brodkorb | |
2016-03-27 | linux: add OpenADK startup patch | Waldemar Brodkorb | |
2016-03-27 | or1k: update kernel and gcc | Waldemar Brodkorb | |
2016-03-27 | newlib: update to latest 2.2.x/2.3.x versions | Waldemar Brodkorb | |
2016-03-26 | frv: resolve remaining issues to check toolchain compile | Waldemar Brodkorb | |
2016-03-26 | firefox: update to version 45.0 | Waldemar Brodkorb | |
2016-03-26 | sh2: fix elf2flt build | Waldemar Brodkorb | |
2016-03-25 | bfin: add binutils bugfix from Bug report 17334 | Waldemar Brodkorb | |
2016-03-25 | samba: update to 4.4.0 | Waldemar Brodkorb | |
2016-03-25 | ntfs-3g: update to version 2016.2.22 | Waldemar Brodkorb | |
2016-03-25 | nmap: update to 7.11 | Waldemar Brodkorb | |
2016-03-25 | mc: update to 4.8.16 | Waldemar Brodkorb | |
2016-03-25 | glib: update to version 2.48.0 | Waldemar Brodkorb | |
2016-03-25 | allow to choose drivers for generic support, reported by Oliver | Waldemar Brodkorb | |
2016-03-25 | frv: update uClibc-ng config | Waldemar Brodkorb | |
2016-03-25 | simplify qemu options, hide block choice | Waldemar Brodkorb | |
2016-03-24 | disable for musl, pthread mutex problem | Waldemar Brodkorb | |
2016-03-24 | postfix: update to version 3.1.0 | Waldemar Brodkorb | |
2016-03-24 | dovecot: update to version 2.2.22 | Waldemar Brodkorb | |
2016-03-22 | nfc: add driver and library for nfc-nci chips | Waldemar Brodkorb | |
2016-03-21 | kodi: add gentoo patches to work with ffmpeg3 | Waldemar Brodkorb | |
2016-03-20 | add lm32 support to elf2flt | Waldemar Brodkorb | |
2016-03-20 | cris: hack around broken driver patch | Waldemar Brodkorb | |
2016-03-19 | add basic bits and bytes for stm32f429 support | Waldemar Brodkorb | |
2016-03-19 | elf2flt: switch to uclinux-dev version | Waldemar Brodkorb | |
2016-03-19 | qemu-m68k-q800: add disk support | Waldemar Brodkorb | |
2016-03-19 | libssh2: use same section as for libssh | Waldemar Brodkorb | |
2016-03-19 | cmake: update to 3.5.0 | Waldemar Brodkorb | |
2016-03-19 | nmap: update to version 7.10 | Waldemar Brodkorb | |
2016-03-19 | git: update to 2.7.4 | Waldemar Brodkorb | |
2016-03-19 | arc: add patches for gcc from buildroot | Waldemar Brodkorb | |
2016-03-18 | arc: use stable tags for binutils/gcc | Waldemar Brodkorb | |
2016-03-18 | use shallow clone for head | Waldemar Brodkorb | |
2016-03-18 | m68k: fix ethernet driver compile | Waldemar Brodkorb | |
2016-03-17 | arm noMMU doesn't need a wrapper | Waldemar Brodkorb | |
2016-03-16 | u-boot: update to latest | Waldemar Brodkorb | |
2016-03-16 | linux: bump version | Waldemar Brodkorb | |
2016-03-16 | disable uClibc-ng obstack, gdb/binutils has its own copy | Waldemar Brodkorb | |
2016-03-16 | valgrind: add backport patch from svn for correct mips linking | Waldemar Brodkorb | |
2016-03-16 | gdb: remove unspecific patch | Waldemar Brodkorb | |
2016-03-16 | linux: update kernel to 4.4.5 | Waldemar Brodkorb | |
2016-03-15 | ethtool: update to latest version 4.5 | Waldemar Brodkorb | |
2016-03-15 | expat: update to latest version 2.1.1 | Waldemar Brodkorb | |
2016-03-14 | exit if kernel not found | Waldemar Brodkorb | |
2016-03-14 | arc: disable obstack, not usable with newer binutils/gdb | Waldemar Brodkorb | |
2016-03-13 | update uClibc-ng to 1.0.13 | Waldemar Brodkorb | |
2016-03-13 | ffmpeg: update to latest version | Waldemar Brodkorb | |
2016-03-13 | lvm: update to latest version | Waldemar Brodkorb | |
2016-03-13 | clamav: update to latest version | Waldemar Brodkorb | |