Skip to contentSkip to conversation

Add aufs-util

PATCH New Paul Eggleton 1 participant 2 messages Jun 19, 2014

lore
Share & tools
lore
#0 lore raw

v2 cover Add aufs-util

Since v1, fix the following issues:
* Use 3.9 as the version since that is materially the same as 3.x-rcN upstream
* Use class overrides instead of context checks within the functions
* Remove trailing slash on S value which led to debugedit failure (!)
* Add RRECOMMENDS in case aufs is built as a module
* Drop paths within SRC_URI
* Fix HOMEPAGE
* Spaces instead of tabs

(Sorry, this was a long time coming.)

The following changes since commit 8a9d356a9202350766a68aa07f97ea97e9ed0a51:

webmin: split out webmin themes (2014-06-18 17:55:55 +0100)

are available in the git repository at:

git://git.openembedded.org/meta-openembedded-contrib paule/aufs-util
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=paule/aufs-util

Paul Eggleton (1):
aufs-util: add new recipe

 ...dd-tool-concept-to-Makefile-for-cross-com.patch |  29 +++
 .../aufs-util-don-t-strip-executables.patch        |  37 ++++
 .../recipes-utils/aufs-util/aufs-util/aufs_type.h  | 210 +++++++++++++++++++++
 .../recipes-utils/aufs-util/aufs-util_git.bb       |  53 ++++++
 4 files changed, 329 insertions(+)
 create mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-add-tool-concept-to-Makefile-for-cross-com.patch
 create mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch
 create mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs_type.h
 create mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb
Signature · 1 line
1.9.3
#1 lore raw

PATCH v2 1/1 aufs-util: add new recipe

Introducing the aufs-util target recipe. This would be used in conjuction with the aufs kernel feature to provide union mounts suitable for live boot applications.

Only the target binaries are currently packages, with man pages, libraries and other artifacts skipped in this initial integration.

(Integration work done by Bruce Ashfield <[email protected]> and Chen Qi <[email protected]> .)

---
 ...dd-tool-concept-to-Makefile-for-cross-com.patch |  29 +++
 .../aufs-util-don-t-strip-executables.patch        |  37 ++++
 .../recipes-utils/aufs-util/aufs-util/aufs_type.h  | 210 +++++++++++++++++++++
 .../recipes-utils/aufs-util/aufs-util_git.bb       |  53 ++++++
 4 files changed, 329 insertions(+)
 create mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-add-tool-concept-to-Makefile-for-cross-com.patch
 create mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch
 create mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs_type.h
 create mode 100644 meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb
meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-add-tool-concept-to-Makefile-for-cross-com.patch new file +29 -0
new file mode 100644
index 0000000..5c35586
@@ -0,0 +1,29 @@
+Subject: [PATCH] aufs-util: add tool concept to Makefile for cross compiling
+ purpose
+
+In a cross compilation environment, c2sh, c2tmac and ver need to be created first.
+Add a tools target to Makefile to allow for this.
+
+Upstream-Status: Pending
+
+Signed-off-by: Chen Qi <[email protected]>
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 2f905ad..49c3cd5 100644
+--- a/Makefile
++++ b/Makefile
+@@ -85,7 +85,7 @@ aufs.5: aufs.in.5 c2tmac
+ 	chmod a-w $@
+ 
+ c2sh c2tmac ver: CC = ${HOSTCC}
+-.INTERMEDIATE: c2sh c2tmac ver
++tools: c2sh c2tmac ver
+ 
+ Install = install -o root -g root -p
+ install_sbin: File = auibusy auplink mount.aufs umount.aufs
+-- 
+1.7.9.5
+
meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs-util-don-t-strip-executables.patch new file +37 -0
new file mode 100644
index 0000000..48727e6
@@ -0,0 +1,37 @@
+From 244863eca77fcaa1187884836c3e28d6b6d1504a Mon Sep 17 00:00:00 2001
+From: Bruce Ashfield <[email protected]>
+Date: Tue, 9 Apr 2013 18:50:34 -0700
+Subject: [PATCH] aufs-util: don't strip executables
+
+By default, aufs-util strips its binaries. This produces QA warnings
+as follows:
+
+   WARNING: File '/sbin/mount.aufs' from aufs-util was already stripped, this will prevent future debugging!
+   WARNING: File '/sbin/auplink' from aufs-util was already stripped, this will prevent future debugging!
+   WARNING: File '/sbin/umount.aufs' from aufs-util was already stripped, this will prevent future debugging!
+   WARNING: File '/sbin/auibusy' from aufs-util was already stripped, this will prevent future debugging!
+   WARNING: File '/usr/lib/libau.so.2.6' from aufs-util was already stripped, this will prevent future debugging!
+
+To prevent this, we remove -s from LDFLAGS.
+
+Signed-off-by: Bruce Ashfield <[email protected]>
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 2f905ad..e0c6dcd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -56,7 +56,7 @@ all: ver_test ${Man} ${Bin} ${Etc}
+ ver_test: ver
+ 	./ver
+ 
+-${Bin}: LDFLAGS += -static -s
++${Bin}: LDFLAGS += -static
+ ${Bin}: LDLIBS = -L. -lautil
+ ${BinObj}: %.o: %.c ${LibUtilHdr} ${LibUtil}
+ 
+-- 
+1.7.10.4
+
meta-filesystems/recipes-utils/aufs-util/aufs-util/aufs_type.h new file +210 -0

210 lines not on this page · raw message

meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
1.9.3