diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2013-05-09 02:29:52 +0200 |
---|---|---|
committer | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2013-05-25 16:55:53 +0200 |
commit | 7a3f524201f1fe2ec1ba851f595e86aa4a4b8f51 (patch) | |
tree | 862957aeb0279ba4440f9728aeb6c17197831333 | |
parent | fc71be3479d4330dfac8641fe0a6d0517964e4be (diff) | |
download | devtools-7a3f524201f1fe2ec1ba851f595e86aa4a4b8f51.tar.xz |
makechrootpkg: Add hack for svn sources and makepkg 4.1.1
-rw-r--r-- | makechrootpkg.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in index dbe705e..d7d3ecf 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -276,6 +276,17 @@ _chrootbuild() { ln -sft /srcdest /srcdest_host/* ln -sft /startdir /startdir_host/* + # XXX: Keep svn sources writable + # Since makepkg 4.1.1 they get checked out via cp -a, copying the symlink + for dir in /srcdest /startdir; do + cd $dir + for svndir in */.svn; do + rm ${svndir%/.svn} + cp -a ${dir}_host/${svndir%/.svn} . + chown -R nobody ${svndir%/.svn} + done + done + cd /startdir # XXX: Keep PKGBUILD writable for pkgver() |