aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2012-02-16 20:07:29 +0000
committerJohn Rigby <john.rigby@linaro.org>2012-08-15 23:24:42 -0600
commite445c90610409daa50642c8529e3fc9c38d143f7 (patch)
tree6909b4bb0da12337de1db950c9c8705b5b5ce076
parent37b58931a4618df3d476c3f2135b2d1c16d5576a (diff)
UBUNTU: ubuntu: AUFS -- sort out the relative header paths
Signed-off-by: Andy Whitcroft <apw@canonical.com>
-rwxr-xr-xubuntu/aufs-update4
1 files changed, 4 insertions, 0 deletions
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"