From 1bf959757629e82c3379ec722cf4749d2b2eb7b1 Mon Sep 17 00:00:00 2001 From: Andy Whitcroft Date: Thu, 16 Feb 2012 20:07:29 +0000 Subject: UBUNTU: ubuntu: AUFS -- sort out the relative header paths Signed-off-by: Andy Whitcroft --- ubuntu/aufs-update | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ubuntu/aufs-update b/ubuntu/aufs-update index 796ae1d471a..a31cf944d7f 100755 --- a/ubuntu/aufs-update +++ b/ubuntu/aufs-update @@ -29,12 +29,16 @@ git checkout -f HEAD -- aufs/BOM aufs/BOM.UPDATING # Reinsert the include update. #sed -i -e '1iEXTRA_CFLAGS += -I$(src)/include' aufs/Makefile +# Fix the relative patch references ... +sed -i -e 's@/include/@/ubuntu/include/@g;' aufs/Makefile + ## # Find the latest commit in the ChangeLog. ## read x n_log_sha1 <"$aufs/ChangeLog" # Insert the new commit ID and commit the result. sed -i -e "s/^COMMIT: .*/COMMIT: $n_tip_sha1/" aufs/BOM sed -i -e "s/^CHANGELOG: .*/CHANGELOG: $n_log_sha1/" aufs/BOM + git add aufs include/linux { echo "UBUNTU: ubuntu: AUFS -- update to $n_tip_sha1" -- cgit v1.2.3