aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-09-18 17:00:01 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-09-18 17:00:01 +0400
commite9c636687da50a78f574f0848d75262b6b388638 (patch)
tree7efdcb39820213baff0dc667d384921775b359a8
parent1e4f4acc5bdf13f4cd3b30c686a90aecd2895830 (diff)
downloadcibs-e9c636687da50a78f574f0848d75262b6b388638.tar.gz
PoC: use facets for 32- and 64-bits modules
-rw-r--r--rules/ips.mk1
-rw-r--r--trans/arch9
2 files changed, 10 insertions, 0 deletions
diff --git a/rules/ips.mk b/rules/ips.mk
index 94d8316..7d27203 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -64,6 +64,7 @@ $(transdir)/actuators \
$(transdir)/devel \
$(transdir)/docs \
$(transdir)/locale \
+$(transdir)/arch \
diff --git a/trans/arch b/trans/arch
new file mode 100644
index 0000000..453ae42
--- /dev/null
+++ b/trans/arch
@@ -0,0 +1,9 @@
+
+<transform dir file link hardlink path=.*/amd64/.* -> \
+ default facet.arch.64 true>
+
+<transform dir file link hardlink path=.*/lib/[^/]*\.(so|a|la).* -> \
+ default facet.arch.32 true>
+
+<transform dir file link hardlink path=.*/.?bin/i86/.* -> \
+ default facet.arch.32 true>